@ntmats/hc-tokens 0.1.0 → 0.1.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/dist/tokens.css +3 -0
- package/package.json +5 -3
package/dist/tokens.css
CHANGED
|
@@ -141,6 +141,7 @@
|
|
|
141
141
|
--hc-color-bg-main: #faf9f4;
|
|
142
142
|
--hc-focus-ring: #141413;
|
|
143
143
|
--hc-shadow-knob: 0 1px 3px rgba(20, 20, 19, 0.12), 0 0 0 0.5px rgba(20, 20, 19, 0.06);
|
|
144
|
+
color-scheme: light;
|
|
144
145
|
}
|
|
145
146
|
[data-hc-ds][data-theme="dark"], .dark [data-hc-ds], .dark[data-hc-ds], [data-theme="dark"] [data-hc-ds] {
|
|
146
147
|
--hc-color-bg-page: #1b1a19;
|
|
@@ -180,6 +181,7 @@
|
|
|
180
181
|
--hc-shadow-main: 0 -4px 14px -6px rgba(0, 0, 0, 0.28);
|
|
181
182
|
--hc-shadow-navigation: 0 2px 4px rgba(0, 0, 0, 0.12), 0 6px 18px -6px rgba(0, 0, 0, 0.28);
|
|
182
183
|
--hc-shadow-float: 0 0 0 1px var(--hc-color-border-strong), 0 12px 32px -10px rgba(0, 0, 0, 0.6);
|
|
184
|
+
color-scheme: dark;
|
|
183
185
|
}
|
|
184
186
|
[data-hc-ds][data-theme="light"], .light [data-hc-ds], .light[data-hc-ds] {
|
|
185
187
|
--hc-color-bg-page: #efeee7;
|
|
@@ -219,4 +221,5 @@
|
|
|
219
221
|
--hc-shadow-main: 0 -4px 14px -6px rgba(20, 20, 19, 0.10);
|
|
220
222
|
--hc-shadow-navigation: 0 1px 2px rgba(20, 20, 19, 0.04), 0 4px 16px -6px rgba(20, 20, 19, 0.12);
|
|
221
223
|
--hc-shadow-float: 0 0 0 1px var(--hc-color-border), 0 12px 32px -10px rgba(20, 20, 19, 0.2);
|
|
224
|
+
color-scheme: light;
|
|
222
225
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ntmats/hc-tokens",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Shared HCUI/Arena design tokens: CSS custom properties, Sass, Tailwind 3 preset and ESM values.",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -12,13 +12,15 @@
|
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
|
-
"import": "./dist/index.js"
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"default": "./dist/index.js"
|
|
16
17
|
},
|
|
17
18
|
"./css": "./dist/tokens.css",
|
|
18
19
|
"./scss": "./dist/_tokens.scss",
|
|
19
20
|
"./tailwind": {
|
|
20
21
|
"types": "./dist/tailwind.d.ts",
|
|
21
|
-
"import": "./dist/tailwind.js"
|
|
22
|
+
"import": "./dist/tailwind.js",
|
|
23
|
+
"default": "./dist/tailwind.js"
|
|
22
24
|
},
|
|
23
25
|
"./hcui/theme": "./dist/_hcui-theme.scss",
|
|
24
26
|
"./hcui/tokens": "./dist/_hcui-tokens.scss",
|