@ardimedia/angular-portal-azure 0.3.13 → 0.3.14

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": "@ardimedia/angular-portal-azure",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.0",
6
6
  "@angular/core": "^21.1.0"
@@ -108,8 +108,6 @@
108
108
  --apa-scrollbar-thumb: var(--apa-slate-600);
109
109
  --apa-scrollbar-thumb-hover: var(--apa-slate-500);
110
110
 
111
- --apa-tile-bg: var(--apa-slate-600);
112
- --apa-tile-hover-bg: var(--apa-slate-500);
113
111
  }
114
112
  }
115
113
 
@@ -144,9 +142,6 @@
144
142
  --apa-scrollbar-thumb: var(--apa-slate-600);
145
143
  --apa-scrollbar-thumb-hover: var(--apa-slate-500);
146
144
 
147
- --apa-tile-bg: var(--apa-slate-600);
148
- --apa-tile-hover-bg: var(--apa-slate-500);
149
-
150
145
  /* Kendo theme v13 overrides for dark mode */
151
146
  --kendo-color-app-surface: var(--apa-slate-950);
152
147
  --kendo-color-on-app-surface: var(--apa-slate-50);
@@ -243,6 +238,18 @@
243
238
  --apa-scrollbar-track: transparent;
244
239
  }
245
240
 
241
+ /* Tile dark mode — must come after Component Tokens :root to override --apa-tile-bg */
242
+ @media (prefers-color-scheme: dark) {
243
+ :root:not(.apa-light) {
244
+ --apa-tile-bg: var(--apa-slate-600);
245
+ --apa-tile-hover-bg: var(--apa-slate-500);
246
+ }
247
+ }
248
+ .apa-dark {
249
+ --apa-tile-bg: var(--apa-slate-600);
250
+ --apa-tile-hover-bg: var(--apa-slate-500);
251
+ }
252
+
246
253
  /* ===== Base Reset ===== */
247
254
  html { box-sizing: border-box; }
248
255
  *, *:before, *:after { box-sizing: inherit; }