@yuva-devlab/tokens 0.1.1 → 1.0.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.
Files changed (52) hide show
  1. package/README.md +20 -179
  2. package/package.json +12 -29
  3. package/src/preset.css +159 -0
  4. package/src/styles.css +2 -0
  5. package/src/themes/theme-finai.css +110 -0
  6. package/src/themes/theme-orchestrai.css +45 -0
  7. package/.prettierignore +0 -12
  8. package/.turbo/turbo-build.log +0 -18
  9. package/CHANGELOG.md +0 -21
  10. package/dist/breakpoints.css.d.ts +0 -13
  11. package/dist/breakpoints.css.d.ts.map +0 -1
  12. package/dist/colors.css.d.ts +0 -99
  13. package/dist/colors.css.d.ts.map +0 -1
  14. package/dist/index.cjs +0 -1
  15. package/dist/index.d.ts +0 -11
  16. package/dist/index.d.ts.map +0 -1
  17. package/dist/index.js +0 -15
  18. package/dist/palettes.css.d.ts +0 -109
  19. package/dist/palettes.css.d.ts.map +0 -1
  20. package/dist/radii.css.d.ts +0 -15
  21. package/dist/radii.css.d.ts.map +0 -1
  22. package/dist/shadows.css.d.ts +0 -15
  23. package/dist/shadows.css.d.ts.map +0 -1
  24. package/dist/spacing.css.d.ts +0 -17
  25. package/dist/spacing.css.d.ts.map +0 -1
  26. package/dist/themes.css.d.ts +0 -7
  27. package/dist/themes.css.d.ts.map +0 -1
  28. package/dist/tokens.css +0 -1
  29. package/dist/transitions.css.d.ts +0 -20
  30. package/dist/transitions.css.d.ts.map +0 -1
  31. package/dist/typography.css.d.ts +0 -40
  32. package/dist/typography.css.d.ts.map +0 -1
  33. package/dist/utils/color-generator.d.ts +0 -39
  34. package/dist/utils/color-generator.d.ts.map +0 -1
  35. package/dist/zindex.css.d.ts +0 -16
  36. package/dist/zindex.css.d.ts.map +0 -1
  37. package/eslint.config.js +0 -8
  38. package/prettier.config.js +0 -1
  39. package/src/breakpoints.css.ts +0 -23
  40. package/src/colors.css.ts +0 -73
  41. package/src/index.ts +0 -16
  42. package/src/palettes.css.ts +0 -122
  43. package/src/radii.css.ts +0 -28
  44. package/src/shadows.css.ts +0 -28
  45. package/src/spacing.css.ts +0 -31
  46. package/src/themes.css.ts +0 -181
  47. package/src/transitions.css.ts +0 -38
  48. package/src/typography.css.ts +0 -77
  49. package/src/utils/color-generator.ts +0 -90
  50. package/src/zindex.css.ts +0 -29
  51. package/tsconfig.json +0 -12
  52. package/vite.config.ts +0 -31
