@telegraph/tokens 0.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/README.md +1 -0
- package/dist/dark.css +1 -0
- package/dist/default.css +1 -0
- package/dist/index.d.ts +789 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +25 -0
- package/dist/light.css +1 -0
- package/dist/semantic/color.d.ts +274 -0
- package/dist/semantic/color.d.ts.map +1 -0
- package/dist/semantic/color.js +128 -0
- package/dist/semantic/rounded.d.ts +4 -0
- package/dist/semantic/rounded.d.ts.map +1 -0
- package/dist/semantic/rounded.js +7 -0
- package/dist/semantic/spacing.d.ts +20 -0
- package/dist/semantic/spacing.d.ts.map +1 -0
- package/dist/semantic/spacing.js +23 -0
- package/dist/semantic.css +1 -0
- package/dist/tokens/color.d.ts +390 -0
- package/dist/tokens/color.d.ts.map +1 -0
- package/dist/tokens/color.js +140 -0
- package/dist/tokens/font.d.ts +49 -0
- package/dist/tokens/font.d.ts.map +1 -0
- package/dist/tokens/font.js +52 -0
- package/dist/tokens/rounded.d.ts +11 -0
- package/dist/tokens/rounded.d.ts.map +1 -0
- package/dist/tokens/rounded.js +13 -0
- package/dist/tokens/shadow.d.ts +8 -0
- package/dist/tokens/shadow.d.ts.map +1 -0
- package/dist/tokens/shadow.js +10 -0
- package/dist/tokens/spacing.d.ts +34 -0
- package/dist/tokens/spacing.d.ts.map +1 -0
- package/dist/tokens/spacing.js +36 -0
- package/package.json +46 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAahB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tgph = void 0;
|
|
4
|
+
const color_1 = require("./semantic/color");
|
|
5
|
+
const rounded_1 = require("./semantic/rounded");
|
|
6
|
+
const spacing_1 = require("./semantic/spacing");
|
|
7
|
+
const color_2 = require("./tokens/color");
|
|
8
|
+
const font_1 = require("./tokens/font");
|
|
9
|
+
const rounded_2 = require("./tokens/rounded");
|
|
10
|
+
const shadow_1 = require("./tokens/shadow");
|
|
11
|
+
const spacing_2 = require("./tokens/spacing");
|
|
12
|
+
exports.tgph = {
|
|
13
|
+
tokens: {
|
|
14
|
+
color: color_2.color,
|
|
15
|
+
font: font_1.font,
|
|
16
|
+
rounded: rounded_2.rounded,
|
|
17
|
+
shadow: shadow_1.shadow,
|
|
18
|
+
spacing: spacing_2.spacing,
|
|
19
|
+
},
|
|
20
|
+
semantic: {
|
|
21
|
+
color: color_1.semanticColor,
|
|
22
|
+
spacing: spacing_1.semanticSpacing,
|
|
23
|
+
rounded: rounded_1.semanticRounded,
|
|
24
|
+
},
|
|
25
|
+
};
|
package/dist/light.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--tgph-surface:#fff;--tgph-gray-1:#fcfcfd;--tgph-gray-2:#f9f9fb;--tgph-gray-3:#f0f0f3;--tgph-gray-4:#e8e8ec;--tgph-gray-5:#e0e1e6;--tgph-gray-6:#d9d9e0;--tgph-gray-7:#cdced6;--tgph-gray-8:#b9bbc6;--tgph-gray-9:#8b8d98;--tgph-gray-10:#80838d;--tgph-gray-11:#60646c;--tgph-gray-12:#1c2024;--tgph-beige-1:#fdfdfc;--tgph-beige-2:#f9f9f8;--tgph-beige-3:#f1f0ef;--tgph-beige-4:#e9e8e6;--tgph-beige-5:#e2e1de;--tgph-beige-6:#dad9d6;--tgph-beige-7:#cfceca;--tgph-beige-8:#bcbbb5;--tgph-beige-9:#8d8d86;--tgph-beige-10:#82827c;--tgph-beige-11:#63635e;--tgph-beige-12:#21201c;--tgph-accent-1:#fffcfc;--tgph-accent-2:#fff8f7;--tgph-accent-3:#feebe7;--tgph-accent-4:#ffdcd3;--tgph-accent-5:#ffcdc2;--tgph-accent-6:#fdbdaf;--tgph-accent-7:#f5a898;--tgph-accent-8:#ec8e7b;--tgph-accent-9:#e54d2e;--tgph-accent-10:#dd4425;--tgph-accent-11:#d13415;--tgph-accent-12:#5c271f;--tgph-green-1:#fbfefd;--tgph-green-2:#f4fbf7;--tgph-green-3:#e6f7ed;--tgph-green-4:#d6f1e3;--tgph-green-5:#c3e9d7;--tgph-green-6:#acdec8;--tgph-green-7:#8bceb6;--tgph-green-8:#56ba9f;--tgph-green-9:#29a383;--tgph-green-10:#26997b;--tgph-green-11:#208368;--tgph-green-12:#1d3b31;--tgph-yellow-1:#fbfefd;--tgph-yellow-2:#f4fbf7;--tgph-yellow-3:#e6f7ed;--tgph-yellow-4:#d6f1e3;--tgph-yellow-5:#c3e9d7;--tgph-yellow-6:#acdec8;--tgph-yellow-7:#8bceb6;--tgph-yellow-8:#56ba9f;--tgph-yellow-9:#29a383;--tgph-yellow-10:#26997b;--tgph-yellow-11:#208368;--tgph-yellow-12:#1d3b31;--tgph-blue-1:#fdfdfe;--tgph-blue-2:#f7f9ff;--tgph-blue-3:#edf2fe;--tgph-blue-4:#e1e9ff;--tgph-blue-5:#d2deff;--tgph-blue-6:#c1d0ff;--tgph-blue-7:#abbdf9;--tgph-blue-8:#8da4ef;--tgph-blue-9:#3e63dd;--tgph-blue-10:#3358d4;--tgph-blue-11:#3a5bc7;--tgph-blue-12:#1f2d5c;--tgph-red-1:#fffcfd;--tgph-red-2:#fff7f8;--tgph-red-3:#feeaed;--tgph-red-4:#ffdce1;--tgph-red-5:#ffced6;--tgph-red-6:#f8bfc8;--tgph-red-7:#efacb8;--tgph-red-8:#e592a3;--tgph-red-9:#e54666;--tgph-red-10:#dc3b5d;--tgph-red-11:#ca244d;--tgph-red-12:#64172b;--tgph-transparent:transparent;--tgph-white:#fff;--tgph-black:#000;--tgph-alpha-white-1:#ffffff0d;--tgph-alpha-white-2:#ffffff1a;--tgph-alpha-white-3:#ffffff26;--tgph-alpha-white-4:#fff3;--tgph-alpha-white-5:#ffffff4d;--tgph-alpha-white-6:#fff6;--tgph-alpha-white-7:#ffffff80;--tgph-alpha-white-8:#fff9;--tgph-alpha-white-9:#ffffffb3;--tgph-alpha-white-10:#fffc;--tgph-alpha-white-11:#ffffffe6;--tgph-alpha-white-12:#fffffff2;--tgph-alpha-black-1:#0000000d;--tgph-alpha-black-2:#0000001a;--tgph-alpha-black-3:#00000026;--tgph-alpha-black-4:#0003;--tgph-alpha-black-5:#0000004d;--tgph-alpha-black-6:#0006;--tgph-alpha-black-7:#00000080;--tgph-alpha-black-8:#0009;--tgph-alpha-black-9:#000000b3;--tgph-alpha-black-10:#000c;--tgph-alpha-black-11:#000000e6;--tgph-alpha-black-12:#000000f2;--tgph-font-family-sans:Inter,sans-serif;--tgph-font-family-mono:Menlo,serif;--tgph-font-body-family:Inter,sans-serif;--tgph-font-body-size-0:.6875rem;--tgph-font-body-size-1:.75rem;--tgph-font-body-size-2:.875rem;--tgph-font-body-size-3:1rem;--tgph-font-body-size-4:1.125rem;--tgph-font-body-size-5:1.25rem;--tgph-font-body-size-6:1.5rem;--tgph-font-body-size-7:1.875rem;--tgph-font-body-size-8:2.25rem;--tgph-font-body-size-9:3rem;--tgph-font-body-leading-0:1rem;--tgph-font-body-leading-1:1rem;--tgph-font-body-leading-2:1.25rem;--tgph-font-body-leading-3:1.5rem;--tgph-font-body-leading-4:1.125rem;--tgph-font-body-leading-5:1.25rem;--tgph-font-body-leading-6:1.5rem;--tgph-font-body-leading-7:1.875rem;--tgph-font-body-leading-8:2.25rem;--tgph-font-body-leading-9:3rem;--tgph-font-body-tracking-0:0.25%;--tgph-font-body-tracking-1:0.25%;--tgph-font-body-tracking-2:0;--tgph-font-body-tracking-3:0;--tgph-font-body-tracking-4:-0.25%;--tgph-font-body-tracking-5:-0.5%;--tgph-font-body-tracking-6:-0.625%;--tgph-font-body-tracking-7:-0.75%;--tgph-font-body-tracking-8:-1%;--tgph-font-body-tracking-9:-2.5%;--tgph-font-code-family:Menlo,serif;--tgph-rounded-0:0px;--tgph-rounded-1:.125rem;--tgph-rounded-2:.25rem;--tgph-rounded-3:.375rem;--tgph-rounded-4:.5rem;--tgph-rounded-5:.75rem;--tgph-rounded-6:1rem;--tgph-rounded-full:9999px;--tgph-shadow-0:0 0 #000;--tgph-shadow-1:0px 0px 1px 0px rgba(28, 32, 36, 0.06),0px 1px 1px 0px rgba(28, 32, 36, 0.05), 0px 3px 2px 0px rgba(28, 32, 36, 0.03), 0px 5px 2px 0px rgba(28, 32, 36, 0.01);--tgph-shadow-2:0px 1px 2px 0px rgba(28, 32, 36, 0.06),0px 4px 4px 0px rgba(28, 32, 36, 0.05),0px 9px 6px 0px rgba(28, 32, 36, 0.03),0px 16px 7px 0px rgba(28, 32, 36, 0.01);--tgph-shadow-3:0px 2px 4px 0px rgba(28, 32, 36, 0.06),0px 7px 7px 0px rgba(28, 32, 36, 0.05),0px 16px 10px 0px rgba(28, 32, 36, 0.03),0px 29px 12px 0px rgba(28, 32, 36, 0.01);--tgph-shadow-inner:inset 0px 0px 1px 0px rgba(28, 32, 36, 0.06),inset 0px 1px 1px 0px rgba(28, 32, 36, 0.05), inset 0px 3px 2px 0px rgba(28, 32, 36, 0.03),inset 0px 5px 2px 0px rgba(28, 32, 36, 0.01);--tgph-spacing-0:0px;--tgph-spacing-1:.25rem;--tgph-spacing-2:.5rem;--tgph-spacing-3:.75rem;--tgph-spacing-4:1rem;--tgph-spacing-5:1.25rem;--tgph-spacing-6:1.5rem;--tgph-spacing-7:1.75rem;--tgph-spacing-8:2rem;--tgph-spacing-9:2.25rem;--tgph-spacing-10:2.5rem;--tgph-spacing-11:2.75rem;--tgph-spacing-12:3rem;--tgph-spacing-14:3.5rem;--tgph-spacing-16:4rem;--tgph-spacing-20:5rem;--tgph-spacing-24:6rem;--tgph-spacing-28:7rem;--tgph-spacing-32:8rem;--tgph-spacing-36:9rem;--tgph-spacing-40:10rem;--tgph-spacing-44:11rem;--tgph-spacing-48:12rem;--tgph-spacing-52:13rem;--tgph-spacing-56:14rem;--tgph-spacing-60:15rem;--tgph-spacing-64:16rem;--tgph-spacing-72:18rem;--tgph-spacing-80:20rem;--tgph-spacing-96:24rem;--tgph-spacing-px:1px}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
export declare const semanticColor: {
|
|
2
|
+
text: {
|
|
3
|
+
primary: {
|
|
4
|
+
black: string | undefined;
|
|
5
|
+
white: string | undefined;
|
|
6
|
+
gray: {
|
|
7
|
+
light: string;
|
|
8
|
+
dark: string;
|
|
9
|
+
};
|
|
10
|
+
beige: {
|
|
11
|
+
light: string;
|
|
12
|
+
dark: string;
|
|
13
|
+
};
|
|
14
|
+
accent: {
|
|
15
|
+
light: string;
|
|
16
|
+
dark: string;
|
|
17
|
+
};
|
|
18
|
+
green: {
|
|
19
|
+
light: string;
|
|
20
|
+
dark: string;
|
|
21
|
+
};
|
|
22
|
+
yellow: {
|
|
23
|
+
light: string;
|
|
24
|
+
dark: string;
|
|
25
|
+
};
|
|
26
|
+
blue: {
|
|
27
|
+
light: string;
|
|
28
|
+
dark: string;
|
|
29
|
+
};
|
|
30
|
+
red: {
|
|
31
|
+
light: string;
|
|
32
|
+
dark: string;
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
light: string;
|
|
36
|
+
dark: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
secondary: {
|
|
40
|
+
black: string | undefined;
|
|
41
|
+
white: string | undefined;
|
|
42
|
+
gray: {
|
|
43
|
+
light: string;
|
|
44
|
+
dark: string;
|
|
45
|
+
};
|
|
46
|
+
beige: {
|
|
47
|
+
light: string;
|
|
48
|
+
dark: string;
|
|
49
|
+
};
|
|
50
|
+
accent: {
|
|
51
|
+
light: string;
|
|
52
|
+
dark: string;
|
|
53
|
+
};
|
|
54
|
+
green: {
|
|
55
|
+
light: string;
|
|
56
|
+
dark: string;
|
|
57
|
+
};
|
|
58
|
+
yellow: {
|
|
59
|
+
light: string;
|
|
60
|
+
dark: string;
|
|
61
|
+
};
|
|
62
|
+
blue: {
|
|
63
|
+
light: string;
|
|
64
|
+
dark: string;
|
|
65
|
+
};
|
|
66
|
+
red: {
|
|
67
|
+
light: string;
|
|
68
|
+
dark: string;
|
|
69
|
+
};
|
|
70
|
+
disabled: {
|
|
71
|
+
light: string;
|
|
72
|
+
dark: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
button: {
|
|
77
|
+
solid: {
|
|
78
|
+
background: {
|
|
79
|
+
accent: {
|
|
80
|
+
default: {
|
|
81
|
+
light: string;
|
|
82
|
+
dark: string;
|
|
83
|
+
};
|
|
84
|
+
hover: {
|
|
85
|
+
light: string;
|
|
86
|
+
dark: string;
|
|
87
|
+
};
|
|
88
|
+
focus: {
|
|
89
|
+
light: string;
|
|
90
|
+
dark: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
disabled: {
|
|
94
|
+
default: {
|
|
95
|
+
light: string;
|
|
96
|
+
dark: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
text: {
|
|
101
|
+
accent: string;
|
|
102
|
+
disabled: {
|
|
103
|
+
light: string;
|
|
104
|
+
dark: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
stroke: {
|
|
108
|
+
accent: string;
|
|
109
|
+
disabled: {
|
|
110
|
+
light: string;
|
|
111
|
+
dark: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
ghost: {
|
|
116
|
+
background: {
|
|
117
|
+
accent: {
|
|
118
|
+
default: string;
|
|
119
|
+
hover: {
|
|
120
|
+
light: string;
|
|
121
|
+
dark: string;
|
|
122
|
+
};
|
|
123
|
+
focus: {
|
|
124
|
+
light: string;
|
|
125
|
+
dark: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
gray: {
|
|
129
|
+
default: string;
|
|
130
|
+
hover: {
|
|
131
|
+
light: string;
|
|
132
|
+
dark: string;
|
|
133
|
+
};
|
|
134
|
+
focus: {
|
|
135
|
+
light: string;
|
|
136
|
+
dark: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
red: {
|
|
140
|
+
default: string;
|
|
141
|
+
hover: {
|
|
142
|
+
light: string;
|
|
143
|
+
dark: string;
|
|
144
|
+
};
|
|
145
|
+
focus: {
|
|
146
|
+
light: string;
|
|
147
|
+
dark: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
disabled: {
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
text: {
|
|
155
|
+
accent: {
|
|
156
|
+
light: string;
|
|
157
|
+
dark: string;
|
|
158
|
+
};
|
|
159
|
+
gray: {
|
|
160
|
+
light: string;
|
|
161
|
+
dark: string;
|
|
162
|
+
};
|
|
163
|
+
red: {
|
|
164
|
+
light: string;
|
|
165
|
+
dark: string;
|
|
166
|
+
};
|
|
167
|
+
disabled: {
|
|
168
|
+
light: string;
|
|
169
|
+
dark: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
icon: {
|
|
173
|
+
accent: {
|
|
174
|
+
light: string;
|
|
175
|
+
dark: string;
|
|
176
|
+
};
|
|
177
|
+
gray: {
|
|
178
|
+
light: string;
|
|
179
|
+
dark: string;
|
|
180
|
+
};
|
|
181
|
+
red: {
|
|
182
|
+
light: string;
|
|
183
|
+
dark: string;
|
|
184
|
+
};
|
|
185
|
+
disabled: {
|
|
186
|
+
light: string;
|
|
187
|
+
dark: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
soft: {
|
|
192
|
+
background: {
|
|
193
|
+
red: {
|
|
194
|
+
active: {
|
|
195
|
+
light: string;
|
|
196
|
+
dark: string;
|
|
197
|
+
};
|
|
198
|
+
hover: {
|
|
199
|
+
light: string;
|
|
200
|
+
dark: string;
|
|
201
|
+
};
|
|
202
|
+
focus: {
|
|
203
|
+
light: string;
|
|
204
|
+
dark: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
disabled: {
|
|
208
|
+
light: string;
|
|
209
|
+
dark: string;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
text: {
|
|
213
|
+
red: string;
|
|
214
|
+
disabled: {
|
|
215
|
+
light: string;
|
|
216
|
+
dark: string;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
icon: {
|
|
220
|
+
red: string;
|
|
221
|
+
disabled: {
|
|
222
|
+
light: string;
|
|
223
|
+
dark: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
outlined: {
|
|
228
|
+
background: {
|
|
229
|
+
gray: string;
|
|
230
|
+
disabled: {
|
|
231
|
+
light: string;
|
|
232
|
+
dark: string;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
border: {
|
|
236
|
+
gray: {
|
|
237
|
+
active: {
|
|
238
|
+
light: string;
|
|
239
|
+
dark: string;
|
|
240
|
+
};
|
|
241
|
+
hover: {
|
|
242
|
+
light: string;
|
|
243
|
+
dark: string;
|
|
244
|
+
};
|
|
245
|
+
focus: {
|
|
246
|
+
light: string;
|
|
247
|
+
dark: string;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
text: {
|
|
252
|
+
gray: {
|
|
253
|
+
light: string;
|
|
254
|
+
dark: string;
|
|
255
|
+
};
|
|
256
|
+
disabled: {
|
|
257
|
+
light: string;
|
|
258
|
+
dark: string;
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
icon: {
|
|
262
|
+
gray: {
|
|
263
|
+
light: string;
|
|
264
|
+
dark: string;
|
|
265
|
+
};
|
|
266
|
+
disabled: {
|
|
267
|
+
light: string;
|
|
268
|
+
dark: string;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
//# sourceMappingURL=color.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/semantic/color.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4HzB,CAAC"}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.semanticColor = void 0;
|
|
4
|
+
const color_1 = require("../tokens/color");
|
|
5
|
+
exports.semanticColor = {
|
|
6
|
+
text: {
|
|
7
|
+
primary: {
|
|
8
|
+
black: color_1.color.black[12],
|
|
9
|
+
white: color_1.color.white[12],
|
|
10
|
+
gray: color_1.color.gray[12],
|
|
11
|
+
beige: color_1.color.beige[12],
|
|
12
|
+
accent: color_1.color.accent[12],
|
|
13
|
+
green: color_1.color.green[12],
|
|
14
|
+
yellow: color_1.color.yellow[12],
|
|
15
|
+
blue: color_1.color.blue[12],
|
|
16
|
+
red: color_1.color.red[12],
|
|
17
|
+
disabled: color_1.color.gray[8],
|
|
18
|
+
},
|
|
19
|
+
secondary: {
|
|
20
|
+
black: color_1.color.black[11],
|
|
21
|
+
white: color_1.color.white[11],
|
|
22
|
+
gray: color_1.color.gray[11],
|
|
23
|
+
beige: color_1.color.beige[11],
|
|
24
|
+
accent: color_1.color.accent[11],
|
|
25
|
+
green: color_1.color.green[11],
|
|
26
|
+
yellow: color_1.color.yellow[11],
|
|
27
|
+
blue: color_1.color.blue[11],
|
|
28
|
+
red: color_1.color.red[11],
|
|
29
|
+
disabled: color_1.color.gray[8],
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
// color.button.solid.background.accent.focus
|
|
33
|
+
button: {
|
|
34
|
+
solid: {
|
|
35
|
+
background: {
|
|
36
|
+
accent: {
|
|
37
|
+
default: color_1.color.accent[9],
|
|
38
|
+
hover: color_1.color.accent[10],
|
|
39
|
+
focus: color_1.color.accent[11],
|
|
40
|
+
},
|
|
41
|
+
disabled: {
|
|
42
|
+
default: color_1.color.gray[2],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
text: {
|
|
46
|
+
accent: color_1.color.white,
|
|
47
|
+
disabled: color_1.color.gray[8],
|
|
48
|
+
},
|
|
49
|
+
stroke: {
|
|
50
|
+
accent: color_1.color.white,
|
|
51
|
+
disabled: color_1.color.gray[8],
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
ghost: {
|
|
55
|
+
background: {
|
|
56
|
+
accent: {
|
|
57
|
+
default: color_1.color.transparent,
|
|
58
|
+
hover: color_1.color.accent[3],
|
|
59
|
+
focus: color_1.color.accent[4],
|
|
60
|
+
},
|
|
61
|
+
gray: {
|
|
62
|
+
default: color_1.color.transparent,
|
|
63
|
+
hover: color_1.color.gray[3],
|
|
64
|
+
focus: color_1.color.gray[4],
|
|
65
|
+
},
|
|
66
|
+
red: {
|
|
67
|
+
default: color_1.color.transparent,
|
|
68
|
+
hover: color_1.color.red[3],
|
|
69
|
+
focus: color_1.color.red[4],
|
|
70
|
+
},
|
|
71
|
+
disabled: {
|
|
72
|
+
default: color_1.color.transparent,
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
text: {
|
|
76
|
+
accent: color_1.color.accent[11],
|
|
77
|
+
gray: color_1.color.gray[11],
|
|
78
|
+
red: color_1.color.red[11],
|
|
79
|
+
disabled: color_1.color.gray[8],
|
|
80
|
+
},
|
|
81
|
+
icon: {
|
|
82
|
+
accent: color_1.color.accent[11],
|
|
83
|
+
gray: color_1.color.gray[11],
|
|
84
|
+
red: color_1.color.red[11],
|
|
85
|
+
disabled: color_1.color.gray[8],
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
soft: {
|
|
89
|
+
background: {
|
|
90
|
+
red: {
|
|
91
|
+
active: color_1.color.red[3],
|
|
92
|
+
hover: color_1.color.red[4],
|
|
93
|
+
focus: color_1.color.red[5],
|
|
94
|
+
},
|
|
95
|
+
disabled: color_1.color.gray[2],
|
|
96
|
+
},
|
|
97
|
+
text: {
|
|
98
|
+
red: color_1.color.white,
|
|
99
|
+
disabled: color_1.color.gray[8],
|
|
100
|
+
},
|
|
101
|
+
icon: {
|
|
102
|
+
red: color_1.color.white,
|
|
103
|
+
disabled: color_1.color.gray[8],
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
outlined: {
|
|
107
|
+
background: {
|
|
108
|
+
gray: color_1.color.transparent,
|
|
109
|
+
disabled: color_1.color.gray[2],
|
|
110
|
+
},
|
|
111
|
+
border: {
|
|
112
|
+
gray: {
|
|
113
|
+
active: color_1.color.gray[6],
|
|
114
|
+
hover: color_1.color.gray[7],
|
|
115
|
+
focus: color_1.color.gray[8],
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
text: {
|
|
119
|
+
gray: color_1.color.gray[12],
|
|
120
|
+
disabled: color_1.color.gray[8],
|
|
121
|
+
},
|
|
122
|
+
icon: {
|
|
123
|
+
gray: color_1.color.gray[12],
|
|
124
|
+
disabled: color_1.color.gray[8],
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rounded.d.ts","sourceRoot":"","sources":["../../src/semantic/rounded.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;CAE3B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const semanticSpacing: {
|
|
2
|
+
button: {
|
|
3
|
+
height: {
|
|
4
|
+
1: string;
|
|
5
|
+
2: string;
|
|
6
|
+
3: string;
|
|
7
|
+
};
|
|
8
|
+
gap: {
|
|
9
|
+
1: string;
|
|
10
|
+
2: string;
|
|
11
|
+
3: string;
|
|
12
|
+
};
|
|
13
|
+
padding: {
|
|
14
|
+
1: string;
|
|
15
|
+
2: string;
|
|
16
|
+
3: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=spacing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../src/semantic/spacing.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;CAkB3B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.semanticSpacing = void 0;
|
|
4
|
+
const spacing_1 = require("../tokens/spacing");
|
|
5
|
+
exports.semanticSpacing = {
|
|
6
|
+
button: {
|
|
7
|
+
height: {
|
|
8
|
+
1: spacing_1.spacing[6],
|
|
9
|
+
2: spacing_1.spacing[8],
|
|
10
|
+
3: spacing_1.spacing[10],
|
|
11
|
+
},
|
|
12
|
+
gap: {
|
|
13
|
+
1: spacing_1.spacing[1],
|
|
14
|
+
2: spacing_1.spacing[2],
|
|
15
|
+
3: spacing_1.spacing[3],
|
|
16
|
+
},
|
|
17
|
+
padding: {
|
|
18
|
+
1: spacing_1.spacing[2],
|
|
19
|
+
2: spacing_1.spacing[3],
|
|
20
|
+
3: spacing_1.spacing[4],
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--tgph-color-text-primary-gray:var(--tgph-gray-12);--tgph-color-text-primary-beige:var(--tgph-beige-12);--tgph-color-text-primary-accent:var(--tgph-accent-12);--tgph-color-text-primary-green:var(--tgph-green-12);--tgph-color-text-primary-yellow:var(--tgph-green-12);--tgph-color-text-primary-blue:var(--tgph-blue-12);--tgph-color-text-primary-red:var(--tgph-red-12);--tgph-color-text-primary-disabled:var(--tgph-gray-8);--tgph-color-text-secondary-gray:var(--tgph-gray-11);--tgph-color-text-secondary-beige:var(--tgph-beige-11);--tgph-color-text-secondary-accent:var(--tgph-accent-11);--tgph-color-text-secondary-green:var(--tgph-green-11);--tgph-color-text-secondary-yellow:var(--tgph-green-11);--tgph-color-text-secondary-blue:var(--tgph-blue-11);--tgph-color-text-secondary-red:var(--tgph-red-11);--tgph-color-text-secondary-disabled:var(--tgph-gray-8);--tgph-color-button-solid-background-accent-default:var(--tgph-accent-9);--tgph-color-button-solid-background-accent-default-dark:var(--tgph-accent-9);--tgph-color-button-solid-background-accent-hover:var(--tgph-accent-10);--tgph-color-button-solid-background-accent-focus:var(--tgph-accent-11);--tgph-color-button-solid-background-disabled-default:var(--tgph-gray-2);--tgph-color-button-solid-text-accent:var(--tgph-white);--tgph-color-button-solid-text-disabled:var(--tgph-gray-8);--tgph-color-button-solid-stroke-accent:var(--tgph-white);--tgph-color-button-solid-stroke-disabled:var(--tgph-gray-8);--tgph-color-button-ghost-background-accent-default:var(--tgph-transparent);--tgph-color-button-ghost-background-accent-hover:var(--tgph-accent-3);--tgph-color-button-ghost-background-accent-focus:var(--tgph-accent-4);--tgph-color-button-ghost-background-gray-default:var(--tgph-transparent);--tgph-color-button-ghost-background-gray-hover:var(--tgph-gray-3);--tgph-color-button-ghost-background-gray-focus:var(--tgph-gray-4);--tgph-color-button-ghost-background-red-default:var(--tgph-transparent);--tgph-color-button-ghost-background-red-hover:var(--tgph-red-3);--tgph-color-button-ghost-background-red-focus:var(--tgph-red-4);--tgph-color-button-ghost-background-disabled-default:var(--tgph-transparent);--tgph-color-button-ghost-text-accent:var(--tgph-accent-11);--tgph-color-button-ghost-text-gray:var(--tgph-gray-11);--tgph-color-button-ghost-text-red:var(--tgph-red-11);--tgph-color-button-ghost-text-disabled:var(--tgph-gray-8);--tgph-color-button-ghost-icon-accent:var(--tgph-accent-11);--tgph-color-button-ghost-icon-gray:var(--tgph-gray-11);--tgph-color-button-ghost-icon-red:var(--tgph-red-11);--tgph-color-button-ghost-icon-disabled:var(--tgph-gray-8);--tgph-color-button-soft-background-red-active:var(--tgph-red-3);--tgph-color-button-soft-background-red-hover:var(--tgph-red-4);--tgph-color-button-soft-background-red-focus:var(--tgph-red-5);--tgph-color-button-soft-background-disabled:var(--tgph-gray-2);--tgph-color-button-soft-text-red:var(--tgph-white);--tgph-color-button-soft-text-disabled:var(--tgph-gray-8);--tgph-color-button-soft-icon-red:var(--tgph-white);--tgph-color-button-soft-icon-disabled:var(--tgph-gray-8);--tgph-color-button-outlined-background-gray:var(--tgph-transparent);--tgph-color-button-outlined-background-disabled:var(--tgph-gray-2);--tgph-color-button-outlined-border-gray-active:var(--tgph-gray-6);--tgph-color-button-outlined-border-gray-hover:var(--tgph-gray-7);--tgph-color-button-outlined-border-gray-focus:var(--tgph-gray-8);--tgph-color-button-outlined-text-gray:var(--tgph-gray-12);--tgph-color-button-outlined-text-disabled:var(--tgph-gray-8);--tgph-color-button-outlined-icon-gray:var(--tgph-gray-12);--tgph-color-button-outlined-icon-disabled:var(--tgph-gray-8);--tgph-spacing-button-height-1:var(--tgph-spacing-6);--tgph-spacing-button-height-2:var(--tgph-spacing-8);--tgph-spacing-button-height-3:var(--tgph-spacing-10);--tgph-spacing-button-gap-1:var(--tgph-spacing-1);--tgph-spacing-button-gap-2:var(--tgph-spacing-2);--tgph-spacing-button-gap-3:var(--tgph-spacing-3);--tgph-spacing-button-padding-1:var(--tgph-spacing-2);--tgph-spacing-button-padding-2:var(--tgph-spacing-3);--tgph-spacing-button-padding-3:var(--tgph-spacing-4);--tgph-rounded-button:var(--tgph-rounded-2)}
|