@polastack/design-system 0.1.9 → 0.1.10
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 +1 -1
- package/src/styles/globals.css +19 -8
package/package.json
CHANGED
package/src/styles/globals.css
CHANGED
|
@@ -263,21 +263,32 @@
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
.dark {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
266
|
+
/*
|
|
267
|
+
* Surface elevation ladder (darkest → lightest):
|
|
268
|
+
* sunken #0A0A0C — recessed/inset areas
|
|
269
|
+
* surface #121215 — main background (≈ Material Design / Linear range)
|
|
270
|
+
* raised #1A1A1E — cards, panels, modals
|
|
271
|
+
* muted #232327 — hover states, subtle fills
|
|
272
|
+
*
|
|
273
|
+
* Values are hand-picked (not from the neutral scale) to sit between
|
|
274
|
+
* Material Design #121212 and Radix Gray #111111, with a very subtle
|
|
275
|
+
* cool tint that complements the teal brand.
|
|
276
|
+
*/
|
|
277
|
+
--color-surface: #121215;
|
|
278
|
+
--color-surface-raised: #1A1A1E;
|
|
279
|
+
--color-surface-sunken: #0A0A0C;
|
|
280
|
+
--color-surface-muted: #232327;
|
|
270
281
|
--color-on-surface: var(--color-neutral-50);
|
|
271
282
|
--color-on-surface-secondary: var(--color-neutral-400);
|
|
272
283
|
--color-on-surface-muted: var(--color-neutral-400);
|
|
273
|
-
--color-border:
|
|
274
|
-
--color-border-input:
|
|
284
|
+
--color-border: #28282C;
|
|
285
|
+
--color-border-input: #38383E;
|
|
275
286
|
--color-ring: var(--color-primary-400);
|
|
276
|
-
--color-ring-offset:
|
|
287
|
+
--color-ring-offset: #121215;
|
|
277
288
|
--color-surface-overlay: rgb(0 0 0 / 0.6);
|
|
278
289
|
--color-tooltip-bg: var(--color-neutral-100);
|
|
279
290
|
--color-tooltip-text: var(--color-neutral-900);
|
|
280
|
-
--color-skeleton:
|
|
291
|
+
--color-skeleton: #232327;
|
|
281
292
|
color-scheme: dark;
|
|
282
293
|
}
|
|
283
294
|
|