@cognite/aura 1.47717.0 → 1.47805.0

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.
@@ -40,11 +40,7 @@
40
40
  }
41
41
  }
42
42
 
43
- @custom-variant dark (&:is(.dark *));
44
-
45
- /* Dark mode configuration */
46
- @variant dark (@media (prefers-color-scheme: dark));
47
- @variant dark (.dark &);
43
+ @custom-variant dark (&:where(.dark, .dark *));
48
44
 
49
45
  @theme inline {
50
46
  /* Container query breakpoint overrides for layout system */
@@ -204,6 +200,14 @@
204
200
  var(--dusk-500) 50%,
205
201
  var(--dusk-300) 100%
206
202
  );
203
+ }
204
+
205
+ /*
206
+ * Re-declared on .dark so var(--color-muted-foreground) in the gradient resolves on the subtree theme root.
207
+ * Without this, PAIA-style `.dark` wrappers keep the light shimmer base from `:root` only.
208
+ */
209
+ :root,
210
+ .dark {
207
211
  /* Not from Figma Reflect sync — used by Shimmer variant="active". */
208
212
  --gradient-active: linear-gradient(
209
213
  90deg,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognite/aura",
3
- "version": "1.47717.0",
3
+ "version": "1.47805.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": [