@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Devin Oldenburg
3
+ Copyright (c) 2026 Devin Oldenburg (Logicplanes)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logicplanes/kaeso-tokens",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "Kaeso's design tokens: CSS variables, the Tailwind v4 theme, TypeScript constants and JSON.",
5
5
  "license": "MIT",
6
6
  "author": "Devin Oldenburg",