@stasho/ds 0.15.1 → 0.15.2
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/tokens.css +4 -0
package/package.json
CHANGED
package/src/styles/tokens.css
CHANGED
|
@@ -130,6 +130,8 @@
|
|
|
130
130
|
Layer 2: Semantic Surface Tokens (theme-dependent)
|
|
131
131
|
────────────────────────────────────────────── */
|
|
132
132
|
:root {
|
|
133
|
+
/* Native UI (scrollbars, form-control chrome) must render light with the theme. */
|
|
134
|
+
color-scheme: light;
|
|
133
135
|
--background: oklch(0.99 0.005 270);
|
|
134
136
|
--foreground: oklch(0.22 0.015 270);
|
|
135
137
|
|
|
@@ -162,6 +164,8 @@
|
|
|
162
164
|
}
|
|
163
165
|
|
|
164
166
|
.theme-dark {
|
|
167
|
+
/* Native UI (scrollbars, form-control chrome) must render dark with the theme. */
|
|
168
|
+
color-scheme: dark;
|
|
165
169
|
--background: #07080a;
|
|
166
170
|
--foreground: #f3f3f3;
|
|
167
171
|
|