package/README.md CHANGED
@@ -3,204 +3,45 @@
3
3
  [![npm version](https://img.shields.io/npm/v/@yuva-devlab/tokens.svg)](https://www.npmjs.com/package/@yuva-devlab/tokens)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
5
5
 
6
- > Design system tokens built with Vanilla Extract, providing a comprehensive
7
- > foundation for consistent UI development.
6
+ > Tailwind CSS 4 preset and design token theme bridge for the Yuva DevLab Design System.
8
7
 
9
8
  ## Features
10
9
 
11
- - 🎨 **Automated Tonal Palettes** - Material Design 3 inspired color generation
12
- - 🌓 **Light/Dark Themes** - Semantic color tokens that adapt to theme
13
- - 📏 **Systematic Spacing** - Consistent scale from 2xs to 5xl
14
- - 📝 **Typography Scale** - Harmonious type system
15
- - 🎯 **Zero Runtime** - All tokens compiled to CSS variables at build time
16
- - 🔒 **Type-Safe** - Full TypeScript autocomplete for all tokens
10
+ - 🎨 **Tailwind CSS 4 Preset** - Native `@theme inline` mappings bridging tokens to Tailwind utilities
11
+ - 🌓 **Modern OKLCH Color Tokens** - Clean, perceptual contrast in light and dark modes
12
+ - 🚀 **Zero-Config Theming** - Drop-in theme presets for applications (FinAI, OrchestrAI)
13
+ - 🎯 **Pure CSS** - Zero runtime overhead and zero JS dependencies
17
14
 
18
15
  ## Installation
19
16
 
20
17
  ```bash
18
+ # npm
21
19
  npm install @yuva-devlab/tokens
22
- ```
23
-
24
- **Zero runtime dependencies** - All tokens are compiled to static CSS at build
25
- time.
26
-
27
- ## Token Categories
28
-
29
- ### Colors
30
-
31
- - **Tonal Palettes** - 13-shade palettes for primary, secondary, tertiary,
32
- neutral, and error
33
- - **Semantic Colors** - Theme-aware tokens (background, surface, primary, etc.)
34
- - **State Colors** - Hover, active, and disabled states
35
-
36
- ### Spacing
37
-
38
- - **Scale**: `2xs`, `xs`, `sm`, `md`, `lg`, `xl`, `2xl`, `3xl`, `4xl`, `5xl`
39
- - **Values**: 4px to 96px in systematic increments
40
-
41
- ### Typography
42
-
43
- - **Sizes**: `xs`, `sm`, `md`, `lg`, `xl`, `2xl`, `3xl`, `4xl`, `5xl`
44
- - **Weights**: `light`, `regular`, `medium`, `semibold`, `bold`
45
- - **Line Heights**: Optimized for readability
46
-
47
- ### Other Tokens
48
20
 
49
- - **Border Radius**: `sm`, `md`, `lg`, `xl`, `full`
50
- - **Shadows**: `sm`, `md`, `lg`, `xl`
51
- - **Z-Index**: Layered system for overlays, modals, tooltips
52
- - **Breakpoints**: Responsive design breakpoints
21
+ # yarn
22
+ yarn add @yuva-devlab/tokens
53
23
 
54
- ## Usage
55
-
56
- ### In Vanilla Extract
57
-
58
- ```ts
59
- import { vars } from "@yuva-devlab/tokens";
60
- import { style } from "@vanilla-extract/css";
61
-
62
- export const card = style({
63
- backgroundColor: vars.colors.surface,
64
- padding: vars.spacing.lg,
65
- borderRadius: vars.radii.md,
66
- boxShadow: vars.shadows.sm,
67
-
68
- // Typography
69
- fontSize: vars.typography.size.md,
70
- lineHeight: vars.typography.lineHeight.md,
71
-
72
- // Responsive
73
- "@media": {
74
- [vars.breakpoints.md]: {
75
- padding: vars.spacing.xl,
76
- },
77
- },
78
- });
24
+ # pnpm
25
+ pnpm add @yuva-devlab/tokens
79
26
  ```
80
27
 
81
- ### Importing CSS
28
+ ## Usage with Tailwind CSS 4
82
29
 
83
- ```tsx
84
- // Import compiled CSS in your app entry point
85
- import "@yuva-devlab/tokens/tokens.css";
86
- ```
87
-
88
- ### Using CSS Variables Directly
30
+ In your application's global CSS (e.g. `globals.css`):
89
31
 
90
32
  ```css
91
- .my-component {
92
- background-color: var(--colors-surface);
93
- padding: var(--spacing-md);
94
- border-radius: var(--radii-md);
95
- }
96
- ```
97
-
98
- ## Color System
99
-
100
- ### Tonal Palettes
33
+ @import "tailwindcss";
34
+ @import "@yuva-devlab/tokens/preset.css";
101
35
 
102
- Each color has 13 shades (0-100 in increments of 10):
103
-
104
- ```ts
105
- import { vars } from "@yuva-devlab/tokens";
106
-
107
- // Primary palette
108
- vars.palettes.primary[0]; // Lightest
109
- vars.palettes.primary[50]; // Mid-tone
110
- vars.palettes.primary[100]; // Darkest
111
-
112
- // Available palettes:
113
- // - primary (Natural green)
114
- // - secondary
115
- // - tertiary
116
- // - neutral
117
- // - neutralVariant
118
- // - error
119
- ```
120
-
121
- ### Semantic Colors
122
-
123
- Theme-aware tokens that automatically adapt:
124
-
125
- ```ts
126
- vars.colors.background; // Page background
127
- vars.colors.surface; // Card/panel background
128
- vars.colors.primary; // Primary brand color
129
- vars.colors.onPrimary; // Text on primary
130
- vars.colors.secondary; // Secondary color
131
- vars.colors.error; // Error state
132
- vars.colors.outline; // Borders
133
- ```
134
-
135
- ## Spacing System
136
-
137
- ```ts
138
- import { vars } from "@yuva-devlab/tokens";
139
-
140
- vars.spacing["2xs"]; // 4px
141
- vars.spacing.xs; // 8px
142
- vars.spacing.sm; // 12px
143
- vars.spacing.md; // 16px
144
- vars.spacing.lg; // 24px
145
- vars.spacing.xl; // 32px
146
- vars.spacing["2xl"]; // 48px
147
- vars.spacing["3xl"]; // 64px
148
- vars.spacing["4xl"]; // 80px
149
- vars.spacing["5xl"]; // 96px
150
- ```
151
-
152
- ## Typography
153
-
154
- ```ts
155
- import { vars } from "@yuva-devlab/tokens";
156
-
157
- // Sizes
158
- vars.typography.size.xs; // 12px
159
- vars.typography.size.sm; // 14px
160
- vars.typography.size.md; // 16px
161
- vars.typography.size.lg; // 18px
162
- vars.typography.size.xl; // 20px
163
- vars.typography.size["2xl"]; // 24px
164
- vars.typography.size["3xl"]; // 30px
165
- vars.typography.size["4xl"]; // 36px
166
- vars.typography.size["5xl"]; // 48px
167
-
168
- // Weights
169
- vars.typography.weight.light; // 300
170
- vars.typography.weight.regular; // 400
171
- vars.typography.weight.medium; // 500
172
- vars.typography.weight.semibold; // 600
173
- vars.typography.weight.bold; // 700
174
- ```
175
-
176
- ## Development
177
-
178
- ```bash
179
- # Build tokens
180
- pnpm --filter @yuva-devlab/tokens build
181
-
182
- # Watch mode
183
- pnpm --filter @yuva-devlab/tokens dev
184
- ```
185
-
186
- ## Architecture
187
-
188
- ```
189
- Color Seeds (HSL)
190
- ↓
191
- Tonal Palette Generation (MD3 algorithm)
192
- ↓
193
- Semantic Token Mapping (Light/Dark)
194
- ↓
195
- CSS Variables (Compiled by Vanilla Extract)
196
- ↓
197
- Your Components
36
+ /* Include your target app theme */
37
+ @import "@yuva-devlab/tokens/themes/finai.css";
38
+ /* or @import "@yuva-devlab/tokens/themes/orchestrai.css"; */
198
39
  ```
199
40
 
200
- ## Related Packages
41
+ ## Available Themes
201
42
 
202
- - [@yuva-devlab/colors](../colors) - Palette generation utility
203
- - [@yuva-devlab/ui](../ui) - Components using these tokens
43
+ - `@yuva-devlab/tokens/themes/finai.css`: Emerald & forest-green palette optimized for financial clarity and trust.
44
+ - `@yuva-devlab/tokens/themes/orchestrai.css`: Modern high-contrast tech palette for orchestration dashboards.
204
45
 
205
46
  ## License
206
47
 
package/package.json CHANGED
@@ -1,46 +1,29 @@
1
1
  {
2
2
  "name": "@yuva-devlab/tokens",
3
- "version": "0.1.1",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
- "main": "./dist/index.cjs",
6
- "module": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
5
+ "style": "./src/styles.css",
8
6
  "sideEffects": [
9
- "**/*.css.ts",
10
7
  "**/*.css"
11
8
  ],
12
9
  "exports": {
13
- ".": {
14
- "types": "./dist/index.d.ts",
15
- "import": "./dist/index.js",
16
- "require": "./dist/index.cjs"
17
- },
18
- "./tokens.css": "./dist/tokens.css",
10
+ ".": "./src/styles.css",
11
+ "./preset.css": "./src/preset.css",
12
+ "./styles.css": "./src/styles.css",
13
+ "./themes/finai.css": "./src/themes/theme-finai.css",
14
+ "./themes/orchestrai.css": "./src/themes/theme-orchestrai.css",
19
15
  "./package.json": "./package.json"
20
16
  },
17
+ "files": [
18
+ "src"
19
+ ],
21
20
  "license": "MIT",
22
21
  "devDependencies": {
23
- "@vanilla-extract/vite-plugin": "^5.1.1",
24
- "vite": "^7.2.4",
25
- "vite-plugin-dts": "^4.5.4",
26
- "@yuva-devlab/colors": "0.1.1",
27
- "@yuva-devlab/eslint-config": "0.1.1",
28
- "@yuva-devlab/prettier-config": "0.1.1",
29
- "@yuva-devlab/typescript-config": "0.1.1"
30
- },
31
- "dependencies": {
32
- "@vanilla-extract/css": "^1.17.4"
22
+ "@yuva-devlab/prettier-config": "0.1.1"
33
23
  },
34
24
  "scripts": {
35
- "build": "vite build",
36
- "lint": "eslint src",
37
- "lint:fix": "eslint src --fix",
38
25
  "format": "prettier --write .",
39
26
  "format:check": "prettier --check .",
40
- "type-check": "tsc --noEmit",
41
- "clean:build": "rm -rf dist",
42
- "clean:node_modules": "rm -rf node_modules",
43
- "clean:turbo": "rm -rf .turbo",
44
- "clean": "pnpm run clean:build && pnpm run clean:node_modules && pnpm run clean:turbo"
27
+ "clean": "rm -rf node_modules .turbo"
45
28
  }
46
29
  }
package/src/preset.css ADDED
@@ -0,0 +1,159 @@
1
+ /**
2
+ * Yuva DevLab Design System — Tailwind CSS 4 Preset Bridge
3
+ *
4
+ * Maps standard design tokens and CSS custom properties to Tailwind utility classes.
5
+ * Can be consumed by any downstream application (e.g. FinAI, OrchestrAI) via:
6
+ * `@import "@yuva-devlab/tokens/preset.css";`
7
+ */
8
+
9
+ @theme inline {
10
+ /* ── Radii Mappings ──────────────────────────────────────────────────────── */
11
+ --radius-sm: calc(var(--radius, 0.5rem) - 4px);
12
+ --radius-md: calc(var(--radius, 0.5rem) - 2px);
13
+ --radius-lg: var(--radius, 0.5rem);
14
+ --radius-xl: calc(var(--radius, 0.5rem) + 4px);
15
+ --radius-2xl: calc(var(--radius, 0.5rem) + 8px);
16
+ --radius-3xl: calc(var(--radius, 0.5rem) + 12px);
17
+ --radius-4xl: calc(var(--radius, 0.5rem) + 16px);
18
+
19
+ /* ── Semantic Color Tokens ────────────────────────────────────────────────── */
20
+ --color-background: var(--background);
21
+ --color-foreground: var(--foreground);
22
+ --color-card: var(--card);
23
+ --color-card-foreground: var(--card-foreground);
24
+ --color-popover: var(--popover);
25
+ --color-popover-foreground: var(--popover-foreground);
26
+ --color-primary: var(--primary);
27
+ --color-primary-foreground: var(--primary-foreground);
28
+ --color-secondary: var(--secondary);
29
+ --color-secondary-foreground: var(--secondary-foreground);
30
+ --color-muted: var(--muted);
31
+ --color-muted-foreground: var(--muted-foreground);
32
+ --color-accent: var(--accent);
33
+ --color-accent-foreground: var(--accent-foreground);
34
+ --color-destructive: var(--destructive);
35
+ --color-destructive-foreground: var(--destructive-foreground);
36
+ --color-border: var(--border);
37
+ --color-input: var(--input);
38
+ --color-ring: var(--ring);
39
+
40
+ /* ── Contextual System Colors ────────────────────────────────────────────── */
41
+ --color-warning: var(--warning);
42
+ --color-warning-foreground: var(--warning-foreground);
43
+ --color-overlay: var(--overlay);
44
+
45
+ /* ── Navigation & Sidebar ────────────────────────────────────────────────── */
46
+ --color-sidebar: var(--sidebar);
47
+ --color-sidebar-foreground: var(--sidebar-foreground);
48
+ --color-sidebar-primary: var(--sidebar-primary);
49
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
50
+ --color-sidebar-accent: var(--sidebar-accent);
51
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
52
+ --color-sidebar-border: var(--sidebar-border);
53
+ --color-sidebar-ring: var(--sidebar-ring);
54
+
55
+ /* ── Visual Data Telemetry (Charts) ──────────────────────────────────────── */
56
+ --color-chart-1: var(--chart-1);
57
+ --color-chart-2: var(--chart-2);
58
+ --color-chart-3: var(--chart-3);
59
+ --color-chart-4: var(--chart-4);
60
+ --color-chart-5: var(--chart-5);
61
+
62
+ /* ── Component Control Dimensions ────────────────────────────────────────── */
63
+ --height-control-xs: var(--control-height-xs, 1.75rem);
64
+ --height-control-sm: var(--control-height-sm, 2rem);
65
+ --height-control-md: var(--control-height-md, 2.25rem);
66
+ --height-control-lg: var(--control-height-lg, 2.5rem);
67
+ --height-control-xl: var(--control-height-xl, 3rem);
68
+
69
+ /* ── Icon Sizing Tokens ──────────────────────────────────────────────────── */
70
+ --size-icon-xs: var(--icon-xs, 0.875rem);
71
+ --size-icon-sm: var(--icon-sm, 1rem);
72
+ --size-icon-md: var(--icon-md, 1.25rem);
73
+ --size-icon-lg: var(--icon-lg, 1.5rem);
74
+ --size-icon-xl: var(--icon-xl, 2rem);
75
+ }
76
+
77
+ /* ── Cybernetic Grid & Graph Topologies ────────────────────────────────────── */
78
+ @utility execution-grid {
79
+ background-image:
80
+ linear-gradient(var(--border) 1px, transparent 1px),
81
+ linear-gradient(90deg, var(--border) 1px, transparent 1px);
82
+ background-size: 36px 36px;
83
+ mask-image: linear-gradient(to bottom, black, transparent 72%);
84
+ }
85
+
86
+ @utility topology-grid {
87
+ background-image: radial-gradient(
88
+ circle at center,
89
+ var(--border) 1px,
90
+ transparent 1px
91
+ );
92
+ background-size: 18px 18px;
93
+ mask-image: linear-gradient(
94
+ 90deg,
95
+ transparent,
96
+ black 15%,
97
+ black 85%,
98
+ transparent
99
+ );
100
+ }
101
+
102
+ /* ── Live Agent Telemetry Animations ───────────────────────────────────────── */
103
+ @utility animate-agent-pulse {
104
+ animation: agent-pulse 1.8s ease-in-out infinite;
105
+ }
106
+
107
+ @utility animate-signal-travel {
108
+ animation: signal-travel 1.5s linear infinite;
109
+ }
110
+
111
+ @utility animate-progress-flow {
112
+ animation: progress-flow 1.8s ease-in-out infinite;
113
+ }
114
+
115
+ @utility runner-enter {
116
+ animation: runner-enter 260ms ease-out both;
117
+ }
118
+
119
+ @keyframes agent-pulse {
120
+ 0%,
121
+ 100% {
122
+ opacity: 0.55;
123
+ transform: scale(0.9);
124
+ }
125
+ 50% {
126
+ opacity: 1;
127
+ transform: scale(1.15);
128
+ }
129
+ }
130
+
131
+ @keyframes signal-travel {
132
+ from {
133
+ left: 0;
134
+ }
135
+ to {
136
+ left: calc(100% - 0.5rem);
137
+ }
138
+ }
139
+
140
+ @keyframes progress-flow {
141
+ 0%,
142
+ 100% {
143
+ opacity: 0.55;
144
+ }
145
+ 50% {
146
+ opacity: 1;
147
+ }
148
+ }
149
+
150
+ @keyframes runner-enter {
151
+ from {
152
+ opacity: 0;
153
+ transform: translateY(6px);
154
+ }
155
+ to {
156
+ opacity: 1;
157
+ transform: translateY(0);
158
+ }
159
+ }
package/src/styles.css ADDED
@@ -0,0 +1,2 @@
1
+ @import "tailwindcss";
2
+ @import "./preset.css";
@@ -0,0 +1,110 @@
1
+ /**
2
+ * FinAI Theme Preset — Emerald / Forest Green Palette
3
+ * Modern OKLCH color spaces optimized for trust, clarity, and financial wellness.
4
+ */
5
+
6
+ :root,
7
+ [data-theme="finai"] {
8
+ --radius: 0.75rem;
9
+ --background: oklch(0.985 0.001 247);
10
+ --foreground: oklch(0.21 0.02 260);
11
+ --card: oklch(1 0 0);
12
+ --card-foreground: oklch(0.21 0.02 260);
13
+ --popover: oklch(1 0 0);
14
+ --popover-foreground: oklch(0.21 0.02 260);
15
+ --primary: oklch(0.63 0.14 156);
16
+ --primary-foreground: oklch(0.99 0.005 150);
17
+ --secondary: oklch(0.965 0.003 260);
18
+ --secondary-foreground: oklch(0.21 0.02 260);
19
+ --muted: oklch(0.965 0.003 260);
20
+ --muted-foreground: oklch(0.52 0.015 260);
21
+ --accent: oklch(0.95 0.03 156);
22
+ --accent-foreground: oklch(0.35 0.09 156);
23
+ --destructive: oklch(0.6 0.22 25);
24
+ --destructive-foreground: oklch(0.99 0.005 0);
25
+ --warning: oklch(0.75 0.14 80);
26
+ --warning-foreground: oklch(0.2 0.02 80);
27
+ --border: oklch(0.92 0.005 260);
28
+ --input: oklch(0.92 0.005 260);
29
+ --ring: oklch(0.63 0.14 156);
30
+ --sidebar: oklch(1 0 0);
31
+ --sidebar-foreground: oklch(0.21 0.02 260);
32
+ --sidebar-primary: oklch(0.63 0.14 156);
33
+ --sidebar-primary-foreground: oklch(0.99 0.005 150);
34
+ --sidebar-accent: oklch(0.95 0.03 156);
35
+ --sidebar-accent-foreground: oklch(0.35 0.09 156);
36
+ --sidebar-border: oklch(0.93 0.005 260);
37
+ --sidebar-ring: oklch(0.63 0.14 156);
38
+ --chart-1: oklch(0.63 0.14 156);
39
+ --chart-2: oklch(0.55 0.02 260);
40
+ --chart-3: oklch(0.75 0.04 156);
41
+ --chart-4: oklch(0.7 0.15 60);
42
+ --chart-5: oklch(0.6 0.18 25);
43
+
44
+ /* ── Sizing, Spacing & Layout Tokens ───────────────────────────────────── */
45
+ --control-height-xs: 1.75rem;
46
+ --control-height-sm: 2rem;
47
+ --control-height-md: 2.375rem;
48
+ --control-height-lg: 2.75rem;
49
+ --control-height-xl: 3.25rem;
50
+
51
+ --icon-xs: 0.75rem;
52
+ --icon-sm: 0.875rem;
53
+ --icon-md: 1rem;
54
+ --icon-lg: 1.25rem;
55
+ --icon-xl: 1.5rem;
56
+
57
+ --space-1: 0.25rem;
58
+ --space-2: 0.5rem;
59
+ --space-3: 0.75rem;
60
+ --space-4: 1rem;
61
+ --space-5: 1.25rem;
62
+ --space-6: 1.5rem;
63
+ --space-8: 2rem;
64
+ --space-10: 2.5rem;
65
+
66
+ --card-padding: var(--space-5);
67
+ --dialog-padding: var(--space-6);
68
+ --form-field-gap: var(--space-4);
69
+ --section-gap: var(--space-6);
70
+ --table-row-padding-x: var(--space-6);
71
+ --table-row-padding-y: var(--space-4);
72
+ }
73
+
74
+ .dark,
75
+ [data-theme="finai-dark"] {
76
+ --background: oklch(0.16 0.015 260);
77
+ --foreground: oklch(0.97 0.003 260);
78
+ --card: oklch(0.2 0.015 260);
79
+ --card-foreground: oklch(0.97 0.003 260);
80
+ --popover: oklch(0.2 0.015 260);
81
+ --popover-foreground: oklch(0.97 0.003 260);
82
+ --primary: oklch(0.7 0.15 156);
83
+ --primary-foreground: oklch(0.15 0.02 260);
84
+ --secondary: oklch(0.25 0.015 260);
85
+ --secondary-foreground: oklch(0.97 0.003 260);
86
+ --muted: oklch(0.25 0.015 260);
87
+ --muted-foreground: oklch(0.7 0.01 260);
88
+ --accent: oklch(0.3 0.05 156);
89
+ --accent-foreground: oklch(0.9 0.08 156);
90
+ --destructive: oklch(0.65 0.2 25);
91
+ --destructive-foreground: oklch(0.97 0.003 0);
92
+ --warning: oklch(0.75 0.14 80);
93
+ --warning-foreground: oklch(0.15 0.02 80);
94
+ --border: oklch(1 0 0 / 8%);
95
+ --input: oklch(1 0 0 / 12%);
96
+ --ring: oklch(0.7 0.15 156);
97
+ --sidebar: oklch(0.18 0.015 260);
98
+ --sidebar-foreground: oklch(0.97 0.003 260);
99
+ --sidebar-primary: oklch(0.7 0.15 156);
100
+ --sidebar-primary-foreground: oklch(0.15 0.02 260);
101
+ --sidebar-accent: oklch(0.26 0.03 156);
102
+ --sidebar-accent-foreground: oklch(0.97 0.003 260);
103
+ --sidebar-border: oklch(1 0 0 / 8%);
104
+ --sidebar-ring: oklch(0.7 0.15 156);
105
+ --chart-1: oklch(0.7 0.15 156);
106
+ --chart-2: oklch(0.6 0.02 260);
107
+ --chart-3: oklch(0.8 0.04 156);
108
+ --chart-4: oklch(0.75 0.15 60);
109
+ --chart-5: oklch(0.65 0.2 25);
110
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * OrchestrAI Theme Preset — Terminal Moss & Deep Slate Cybernetic Palette
3
+ * Modern OKLCH color spaces optimized for high-density agent telemetry and execution logs.
4
+ */
5
+
6
+ :root,
7
+ .dark,
8
+ [data-theme="orchestrai"] {
9
+ --radius: 0.5rem;
10
+ --background: oklch(0.195 0.005 120);
11
+ --foreground: oklch(0.93 0.012 112);
12
+ --card: oklch(0.235 0.008 120);
13
+ --card-foreground: oklch(0.93 0.012 112);
14
+ --popover: oklch(0.235 0.008 120);
15
+ --popover-foreground: oklch(0.93 0.012 112);
16
+ --primary: oklch(0.77 0.12 120);
17
+ --primary-foreground: oklch(0.195 0.005 120);
18
+ --secondary: oklch(0.285 0.008 120);
19
+ --secondary-foreground: oklch(0.91 0.01 112);
20
+ --muted: oklch(0.31 0.008 120);
21
+ --muted-foreground: oklch(0.67 0.015 112);
22
+ --accent: oklch(0.34 0.025 120);
23
+ --accent-foreground: oklch(0.9 0.015 112);
24
+ --destructive: oklch(0.61 0.2 27);
25
+ --destructive-foreground: oklch(0.96 0.01 90);
26
+ --warning: oklch(0.72 0.13 78);
27
+ --warning-foreground: oklch(0.2 0.015 78);
28
+ --border: oklch(0.36 0.009 120);
29
+ --input: oklch(0.36 0.009 120);
30
+ --ring: oklch(0.77 0.12 120);
31
+ --sidebar: oklch(0.215 0.006 120);
32
+ --sidebar-foreground: oklch(0.89 0.012 112);
33
+ --sidebar-primary: oklch(0.77 0.12 120);
34
+ --sidebar-primary-foreground: oklch(0.195 0.005 120);
35
+ --sidebar-accent: oklch(0.28 0.02 120);
36
+ --sidebar-accent-foreground: oklch(0.93 0.012 112);
37
+ --sidebar-border: oklch(0.32 0.008 120);
38
+ --sidebar-ring: oklch(0.77 0.12 120);
39
+ --overlay: oklch(0.11 0.004 120);
40
+ --chart-1: oklch(0.77 0.12 120);
41
+ --chart-2: oklch(0.65 0.1 190);
42
+ --chart-3: oklch(0.7 0.13 78);
43
+ --chart-4: oklch(0.62 0.16 310);
44
+ --chart-5: oklch(0.72 0.12 40);
45
+ }
package/.prettierignore DELETED
@@ -1,12 +0,0 @@
1
- # Dependencies
2
- node_modules
3
-
4
- # Build outputs
5
- dist
6
- build
7
- .turbo
8
- storybook-static
9
-
10
- # Generated files
11
- *.d.ts
12
- coverage
@@ -1,18 +0,0 @@
1
-
2
- > @yuva-devlab/tokens@0.1.1 build /home/runner/work/yuva-devlab-workspace/yuva-devlab-workspace/packages/tokens
3
- > vite build
4
-
5
- vite v7.2.4 building client environment for production...
6
- transforming...
7
- ✓ 21 modules transformed.
8
- rendering chunks...
9
-
10
- [vite:dts] Start generate declaration files...
11
- computing gzip size...
12
- dist/tokens.css 9.42 kB │ gzip: 2.19 kB
13
- dist/index.js 7.43 kB │ gzip: 1.55 kB
14
- [vite:dts] Declaration files built in 1028ms.
15
-
16
- dist/tokens.css 9.42 kB │ gzip: 2.19 kB
17
- dist/index.cjs 6.95 kB │ gzip: 1.59 kB
18
- ✓ built in 1.38s
package/CHANGELOG.md DELETED
@@ -1,21 +0,0 @@
1
- # @yuva-devlab/tokens
2
-
3
- ## 0.1.1
4
-
5
- ### Patch Changes
6
-
7
- - 2cc8dcf: Complete documentation rewrite with comprehensive examples and API
8
- reference
9
-
10
- ## 0.1.0
11
-
12
- ### Minor Changes
13
-
14
- - 16c5cc8: Initial Alpha release of the complete Yuva Devlab UI Library
15
- ecosystem. Includes:
16
- - Headless Radix Primitives
17
- - Vanilla Extract Styling System
18
- - Comprehensive Design Tokens
19
- - Modern React Components
20
- - Scalable Monorepo Configuration
21
- - CLI tool for component scaffolding
@@ -1,13 +0,0 @@
1
- /**
2
- * Responsive breakpoint tokens.
3
- * Mobile-first approach aligned with common device sizes.
4
- */
5
- export declare const breakpoints: {
6
- xs: `var(--${string})`;
7
- sm: `var(--${string})`;
8
- md: `var(--${string})`;
9
- lg: `var(--${string})`;
10
- xl: `var(--${string})`;
11
- "2xl": `var(--${string})`;
12
- };
13
- //# sourceMappingURL=breakpoints.css.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"breakpoints.css.d.ts","sourceRoot":"","sources":["../src/breakpoints.css.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;;;CAOtB,CAAC"}