@loworbitstudio/visor-core 0.4.1 → 0.6.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loworbitstudio/visor-core",
3
- "version": "0.4.1",
3
+ "version": "0.6.0",
4
4
  "description": "Design tokens for the Visor design system — CSS custom properties for theming.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.css",
@@ -10,9 +10,14 @@
10
10
  "./tokens": "./dist/tokens.css",
11
11
  "./primitives": "./dist/primitives.css",
12
12
  "./semantic": "./dist/semantic.css",
13
- "./themes/light": "./dist/themes/light.css",
13
+ "./themes/blackout": "./dist/themes/blackout.css",
14
14
  "./themes/dark": "./dist/themes/dark.css",
15
- "./types": "./src/types.ts"
15
+ "./themes/light": "./dist/themes/light.css",
16
+ "./themes/modern-minimal": "./dist/themes/modern-minimal.css",
17
+ "./themes/neutral": "./dist/themes/neutral.css",
18
+ "./themes/space": "./dist/themes/space.css",
19
+ "./types": "./src/types.ts",
20
+ "./utilities": "./dist/utilities.css"
16
21
  },
17
22
  "scripts": {
18
23
  "build": "tsx src/generate/generate-css.ts",
@@ -43,6 +48,7 @@
43
48
  "access": "public"
44
49
  },
45
50
  "devDependencies": {
51
+ "@loworbitstudio/visor-theme-engine": "^0.4.0",
46
52
  "@types/node": "^22.0.0",
47
53
  "tsx": "^4.19.2",
48
54
  "typescript": "^5.7.2",
package/src/types.ts CHANGED
@@ -153,6 +153,7 @@ export const TOKEN_SURFACE_INTERACTIVE_DEFAULT = "--surface-interactive-default"
153
153
  export const TOKEN_SURFACE_INTERACTIVE_HOVER = "--surface-interactive-hover" as const;
154
154
  export const TOKEN_SURFACE_INTERACTIVE_ACTIVE = "--surface-interactive-active" as const;
155
155
  export const TOKEN_SURFACE_INTERACTIVE_DISABLED = "--surface-interactive-disabled" as const;
156
+ export const TOKEN_SURFACE_SELECTED = "--surface-selected" as const;
156
157
  export const TOKEN_SURFACE_ACCENT_SUBTLE = "--surface-accent-subtle" as const;
157
158
  export const TOKEN_SURFACE_ACCENT_DEFAULT = "--surface-accent-default" as const;
158
159
  export const TOKEN_SURFACE_ACCENT_STRONG = "--surface-accent-strong" as const;
@@ -261,6 +262,7 @@ export type SurfaceToken =
261
262
  | typeof TOKEN_SURFACE_INTERACTIVE_HOVER
262
263
  | typeof TOKEN_SURFACE_INTERACTIVE_ACTIVE
263
264
  | typeof TOKEN_SURFACE_INTERACTIVE_DISABLED
265
+ | typeof TOKEN_SURFACE_SELECTED
264
266
  | typeof TOKEN_SURFACE_ACCENT_SUBTLE
265
267
  | typeof TOKEN_SURFACE_ACCENT_DEFAULT
266
268
  | typeof TOKEN_SURFACE_ACCENT_STRONG