@kuniversedev/design-tokens 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.
- package/LICENSE +21 -0
- package/README.md +224 -0
- package/dist/branding.cjs +133 -0
- package/dist/branding.cjs.map +1 -0
- package/dist/branding.d.cts +53 -0
- package/dist/branding.d.ts +53 -0
- package/dist/branding.js +96 -0
- package/dist/branding.js.map +1 -0
- package/dist/css.cjs +348 -0
- package/dist/css.cjs.map +1 -0
- package/dist/css.d.cts +131 -0
- package/dist/css.d.ts +131 -0
- package/dist/css.js +311 -0
- package/dist/css.js.map +1 -0
- package/dist/index.cjs +253 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +75 -0
- package/dist/index.d.ts +75 -0
- package/dist/index.js +216 -0
- package/dist/index.js.map +1 -0
- package/dist/tailwind.cjs +606 -0
- package/dist/tailwind.cjs.map +1 -0
- package/dist/tailwind.d.cts +25 -0
- package/dist/tailwind.d.ts +25 -0
- package/dist/tailwind.js +571 -0
- package/dist/tailwind.js.map +1 -0
- package/dist/types-BcWm9ccA.d.cts +204 -0
- package/dist/types-BcWm9ccA.d.ts +204 -0
- package/package.json +90 -0
- package/src/standalone/k-universe-tokens.css +151 -0
- package/src/standalone/tokens.css +158 -0
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/* K-Universe Design Tokens — v0.0.0 */
|
|
2
|
+
/* Auto-generated from @k-universe/design-tokens */
|
|
3
|
+
/* Do not edit manually — regenerate via build */
|
|
4
|
+
/*
|
|
5
|
+
* Package exports needed (handled by Agent 5 / build config):
|
|
6
|
+
* "./standalone/css": "./src/standalone/tokens.css"
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
:root {
|
|
10
|
+
/* Colors */
|
|
11
|
+
--color-black: #000000;
|
|
12
|
+
--color-white: #FFFFFF;
|
|
13
|
+
--color-gray-100: #F5F5F5;
|
|
14
|
+
--color-gray-300: #D4D4D4;
|
|
15
|
+
--color-gray-500: #737373;
|
|
16
|
+
--color-gray-700: #404040;
|
|
17
|
+
--color-gray-900: #171717;
|
|
18
|
+
--color-background: #0A0A0A;
|
|
19
|
+
--color-surface: #1A1A1A;
|
|
20
|
+
--color-foreground: #FFFFFF;
|
|
21
|
+
--color-muted: #2A2A2A;
|
|
22
|
+
--color-border: #333333;
|
|
23
|
+
--color-primary: #0066FF;
|
|
24
|
+
--color-secondary: #00CC88;
|
|
25
|
+
--color-success: #00DD77;
|
|
26
|
+
--color-error: #FF3333;
|
|
27
|
+
--color-warning: #FFAA00;
|
|
28
|
+
|
|
29
|
+
/* Typography — Font Family */
|
|
30
|
+
--font-family-sans: Power Grotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
31
|
+
--font-family-mono: JetBrains Mono, "Fira Code", monospace;
|
|
32
|
+
--font-family-display: Power Grotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
33
|
+
|
|
34
|
+
/* Typography — Type Scale */
|
|
35
|
+
--scale-hero-size: 4rem;
|
|
36
|
+
--scale-hero-line-height: 1.125;
|
|
37
|
+
--scale-hero-weight: 700;
|
|
38
|
+
--scale-h1-size: 3rem;
|
|
39
|
+
--scale-h1-line-height: 1.167;
|
|
40
|
+
--scale-h1-weight: 700;
|
|
41
|
+
--scale-h2-size: 2rem;
|
|
42
|
+
--scale-h2-line-height: 1.25;
|
|
43
|
+
--scale-h2-weight: 600;
|
|
44
|
+
--scale-h3-size: 1.5rem;
|
|
45
|
+
--scale-h3-line-height: 1.333;
|
|
46
|
+
--scale-h3-weight: 600;
|
|
47
|
+
--scale-body-size: 1rem;
|
|
48
|
+
--scale-body-line-height: 1.5;
|
|
49
|
+
--scale-body-weight: 400;
|
|
50
|
+
--scale-small-size: 0.875rem;
|
|
51
|
+
--scale-small-line-height: 1.429;
|
|
52
|
+
--scale-small-weight: 400;
|
|
53
|
+
--scale-tiny-size: 0.75rem;
|
|
54
|
+
--scale-tiny-line-height: 1.333;
|
|
55
|
+
--scale-tiny-weight: 400;
|
|
56
|
+
|
|
57
|
+
/* Typography — Font Weight */
|
|
58
|
+
--font-weight-thin: 200;
|
|
59
|
+
--font-weight-light: 300;
|
|
60
|
+
--font-weight-regular: 400;
|
|
61
|
+
--font-weight-medium: 500;
|
|
62
|
+
--font-weight-semibold: 600;
|
|
63
|
+
--font-weight-bold: 700;
|
|
64
|
+
--font-weight-black: 900;
|
|
65
|
+
|
|
66
|
+
/* Spacing — 8px base grid */
|
|
67
|
+
--spacing-0: 0;
|
|
68
|
+
--spacing-1: 4px;
|
|
69
|
+
--spacing-2: 8px;
|
|
70
|
+
--spacing-3: 12px;
|
|
71
|
+
--spacing-4: 16px;
|
|
72
|
+
--spacing-5: 20px;
|
|
73
|
+
--spacing-6: 24px;
|
|
74
|
+
--spacing-7: 28px;
|
|
75
|
+
--spacing-8: 32px;
|
|
76
|
+
--spacing-9: 36px;
|
|
77
|
+
--spacing-10: 40px;
|
|
78
|
+
--spacing-12: 48px;
|
|
79
|
+
--spacing-14: 56px;
|
|
80
|
+
--spacing-15: 60px; /* K-Universe 60px margin principle */
|
|
81
|
+
--spacing-16: 64px;
|
|
82
|
+
--spacing-18: 72px;
|
|
83
|
+
--spacing-20: 80px;
|
|
84
|
+
--spacing-24: 96px;
|
|
85
|
+
--spacing-32: 128px;
|
|
86
|
+
|
|
87
|
+
/* Motion — Duration */
|
|
88
|
+
--duration-instant: 100ms;
|
|
89
|
+
--duration-fast: 200ms;
|
|
90
|
+
--duration-default: 300ms;
|
|
91
|
+
--duration-slow: 500ms;
|
|
92
|
+
--duration-crawl: 800ms;
|
|
93
|
+
|
|
94
|
+
/* Motion — Easing */
|
|
95
|
+
--easing-default: cubic-bezier(0.4, 0, 0.2, 1);
|
|
96
|
+
--easing-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
|
|
97
|
+
--easing-sharp: cubic-bezier(0.4, 0, 0.6, 1);
|
|
98
|
+
--easing-accelerate: cubic-bezier(0.4, 0, 1, 1);
|
|
99
|
+
--easing-decelerate: cubic-bezier(0, 0, 0.2, 1);
|
|
100
|
+
|
|
101
|
+
/* Layout */
|
|
102
|
+
--layout-margin: 60px;
|
|
103
|
+
--layout-section-spacing: 96px;
|
|
104
|
+
--layout-container-sm: 640px;
|
|
105
|
+
--layout-container-md: 768px;
|
|
106
|
+
--layout-container-lg: 1024px;
|
|
107
|
+
--layout-container-xl: 1280px;
|
|
108
|
+
--layout-container-max: 1320px;
|
|
109
|
+
--layout-measure: 65ch;
|
|
110
|
+
|
|
111
|
+
/* Border Radius */
|
|
112
|
+
--radius-none: 0;
|
|
113
|
+
--radius-xs: 2px;
|
|
114
|
+
--radius-sm: 4px;
|
|
115
|
+
--radius-md: 6px;
|
|
116
|
+
--radius-lg: 8px;
|
|
117
|
+
--radius-xl: 12px;
|
|
118
|
+
--radius-2xl: 16px;
|
|
119
|
+
--radius-3xl: 24px;
|
|
120
|
+
--radius-round: 9999px;
|
|
121
|
+
|
|
122
|
+
/* Shadows */
|
|
123
|
+
--shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
124
|
+
--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
|
|
125
|
+
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
|
|
126
|
+
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
127
|
+
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
|
|
128
|
+
--shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
|
129
|
+
--shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
|
|
130
|
+
--shadow-card-hover: 0 20px 55px rgba(0, 0, 0, 0.55);
|
|
131
|
+
--shadow-elevated: 0 24px 60px rgba(0, 0, 0, 0.45);
|
|
132
|
+
|
|
133
|
+
/* Z-Index */
|
|
134
|
+
--z-index-bg: -1;
|
|
135
|
+
--z-index-base: 0;
|
|
136
|
+
--z-index-content: 10;
|
|
137
|
+
--z-index-dropdown: 100;
|
|
138
|
+
--z-index-sticky: 200;
|
|
139
|
+
--z-index-overlay: 300;
|
|
140
|
+
--z-index-modal: 400;
|
|
141
|
+
--z-index-popover: 500;
|
|
142
|
+
--z-index-tooltip: 600;
|
|
143
|
+
--z-index-toast: 700;
|
|
144
|
+
|
|
145
|
+
/* Border Width */
|
|
146
|
+
--border-width-thin: 1px;
|
|
147
|
+
--border-width-base: 2px;
|
|
148
|
+
--border-width-thick: 4px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
[data-theme="light"] {
|
|
152
|
+
/* Semantic surface colour overrides — all other tokens inherit from :root */
|
|
153
|
+
--color-background: #FFFFFF;
|
|
154
|
+
--color-foreground: #000000;
|
|
155
|
+
--color-surface: #F5F5F5;
|
|
156
|
+
--color-muted: #E5E5E5;
|
|
157
|
+
--color-border: #D4D4D4;
|
|
158
|
+
}
|