igniteui-astro-components 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-astro-components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Reusable Astro components, layouts, and integrations for Infragistics / Ignite UI documentation sites. Replaces the Starlight defaults with project-specific implementations.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -140,6 +140,14 @@ igc-tab::part(tab-header) {
|
|
|
140
140
|
|
|
141
141
|
&[data-igd-mode='dark'] {
|
|
142
142
|
background: var(--igd-sample-bg-dark);
|
|
143
|
+
|
|
144
|
+
// The demo switches its own document to `color-scheme: dark`. When that
|
|
145
|
+
// differs from the iframe element's scheme (a light docs site), the browser
|
|
146
|
+
// paints an opaque default canvas behind the demo instead of letting this
|
|
147
|
+
// surface show through, so the iframe has to match the demo's scheme.
|
|
148
|
+
iframe {
|
|
149
|
+
color-scheme: dark;
|
|
150
|
+
}
|
|
143
151
|
}
|
|
144
152
|
|
|
145
153
|
iframe {
|