@surf-kit/tokens 0.1.1 → 0.1.3
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
@layer surf.tokens {
|
|
2
|
+
[data-color-mode="brand"] {
|
|
2
3
|
--surf-color-teal-50: #f0fafb;
|
|
3
4
|
--surf-color-teal-100: #e0f5f7;
|
|
4
5
|
--surf-color-teal-300: #66c2cc;
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
--surf-color-status-error: #e81152;
|
|
68
69
|
--surf-color-status-error-subtle: rgba(232, 17, 82, 0.1);
|
|
69
70
|
--surf-color-status-info: #0091a5;
|
|
71
|
+
--surf-color-status-info-subtle: rgba(0, 145, 165, 0.15);
|
|
70
72
|
--surf-spacing-1: 4px;
|
|
71
73
|
--surf-spacing-2: 8px;
|
|
72
74
|
--surf-spacing-3: 12px;
|
|
@@ -159,4 +161,5 @@
|
|
|
159
161
|
--surf-streaming-phase-bg: rgba(0, 145, 165, 0.08);
|
|
160
162
|
--surf-streaming-phase-text: #0091a5;
|
|
161
163
|
--surf-streaming-phase-icon: #0091a5;
|
|
164
|
+
}
|
|
162
165
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
@layer surf.tokens {
|
|
2
|
+
[data-color-mode="dark"] {
|
|
2
3
|
--surf-color-teal-50: #f0fafb;
|
|
3
4
|
--surf-color-teal-100: #e0f5f7;
|
|
4
5
|
--surf-color-teal-300: #66c2cc;
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
--surf-color-status-error: #e8175d;
|
|
68
69
|
--surf-color-status-error-subtle: #fde8ef;
|
|
69
70
|
--surf-color-status-info: #5bc8f5;
|
|
71
|
+
--surf-color-status-info-subtle: rgba(14, 165, 233, 0.15);
|
|
70
72
|
--surf-spacing-1: 4px;
|
|
71
73
|
--surf-spacing-2: 8px;
|
|
72
74
|
--surf-spacing-3: 12px;
|
|
@@ -159,4 +161,5 @@
|
|
|
159
161
|
--surf-streaming-phase-bg: #f0fafb;
|
|
160
162
|
--surf-streaming-phase-text: #0099a8;
|
|
161
163
|
--surf-streaming-phase-icon: #0099a8;
|
|
164
|
+
}
|
|
162
165
|
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
@layer surf.tokens {
|
|
2
|
+
[data-color-mode="light"] {
|
|
3
|
+
--surf-color-teal-50: #f0fafb;
|
|
4
|
+
--surf-color-teal-100: #e0f5f7;
|
|
5
|
+
--surf-color-teal-300: #66c2cc;
|
|
6
|
+
--surf-color-teal-500: #0099a8;
|
|
7
|
+
--surf-color-teal-600: #007f8c;
|
|
8
|
+
--surf-color-teal-700: #006673;
|
|
9
|
+
--surf-color-charcoal-50: #f5f5f5;
|
|
10
|
+
--surf-color-charcoal-100: #e8e8e8;
|
|
11
|
+
--surf-color-charcoal-300: #b0b0b0;
|
|
12
|
+
--surf-color-charcoal-500: #787878;
|
|
13
|
+
--surf-color-charcoal-700: #5a5a5a;
|
|
14
|
+
--surf-color-charcoal-900: #3c3c3c;
|
|
15
|
+
--surf-color-watermelon-100: #fde8ef;
|
|
16
|
+
--surf-color-watermelon-500: #e8175d;
|
|
17
|
+
--surf-color-watermelon-700: #b8124a;
|
|
18
|
+
--surf-color-lime-100: #f0f8e0;
|
|
19
|
+
--surf-color-lime-500: #8dc21f;
|
|
20
|
+
--surf-color-lime-700: #6b9317;
|
|
21
|
+
--surf-color-golden-100: #fef5e0;
|
|
22
|
+
--surf-color-golden-500: #f8b800;
|
|
23
|
+
--surf-color-golden-700: #c69300;
|
|
24
|
+
--surf-color-sky-500: #5bc8f5;
|
|
25
|
+
--surf-color-magenta-500: #9e1f82;
|
|
26
|
+
--surf-color-cyan-500: #00b2aa;
|
|
27
|
+
--surf-color-hotpink-500: #f0197c;
|
|
28
|
+
--surf-color-orangered-500: #f05a22;
|
|
29
|
+
--surf-color-purple-500: #3b1283;
|
|
30
|
+
--surf-color-neutral-50: #fafafa;
|
|
31
|
+
--surf-color-neutral-100: #f5f5f5;
|
|
32
|
+
--surf-color-neutral-200: #e8e8e8;
|
|
33
|
+
--surf-color-neutral-300: #d4d4d4;
|
|
34
|
+
--surf-color-neutral-600: #6b6b6b;
|
|
35
|
+
--surf-color-neutral-800: #454545;
|
|
36
|
+
--surf-color-neutral-900: #3c3c3c;
|
|
37
|
+
--surf-color-white: #ffffff;
|
|
38
|
+
--surf-color-brand-dark: #041f26;
|
|
39
|
+
--surf-color-brand-dark-panel: #0a3642;
|
|
40
|
+
--surf-color-brand-blue: #0091a5;
|
|
41
|
+
--surf-color-brand-cyan: #38bdd0;
|
|
42
|
+
--surf-color-brand-gold: #e1b989;
|
|
43
|
+
--surf-color-brand-gold-light: #f3d79c;
|
|
44
|
+
--surf-color-brand-cream: #f1f0e3;
|
|
45
|
+
--surf-color-brand-cream-warm: #f0e8b6;
|
|
46
|
+
--surf-color-brand-charcoal: #414142;
|
|
47
|
+
--surf-color-brand-watermelon: #e81152;
|
|
48
|
+
--surf-color-bg-canvas: #f5f5f5;
|
|
49
|
+
--surf-color-bg-surface: #ffffff;
|
|
50
|
+
--surf-color-bg-surface-raised: #ffffff;
|
|
51
|
+
--surf-color-bg-surface-sunken: #e8e8e8;
|
|
52
|
+
--surf-color-text-primary: #3c3c3c;
|
|
53
|
+
--surf-color-text-secondary: #787878;
|
|
54
|
+
--surf-color-text-muted: #b0b0b0;
|
|
55
|
+
--surf-color-text-inverse: #ffffff;
|
|
56
|
+
--surf-color-accent-primary: #0099a8;
|
|
57
|
+
--surf-color-accent-primary-hover: #007f8c;
|
|
58
|
+
--surf-color-accent-primary-active: #006673;
|
|
59
|
+
--surf-color-accent-primary-subtle: #e0f5f7;
|
|
60
|
+
--surf-color-accent-primary-subtlest: #f0fafb;
|
|
61
|
+
--surf-color-border-default: #e8e8e8;
|
|
62
|
+
--surf-color-border-strong: #d4d4d4;
|
|
63
|
+
--surf-color-border-interactive: #0099a8;
|
|
64
|
+
--surf-color-status-success: #8dc21f;
|
|
65
|
+
--surf-color-status-success-subtle: #f0f8e0;
|
|
66
|
+
--surf-color-status-warning: #f8b800;
|
|
67
|
+
--surf-color-status-warning-subtle: #fef5e0;
|
|
68
|
+
--surf-color-status-error: #e8175d;
|
|
69
|
+
--surf-color-status-error-subtle: #fde8ef;
|
|
70
|
+
--surf-color-status-info: #5bc8f5;
|
|
71
|
+
--surf-color-status-info-subtle: rgba(91, 200, 245, 0.15);
|
|
72
|
+
--surf-spacing-1: 4px;
|
|
73
|
+
--surf-spacing-2: 8px;
|
|
74
|
+
--surf-spacing-3: 12px;
|
|
75
|
+
--surf-spacing-4: 16px;
|
|
76
|
+
--surf-spacing-5: 20px;
|
|
77
|
+
--surf-spacing-6: 24px;
|
|
78
|
+
--surf-spacing-7: 28px;
|
|
79
|
+
--surf-spacing-8: 32px;
|
|
80
|
+
--surf-spacing-9: 36px;
|
|
81
|
+
--surf-spacing-10: 40px;
|
|
82
|
+
--surf-spacing-11: 44px;
|
|
83
|
+
--surf-spacing-12: 48px;
|
|
84
|
+
--surf-spacing-13: 52px;
|
|
85
|
+
--surf-spacing-14: 56px;
|
|
86
|
+
--surf-spacing-15: 60px;
|
|
87
|
+
--surf-spacing-16: 64px;
|
|
88
|
+
--surf-font-family-sans: Inter, system-ui, -apple-system, sans-serif;
|
|
89
|
+
--surf-font-family-mono: 'JetBrains Mono', 'Fira Code', monospace;
|
|
90
|
+
--surf-font-family-display: 'Space Grotesk', system-ui, sans-serif;
|
|
91
|
+
--surf-font-size-xs: 12px;
|
|
92
|
+
--surf-font-size-sm: 14px;
|
|
93
|
+
--surf-font-size-base: 16px;
|
|
94
|
+
--surf-font-size-lg: 18px;
|
|
95
|
+
--surf-font-size-xl: 20px;
|
|
96
|
+
--surf-font-size-2xl: 24px;
|
|
97
|
+
--surf-font-size-3xl: 30px;
|
|
98
|
+
--surf-font-size-4xl: 36px;
|
|
99
|
+
--surf-font-weight-normal: 400;
|
|
100
|
+
--surf-font-weight-medium: 500;
|
|
101
|
+
--surf-font-weight-semibold: 600;
|
|
102
|
+
--surf-font-weight-bold: 700;
|
|
103
|
+
--surf-font-line-height-tight: 1.25rem;
|
|
104
|
+
--surf-font-line-height-normal: 1.5rem;
|
|
105
|
+
--surf-font-line-height-relaxed: 1.75rem;
|
|
106
|
+
--surf-radius-sm: 4px;
|
|
107
|
+
--surf-radius-md: 8px;
|
|
108
|
+
--surf-radius-lg: 12px;
|
|
109
|
+
--surf-radius-xl: 16px;
|
|
110
|
+
--surf-radius-full: 9999px;
|
|
111
|
+
--surf-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
112
|
+
--surf-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
|
|
113
|
+
--surf-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
114
|
+
--surf-duration-instant: 100ms;
|
|
115
|
+
--surf-duration-fast: 200ms;
|
|
116
|
+
--surf-duration-normal: 300ms;
|
|
117
|
+
--surf-duration-slow: 500ms;
|
|
118
|
+
--surf-duration-streaming: 50ms;
|
|
119
|
+
--surf-easing-default: cubic-bezier(0.4, 0, 0.2, 1);
|
|
120
|
+
--surf-easing-in: cubic-bezier(0.4, 0, 1, 1);
|
|
121
|
+
--surf-easing-out: cubic-bezier(0, 0, 0.2, 1);
|
|
122
|
+
--surf-easing-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
123
|
+
--surf-button-bg-primary: #0099a8;
|
|
124
|
+
--surf-button-bg-primary-hover: #007f8c;
|
|
125
|
+
--surf-button-text-primary: #ffffff;
|
|
126
|
+
--surf-button-radius: 8px;
|
|
127
|
+
--surf-input-border: #e8e8e8;
|
|
128
|
+
--surf-input-border-focus: #0099a8;
|
|
129
|
+
--surf-input-bg: #ffffff;
|
|
130
|
+
--surf-confidence-high-bg: #f0f8e0;
|
|
131
|
+
--surf-confidence-high-text: #6b9317;
|
|
132
|
+
--surf-confidence-high-border: #8dc21f;
|
|
133
|
+
--surf-confidence-medium-bg: #fef5e0;
|
|
134
|
+
--surf-confidence-medium-text: #c69300;
|
|
135
|
+
--surf-confidence-medium-border: #f8b800;
|
|
136
|
+
--surf-confidence-low-bg: #fde8ef;
|
|
137
|
+
--surf-confidence-low-text: #b8124a;
|
|
138
|
+
--surf-confidence-low-border: #e8175d;
|
|
139
|
+
--surf-verification-passed-icon: #8dc21f;
|
|
140
|
+
--surf-verification-passed-bg: #f0f8e0;
|
|
141
|
+
--surf-verification-flagged-icon: #f8b800;
|
|
142
|
+
--surf-verification-flagged-bg: #fef5e0;
|
|
143
|
+
--surf-verification-failed-icon: #e8175d;
|
|
144
|
+
--surf-verification-failed-bg: #fde8ef;
|
|
145
|
+
--surf-source-card-bg: #ffffff;
|
|
146
|
+
--surf-source-card-border: #e8e8e8;
|
|
147
|
+
--surf-source-card-border-hover: #d4d4d4;
|
|
148
|
+
--surf-agent-coordinator-accent: #0099a8;
|
|
149
|
+
--surf-agent-hr-accent: #e8175d;
|
|
150
|
+
--surf-agent-it-accent: #5bc8f5;
|
|
151
|
+
--surf-agent-governance-accent: #3b1283;
|
|
152
|
+
--surf-agent-finance-accent: #f8b800;
|
|
153
|
+
--surf-agent-facilities-accent: #8dc21f;
|
|
154
|
+
--surf-agent-general-accent: #787878;
|
|
155
|
+
--surf-message-user-bg: #0099a8;
|
|
156
|
+
--surf-message-user-text: #ffffff;
|
|
157
|
+
--surf-message-assistant-bg: #ffffff;
|
|
158
|
+
--surf-message-assistant-text: #3c3c3c;
|
|
159
|
+
--surf-message-assistant-border: #e8e8e8;
|
|
160
|
+
--surf-streaming-cursor-color: #0099a8;
|
|
161
|
+
--surf-streaming-phase-bg: #f0fafb;
|
|
162
|
+
--surf-streaming-phase-text: #0099a8;
|
|
163
|
+
--surf-streaming-phase-icon: #0099a8;
|
|
164
|
+
}
|
|
165
|
+
}
|
package/dist/css/variables.css
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
@layer surf.tokens {
|
|
6
|
+
:root {
|
|
6
7
|
--surf-color-teal-50: #f0fafb;
|
|
7
8
|
--surf-color-teal-100: #e0f5f7;
|
|
8
9
|
--surf-color-teal-300: #66c2cc;
|
|
@@ -51,6 +52,7 @@
|
|
|
51
52
|
--surf-color-bg-surface: #ffffff;
|
|
52
53
|
--surf-color-bg-surface-raised: #ffffff;
|
|
53
54
|
--surf-color-text-inverse: #ffffff;
|
|
55
|
+
--surf-color-status-info-subtle: rgba(91, 200, 245, 0.15);
|
|
54
56
|
--surf-spacing-1: 4px;
|
|
55
57
|
--surf-spacing-2: 8px;
|
|
56
58
|
--surf-spacing-3: 12px;
|
|
@@ -163,4 +165,5 @@
|
|
|
163
165
|
--surf-streaming-phase-bg: var(--surf-color-accent-primary-subtlest);
|
|
164
166
|
--surf-streaming-phase-text: var(--surf-color-accent-primary);
|
|
165
167
|
--surf-streaming-phase-icon: var(--surf-color-accent-primary);
|
|
168
|
+
}
|
|
166
169
|
}
|
package/dist/json/tokens.json
CHANGED
package/dist/ts/tokens.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ export const ColorStatusWarningSubtle: string;
|
|
|
70
70
|
export const ColorStatusError: string;
|
|
71
71
|
export const ColorStatusErrorSubtle: string;
|
|
72
72
|
export const ColorStatusInfo: string;
|
|
73
|
+
export const ColorStatusInfoSubtle: string;
|
|
73
74
|
export const Spacing1: string;
|
|
74
75
|
export const Spacing2: string;
|
|
75
76
|
export const Spacing3: string;
|
package/dist/ts/tokens.js
CHANGED
|
@@ -1262,6 +1262,24 @@ export default {
|
|
|
1262
1262
|
},
|
|
1263
1263
|
path: ["color", "status", "info"],
|
|
1264
1264
|
},
|
|
1265
|
+
"info-subtle": {
|
|
1266
|
+
$value: "#5bc8f526",
|
|
1267
|
+
filePath:
|
|
1268
|
+
"/home/runner/work/surf-kit/surf-kit/packages/tokens/src/semantic/light.json",
|
|
1269
|
+
isSource: true,
|
|
1270
|
+
$type: "color",
|
|
1271
|
+
original: {
|
|
1272
|
+
$value: "rgba(91,200,245,0.15)",
|
|
1273
|
+
$type: "color",
|
|
1274
|
+
},
|
|
1275
|
+
name: "ColorStatusInfoSubtle",
|
|
1276
|
+
attributes: {
|
|
1277
|
+
category: "color",
|
|
1278
|
+
type: "status",
|
|
1279
|
+
item: "info-subtle",
|
|
1280
|
+
},
|
|
1281
|
+
path: ["color", "status", "info-subtle"],
|
|
1282
|
+
},
|
|
1265
1283
|
},
|
|
1266
1284
|
},
|
|
1267
1285
|
spacing: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@surf-kit/tokens",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Design tokens for surf-kit — colors, spacing, typography as CSS, JSON, and TypeScript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-tokens",
|
|
@@ -19,9 +19,13 @@
|
|
|
19
19
|
"types": "dist/ts/tokens.d.ts",
|
|
20
20
|
"exports": {
|
|
21
21
|
"./css": "./dist/css/variables.css",
|
|
22
|
+
"./css/light": "./dist/css/variables-light.css",
|
|
22
23
|
"./css/dark": "./dist/css/variables-dark.css",
|
|
23
24
|
"./css/brand": "./dist/css/variables-brand.css",
|
|
24
|
-
"./ts":
|
|
25
|
+
"./ts": {
|
|
26
|
+
"types": "./dist/ts/tokens.d.ts",
|
|
27
|
+
"default": "./dist/ts/tokens.js"
|
|
28
|
+
},
|
|
25
29
|
"./json": "./dist/json/tokens.json",
|
|
26
30
|
".": "./dist/ts/tokens.js"
|
|
27
31
|
},
|