@logicplanes/kaeso-tokens 0.1.0 → 0.2.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/LICENSE +1 -1
- package/dist/tokens.css +6 -0
- package/dist/tokens.d.ts +4 -0
- package/dist/tokens.js +4 -0
- package/package.json +1 -1
package/LICENSE
CHANGED
package/dist/tokens.css
CHANGED
|
@@ -222,6 +222,8 @@
|
|
|
222
222
|
--k-danger-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 1px 2px rgb(0 0 0 / 0.24);
|
|
223
223
|
--k-hover-brightness: 1.12;
|
|
224
224
|
--k-pressed-brightness: 0.96;
|
|
225
|
+
--k-show-light: block;
|
|
226
|
+
--k-show-dark: none;
|
|
225
227
|
color-scheme: light;
|
|
226
228
|
}
|
|
227
229
|
|
|
@@ -313,6 +315,8 @@
|
|
|
313
315
|
--k-danger-shadow: inset 0 1px 0 rgb(255 255 255 / 0.24), 0 1px 2px rgb(0 0 0 / 0.5);
|
|
314
316
|
--k-hover-brightness: 0.94;
|
|
315
317
|
--k-pressed-brightness: 0.9;
|
|
318
|
+
--k-show-light: none;
|
|
319
|
+
--k-show-dark: block;
|
|
316
320
|
color-scheme: dark;
|
|
317
321
|
}
|
|
318
322
|
}
|
|
@@ -404,6 +408,8 @@
|
|
|
404
408
|
--k-danger-shadow: inset 0 1px 0 rgb(255 255 255 / 0.24), 0 1px 2px rgb(0 0 0 / 0.5);
|
|
405
409
|
--k-hover-brightness: 0.94;
|
|
406
410
|
--k-pressed-brightness: 0.9;
|
|
411
|
+
--k-show-light: none;
|
|
412
|
+
--k-show-dark: block;
|
|
407
413
|
color-scheme: dark;
|
|
408
414
|
}
|
|
409
415
|
|
package/dist/tokens.d.ts
CHANGED
|
@@ -287,6 +287,10 @@ export declare const shadow: {
|
|
|
287
287
|
readonly toast: Mode;
|
|
288
288
|
readonly thumb: Mode;
|
|
289
289
|
};
|
|
290
|
+
export declare const themeDisplay: {
|
|
291
|
+
readonly "show-light": Mode;
|
|
292
|
+
readonly "show-dark": Mode;
|
|
293
|
+
};
|
|
290
294
|
export declare const material: {
|
|
291
295
|
readonly "primary-gradient": Mode;
|
|
292
296
|
readonly "primary-shadow": Mode;
|
package/dist/tokens.js
CHANGED
|
@@ -147,6 +147,10 @@ export const shadow = {
|
|
|
147
147
|
toast: mode("inset 0 0 0 1px var(--k-toast-ring), 0 2px 6px rgb(0 0 0 / 0.12), 0 12px 32px -8px rgb(0 0 0 / 0.35)", "inset 0 0 0 1px var(--k-toast-ring), 0 2px 6px rgb(0 0 0 / 0.6), 0 16px 40px rgb(0 0 0 / 0.8)"),
|
|
148
148
|
thumb: mode("0 1px 2px rgb(0 0 0 / 0.16), 0 0 0 1px rgb(0 0 0 / 0.04)", "0 1px 2px rgb(0 0 0 / 0.5)"),
|
|
149
149
|
};
|
|
150
|
+
export const themeDisplay = {
|
|
151
|
+
"show-light": mode("block", "none"),
|
|
152
|
+
"show-dark": mode("none", "block"),
|
|
153
|
+
};
|
|
150
154
|
export const material = {
|
|
151
155
|
"primary-gradient": mode("linear-gradient(180deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0) 50%)", "linear-gradient(180deg, rgb(255 255 255 / 0), rgb(0 0 0 / 0.06))"),
|
|
152
156
|
"primary-shadow": mode("inset 0 1px 0 rgb(255 255 255 / 0.14), 0 1px 2px rgb(0 0 0 / 0.24)", "inset 0 1px 0 rgb(255 255 255 / 0.5), 0 1px 2px rgb(0 0 0 / 0.5)"),
|
package/package.json
CHANGED