@aveonline/ui-react 0.0.1-alpha.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 +105 -0
- package/dist/assets/index.53932362.css +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/img/brand-logo-basic.svg +23 -0
- package/dist/img/brand-logo-five.svg +54 -0
- package/dist/img/brand-logo-four.svg +17 -0
- package/dist/img/brand-logo-one.svg +25 -0
- package/dist/img/brand-logo-three.svg +25 -0
- package/dist/img/brand-logo-two.svg +15 -0
- package/dist/img/brand-logo-white.svg +12 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/postcss.config.js +14 -0
- package/dist/reset.css +273 -0
- package/dist/tailwind.config.js +224 -0
- package/dist/tailwind.css +1 -0
- package/dist/tokens.css +147 -0
- package/dist/ui-react.mjs +646 -0
- package/dist/ui-react.umd.js +28 -0
- package/dist/vite-env.d.ts +1 -0
- package/package.json +71 -0
package/dist/reset.css
ADDED
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
Document
|
|
5
|
+
========
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
Use a better box model (opinionated).
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
*,
|
|
13
|
+
::before,
|
|
14
|
+
::after {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
1. Correct the line height in all browsers.
|
|
20
|
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
21
|
+
3. Use a more readable tab size (opinionated).
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
html {
|
|
25
|
+
line-height: 1.15; /* 1 */
|
|
26
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
27
|
+
-moz-tab-size: 4; /* 3 */
|
|
28
|
+
tab-size: 4; /* 3 */
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/*
|
|
32
|
+
Sections
|
|
33
|
+
========
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
1. Remove the margin in all browsers.
|
|
38
|
+
2. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
body {
|
|
42
|
+
margin: 0; /* 1 */
|
|
43
|
+
font-family: system-ui, -apple-system,
|
|
44
|
+
/* Firefox supports this but not yet `system-ui` */ 'Segoe UI', Roboto,
|
|
45
|
+
Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; /* 2 */
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/*
|
|
49
|
+
Grouping content
|
|
50
|
+
================
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
1. Add the correct height in Firefox.
|
|
55
|
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
hr {
|
|
59
|
+
height: 0; /* 1 */
|
|
60
|
+
color: inherit; /* 2 */
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/*
|
|
64
|
+
Text-level semantics
|
|
65
|
+
====================
|
|
66
|
+
*/
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
70
|
+
*/
|
|
71
|
+
|
|
72
|
+
abbr[title] {
|
|
73
|
+
text-decoration: underline dotted;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
Add the correct font weight in Edge and Safari.
|
|
78
|
+
*/
|
|
79
|
+
|
|
80
|
+
b,
|
|
81
|
+
strong {
|
|
82
|
+
font-weight: bolder;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
|
|
87
|
+
2. Correct the odd 'em' font sizing in all browsers.
|
|
88
|
+
*/
|
|
89
|
+
|
|
90
|
+
code,
|
|
91
|
+
kbd,
|
|
92
|
+
samp,
|
|
93
|
+
pre {
|
|
94
|
+
font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo,
|
|
95
|
+
monospace; /* 1 */
|
|
96
|
+
font-size: 1em; /* 2 */
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
Add the correct font size in all browsers.
|
|
101
|
+
*/
|
|
102
|
+
|
|
103
|
+
small {
|
|
104
|
+
font-size: 80%;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
|
|
109
|
+
*/
|
|
110
|
+
|
|
111
|
+
sub,
|
|
112
|
+
sup {
|
|
113
|
+
font-size: 75%;
|
|
114
|
+
line-height: 0;
|
|
115
|
+
position: relative;
|
|
116
|
+
vertical-align: baseline;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
sub {
|
|
120
|
+
bottom: -0.25em;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
sup {
|
|
124
|
+
top: -0.5em;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/*
|
|
128
|
+
Tabular data
|
|
129
|
+
============
|
|
130
|
+
*/
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
134
|
+
2. Correct table border color inheritance in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
table {
|
|
138
|
+
text-indent: 0; /* 1 */
|
|
139
|
+
border-color: inherit; /* 2 */
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/*
|
|
143
|
+
Forms
|
|
144
|
+
=====
|
|
145
|
+
*/
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
1. Change the font styles in all browsers.
|
|
149
|
+
2. Remove the margin in Firefox and Safari.
|
|
150
|
+
*/
|
|
151
|
+
|
|
152
|
+
button,
|
|
153
|
+
input,
|
|
154
|
+
optgroup,
|
|
155
|
+
select,
|
|
156
|
+
textarea {
|
|
157
|
+
font-family: inherit; /* 1 */
|
|
158
|
+
font-size: 100%; /* 1 */
|
|
159
|
+
line-height: 1.15; /* 1 */
|
|
160
|
+
margin: 0; /* 2 */
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
Remove the inheritance of text transform in Edge and Firefox.
|
|
165
|
+
*/
|
|
166
|
+
|
|
167
|
+
button,
|
|
168
|
+
select {
|
|
169
|
+
text-transform: none;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
Correct the inability to style clickable types in iOS and Safari.
|
|
174
|
+
*/
|
|
175
|
+
|
|
176
|
+
button,
|
|
177
|
+
[type='button'],
|
|
178
|
+
[type='reset'],
|
|
179
|
+
[type='submit'] {
|
|
180
|
+
-webkit-appearance: button;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
Remove the inner border and padding in Firefox.
|
|
185
|
+
*/
|
|
186
|
+
|
|
187
|
+
::-moz-focus-inner {
|
|
188
|
+
border-style: none;
|
|
189
|
+
padding: 0;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
Restore the focus styles unset by the previous rule.
|
|
194
|
+
*/
|
|
195
|
+
|
|
196
|
+
:-moz-focusring {
|
|
197
|
+
outline: 1px dotted ButtonText;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
Remove the additional ':invalid' styles in Firefox.
|
|
202
|
+
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
|
|
203
|
+
*/
|
|
204
|
+
|
|
205
|
+
:-moz-ui-invalid {
|
|
206
|
+
box-shadow: none;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
|
|
211
|
+
*/
|
|
212
|
+
|
|
213
|
+
legend {
|
|
214
|
+
padding: 0;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
|
219
|
+
*/
|
|
220
|
+
|
|
221
|
+
progress {
|
|
222
|
+
vertical-align: baseline;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
|
227
|
+
*/
|
|
228
|
+
|
|
229
|
+
::-webkit-inner-spin-button,
|
|
230
|
+
::-webkit-outer-spin-button {
|
|
231
|
+
height: auto;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
1. Correct the odd appearance in Chrome and Safari.
|
|
236
|
+
2. Correct the outline style in Safari.
|
|
237
|
+
*/
|
|
238
|
+
|
|
239
|
+
[type='search'] {
|
|
240
|
+
-webkit-appearance: textfield; /* 1 */
|
|
241
|
+
outline-offset: -2px; /* 2 */
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
|
246
|
+
*/
|
|
247
|
+
|
|
248
|
+
::-webkit-search-decoration {
|
|
249
|
+
-webkit-appearance: none;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
|
254
|
+
2. Change font properties to 'inherit' in Safari.
|
|
255
|
+
*/
|
|
256
|
+
|
|
257
|
+
::-webkit-file-upload-button {
|
|
258
|
+
-webkit-appearance: button; /* 1 */
|
|
259
|
+
font: inherit; /* 2 */
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/*
|
|
263
|
+
Interactive
|
|
264
|
+
===========
|
|
265
|
+
*/
|
|
266
|
+
|
|
267
|
+
/*
|
|
268
|
+
Add the correct display in Chrome and Safari.
|
|
269
|
+
*/
|
|
270
|
+
|
|
271
|
+
summary {
|
|
272
|
+
display: list-item;
|
|
273
|
+
}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
2
|
+
/** @type {import('tailwindcss').Config} */
|
|
3
|
+
const defaultTheme = require('tailwindcss/defaultTheme')
|
|
4
|
+
|
|
5
|
+
module.exports = {
|
|
6
|
+
content: ['./src/**/*.{ts,tsx,vue,js,jsx}'],
|
|
7
|
+
theme: {
|
|
8
|
+
colors: {
|
|
9
|
+
letter: {
|
|
10
|
+
default: 'var(--colors-letter-default)',
|
|
11
|
+
subdued: 'var(--colors-letter-subdued)',
|
|
12
|
+
disabled: 'var(--colors-letter-disabled)',
|
|
13
|
+
warning: 'var(--colors-letter-warning)',
|
|
14
|
+
critical: 'var(--colors-letter-critical)',
|
|
15
|
+
success: 'var(--colors-letter-success)',
|
|
16
|
+
on: 'var(--colors-letter-on)'
|
|
17
|
+
},
|
|
18
|
+
action: {
|
|
19
|
+
primary: {
|
|
20
|
+
default: 'var(--colors-action-primary-default)',
|
|
21
|
+
hovered: 'var(--colors-action-primary-hovered)',
|
|
22
|
+
pressed: 'var(--colors-action-primary-pressed)',
|
|
23
|
+
depressed: 'var(--colors-action-primary-depressed)',
|
|
24
|
+
disabled: 'var(--colors-action-primary-disabled)'
|
|
25
|
+
},
|
|
26
|
+
secondary: {
|
|
27
|
+
default: 'var(--colors-action-secondary-default)',
|
|
28
|
+
hovered: 'var(--colors-action-secondary-hovered)',
|
|
29
|
+
pressed: 'var(--colors-action-secondary-pressed)',
|
|
30
|
+
depressed: 'var(--colors-action-secondary-depressed)',
|
|
31
|
+
disabled: 'var(--colors-action-secondary-disabled)'
|
|
32
|
+
},
|
|
33
|
+
critical: {
|
|
34
|
+
default: 'var(--colors-action-critical-default)',
|
|
35
|
+
hovered: 'var(--colors-action-critical-hovered)',
|
|
36
|
+
pressed: 'var(--colors-action-critical-pressed)',
|
|
37
|
+
depressed: 'var(--colors-action-critical-depressed)',
|
|
38
|
+
disabled: 'var(--colors-action-critical-disabled)'
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
border: {
|
|
42
|
+
default: 'var(--colors-border-default)',
|
|
43
|
+
subdued: 'var(--colors-border-subdued)',
|
|
44
|
+
hovered: 'var(--colors-border-hovered)',
|
|
45
|
+
depressed: 'var(--colors-border-depressed)',
|
|
46
|
+
disabled: 'var(--colors-border-disabled)',
|
|
47
|
+
success: {
|
|
48
|
+
default: 'var(--colors-border-success-default)',
|
|
49
|
+
subdued: 'var(--colors-border-success-subdued)'
|
|
50
|
+
},
|
|
51
|
+
critical: {
|
|
52
|
+
default: 'var(--colors-border-critical-default)',
|
|
53
|
+
subdued: 'var(--colors-border-critical-subdued)',
|
|
54
|
+
disabled: 'var(--colors-border-critical-disabled)'
|
|
55
|
+
},
|
|
56
|
+
shadow: {
|
|
57
|
+
subdued: 'var(--colors-border-shadow-subdued)'
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
interactive: {
|
|
61
|
+
default: 'var(--colors-interactive-default)',
|
|
62
|
+
hovered: 'var(--colors-interactive-hovered)',
|
|
63
|
+
depressed: 'var(--colors-interactive-depressed)',
|
|
64
|
+
disabled: 'var(--colors-interactive-disabled)',
|
|
65
|
+
critical: {
|
|
66
|
+
default: 'var(--colors-interactive-critical-default)',
|
|
67
|
+
hovered: 'var(--colors-interactive-critical-hovered)',
|
|
68
|
+
depressed: 'var(--colors-interactive-critical-depressed)',
|
|
69
|
+
disabled: 'var(--colors-interactive-critical-disabled)'
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
icon: {
|
|
73
|
+
default: 'var(--colors-icon-default)',
|
|
74
|
+
subdued: 'var(--colors-icon-subdued)',
|
|
75
|
+
hovered: 'var(--colors-icon-hovered)',
|
|
76
|
+
pressed: 'var(--colors-icon-pressed)',
|
|
77
|
+
disabled: 'var(--colors-icon-disabled)',
|
|
78
|
+
critical: 'var(--colors-icon-critical)',
|
|
79
|
+
warning: 'var(--colors-icon-warning)',
|
|
80
|
+
success: 'var(--colors-icon-success)',
|
|
81
|
+
on: 'var(--colors-icon-on)'
|
|
82
|
+
},
|
|
83
|
+
focused: {
|
|
84
|
+
default: 'var(--colors-focused-default)'
|
|
85
|
+
},
|
|
86
|
+
surface: {
|
|
87
|
+
default: 'var(--colors-surface-default)',
|
|
88
|
+
subdued: 'var(--colors-surface-subdued)',
|
|
89
|
+
hovered: 'var(--colors-surface-hovered)',
|
|
90
|
+
pressed: 'var(--colors-surface-pressed)',
|
|
91
|
+
depressed: 'var(--colors-surface-depressed)',
|
|
92
|
+
disabled: 'var(--colors-surface-disabled)',
|
|
93
|
+
action: {
|
|
94
|
+
default: 'var(--colors-surface-action-default)',
|
|
95
|
+
subdued: 'var(--colors-surface-action-subdued)',
|
|
96
|
+
hovered: 'var(--colors-surface-action-hovered)',
|
|
97
|
+
pressed: 'var(--colors-surface-action-pressed)',
|
|
98
|
+
disabled: 'var(--colors-surface-action-disabled)'
|
|
99
|
+
},
|
|
100
|
+
warning: {
|
|
101
|
+
default: 'var(--colors-surface-warning-default)',
|
|
102
|
+
subdued: 'var(--colors-surface-warning-subdued)',
|
|
103
|
+
hovered: 'var(--colors-surface-warning-hovered)',
|
|
104
|
+
pressed: 'var(--colors-surface-warning-pressed)'
|
|
105
|
+
},
|
|
106
|
+
success: {
|
|
107
|
+
default: 'var(--colors-surface-success-default)',
|
|
108
|
+
subdued: 'var(--colors-surface-success-subdued)',
|
|
109
|
+
hovered: 'var(--colors-surface-success-hovered)',
|
|
110
|
+
pressed: 'var(--colors-surface-success-pressed)'
|
|
111
|
+
},
|
|
112
|
+
critical: {
|
|
113
|
+
default: 'var(--colors-surface-critical-default)',
|
|
114
|
+
subdued: 'var(--colors-surface-critical-subdued)',
|
|
115
|
+
hovered: 'var(--colors-surface-critical-hovered)',
|
|
116
|
+
pressed: 'var(--colors-surface-critical-pressed)',
|
|
117
|
+
disabled: 'var(--colors-surface-critical-disabled)'
|
|
118
|
+
},
|
|
119
|
+
neutral: {
|
|
120
|
+
default: 'var(--colors-surface-neutral-default)',
|
|
121
|
+
subdued: 'var(--colors-surface-neutral-subdued)',
|
|
122
|
+
hovered: 'var(--colors-surface-neutral-hovered)',
|
|
123
|
+
pressed: 'var(--colors-surface-neutral-pressed)',
|
|
124
|
+
disabled: 'var(--colors-surface-neutral-disabled)'
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
background: {
|
|
128
|
+
default: 'var(--colors-background-default)',
|
|
129
|
+
hovered: 'var(--colors-background-hovered)',
|
|
130
|
+
pressed: 'var(--colors-background-pressed)',
|
|
131
|
+
selected: 'var(--colors-background-selected)'
|
|
132
|
+
},
|
|
133
|
+
radial: {
|
|
134
|
+
10: 'var(--colors-radial-10)',
|
|
135
|
+
20: 'var(--colors-radial-20)',
|
|
136
|
+
30: 'var(--colors-radial-30)',
|
|
137
|
+
40: 'var(--colors-radial-40)',
|
|
138
|
+
50: 'var(--colors-radial-50)',
|
|
139
|
+
60: 'var(--colors-radial-60)',
|
|
140
|
+
70: 'var(--colors-radial-70)',
|
|
141
|
+
80: 'var(--colors-radial-80)',
|
|
142
|
+
90: 'var(--colors-radial-90)',
|
|
143
|
+
100: 'var(--colors-radial-100)'
|
|
144
|
+
},
|
|
145
|
+
base: {
|
|
146
|
+
surface: 'var(--colors-base-surface)',
|
|
147
|
+
primary: 'var(--colors-base-primary)',
|
|
148
|
+
secondary: 'var(--colors-base-secondary)',
|
|
149
|
+
interactive: 'var(--colors-base-interactive)',
|
|
150
|
+
brand: 'var(--colors-base-brand)',
|
|
151
|
+
critical: 'var(--colors-base-critical)',
|
|
152
|
+
warning: 'var(--colors-base-warning)',
|
|
153
|
+
success: 'var(--colors-base-success)'
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
fontSize: {
|
|
157
|
+
xxs: 'var(--font-size-xxs)',
|
|
158
|
+
xs: 'var(--font-size-xs)',
|
|
159
|
+
sm: 'var(--font-size-sm)',
|
|
160
|
+
md: 'var(--font-size-md)',
|
|
161
|
+
lg: 'var(--font-size-lg)',
|
|
162
|
+
xl: 'var(--font-size-xl)',
|
|
163
|
+
xxl: 'var(--font-size-xxl)',
|
|
164
|
+
'1xl': 'var(--font-size-1xl)'
|
|
165
|
+
},
|
|
166
|
+
lineHeight: {
|
|
167
|
+
xxs: 'var(--line-height-xxs)',
|
|
168
|
+
xs: 'var(--line-height-xs)',
|
|
169
|
+
sm: 'var(--line-height-sm)',
|
|
170
|
+
md: 'var(--line-height-md)',
|
|
171
|
+
lg: 'var(--line-height-lg)',
|
|
172
|
+
xl: 'var(--line-height-xl)',
|
|
173
|
+
xxl: 'var(--line-height-xxl)'
|
|
174
|
+
},
|
|
175
|
+
fontWeight: {
|
|
176
|
+
book: 'var(--font-weight-book)',
|
|
177
|
+
medium: 'var(--font-weight-medium)',
|
|
178
|
+
bold: 'var(--font-weight-bold)'
|
|
179
|
+
},
|
|
180
|
+
spacing: {
|
|
181
|
+
xs: 'var(--spacing-xs)',
|
|
182
|
+
sm: 'var(--spacing-sm)',
|
|
183
|
+
md: 'var(--spacing-md)',
|
|
184
|
+
lg: 'var(--spacing-lg)',
|
|
185
|
+
xxl: 'var(--spacing-xxl)',
|
|
186
|
+
xl: 'var(--spacing-xl)'
|
|
187
|
+
},
|
|
188
|
+
borderRadius: {
|
|
189
|
+
xs: 'var(--border-radius-xs)',
|
|
190
|
+
sm: 'var(--border-radius-sm)',
|
|
191
|
+
md: 'var(--border-radius-md)',
|
|
192
|
+
lg: 'var(--border-radius-lg)'
|
|
193
|
+
},
|
|
194
|
+
fontFamily: {
|
|
195
|
+
sans: 'var(--font-family-sans)'
|
|
196
|
+
},
|
|
197
|
+
screens: {
|
|
198
|
+
tablet: 'var(--screens-tablet)',
|
|
199
|
+
laptop: 'var(--screens-laptop)',
|
|
200
|
+
desktop: 'var(--screens-desktop)'
|
|
201
|
+
},
|
|
202
|
+
boxShadow: {
|
|
203
|
+
card: 'var(--box-shadow-card)',
|
|
204
|
+
popover: 'var(--box-shadow-popover)',
|
|
205
|
+
popup: 'var(--box-shadow-popup)',
|
|
206
|
+
base: 'var(--box-shadow-base)',
|
|
207
|
+
depressed: 'var(--box-shadow-depressed)',
|
|
208
|
+
pressed: 'var(--box-shadow-pressed)'
|
|
209
|
+
},
|
|
210
|
+
extend: {
|
|
211
|
+
fontFamily: {
|
|
212
|
+
sans: ['"Circular Std Book"', ...defaultTheme.fontFamily.sans]
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
variants: {
|
|
217
|
+
extend: {
|
|
218
|
+
backgroundColor: ['checked', 'active'],
|
|
219
|
+
textColor: ['checked', 'active'],
|
|
220
|
+
borderColor: ['checked', 'hover', 'active']
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
plugins: [require('@tailwindcss/forms')]
|
|
224
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! tailwindcss v3.0.2 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:Circular Std Book,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],select,textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select{color-adjust:exact;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact}[multiple]{color-adjust:unset;background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset}[type=checkbox],[type=radio]{color-adjust:exact;--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px auto -webkit-focus-ring-color}.contents{display:contents}.text-letter-disabled{color:var(--colors-letter-disabled)}
|
package/dist/tokens.css
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Fri, 28 Oct 2022 14:53:49 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
--box-shadow-pressed: 0px 6px 8px 0px #3434341A;
|
|
8
|
+
--box-shadow-depressed: 0px 1px 12px rgba(0, 0, 0, 0.08), 0px 2px 5px rgba(63, 63, 68, 0.15);
|
|
9
|
+
--box-shadow-base: 0px 1px 3px rgba(63, 63, 68, 0.15), 0px 0px 0px 1px rgba(63, 63, 68, 0.05);
|
|
10
|
+
--box-shadow-popup: 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 3px 50px rgba(0, 0, 0, 0.2);
|
|
11
|
+
--box-shadow-popover: 0px 0px 2px rgba(0, 0, 0, 0.2), 0px 2px 10px rgba(0, 0, 0, 0.1);
|
|
12
|
+
--box-shadow-card: 0px 2px 1px rgba(0, 0, 0, 0.05), 0px 0px 1px rgba(0, 0, 0, 0.25);
|
|
13
|
+
--screens-desktop: 1280px;
|
|
14
|
+
--screens-laptop: 1024px;
|
|
15
|
+
--screens-tablet: 640px;
|
|
16
|
+
--font-family-sans: 'Circular Std';
|
|
17
|
+
--border-radius-lg: 20px;
|
|
18
|
+
--border-radius-md: 10px;
|
|
19
|
+
--border-radius-sm: 8px;
|
|
20
|
+
--border-radius-xs: 5px;
|
|
21
|
+
--spacing-xl: 32px;
|
|
22
|
+
--spacing-xxl: 40px;
|
|
23
|
+
--spacing-lg: 24px;
|
|
24
|
+
--spacing-md: 16px;
|
|
25
|
+
--spacing-sm: 8px;
|
|
26
|
+
--spacing-xs: 0px;
|
|
27
|
+
--font-weight-bold: 700;
|
|
28
|
+
--font-weight-medium: 500;
|
|
29
|
+
--font-weight-book: 450;
|
|
30
|
+
--line-height-xxl: 44px;
|
|
31
|
+
--line-height-xl: 36px;
|
|
32
|
+
--line-height-lg: 32;
|
|
33
|
+
--line-height-md: 28px;
|
|
34
|
+
--line-height-sm: 24px;
|
|
35
|
+
--line-height-xs: 20px;
|
|
36
|
+
--line-height-xxs: 16px;
|
|
37
|
+
--font-size-1xl: 40px;
|
|
38
|
+
--font-size-xxl: 32px;
|
|
39
|
+
--font-size-xl: 24px;
|
|
40
|
+
--font-size-lg: 20px;
|
|
41
|
+
--font-size-md: 18px;
|
|
42
|
+
--font-size-sm: 16px;
|
|
43
|
+
--font-size-xs: 14px;
|
|
44
|
+
--font-size-xxs: 12px;
|
|
45
|
+
--colors-base-success: #16ab49ff;
|
|
46
|
+
--colors-base-warning: #ffa826ff;
|
|
47
|
+
--colors-base-critical: #f56270ff;
|
|
48
|
+
--colors-base-brand: #c80935ff;
|
|
49
|
+
--colors-base-interactive: #007affff;
|
|
50
|
+
--colors-base-secondary: #8a8a8aff;
|
|
51
|
+
--colors-base-primary: #42484eff;
|
|
52
|
+
--colors-base-surface: #f0f0f0ff;
|
|
53
|
+
--colors-radial-100: #1ddd5eff;
|
|
54
|
+
--colors-radial-90: #139840ff;
|
|
55
|
+
--colors-radial-80: #0f642cff;
|
|
56
|
+
--colors-radial-70: #93a611ff;
|
|
57
|
+
--colors-radial-60: #d0d82bff;
|
|
58
|
+
--colors-radial-50: #ede437ff;
|
|
59
|
+
--colors-radial-40: #f9b017ff;
|
|
60
|
+
--colors-radial-30: #f28c1bff;
|
|
61
|
+
--colors-radial-20: #e15b24ff;
|
|
62
|
+
--colors-radial-10: #b21a1bff;
|
|
63
|
+
--colors-background-selected: #edeeefff;
|
|
64
|
+
--colors-background-pressed: #edeeefff;
|
|
65
|
+
--colors-background-hovered: #f1f2f3ff;
|
|
66
|
+
--colors-background-default: #f6f6f7ff;
|
|
67
|
+
--colors-surface-neutral-disabled: #edededff;
|
|
68
|
+
--colors-surface-neutral-pressed: #d6d6d6ff;
|
|
69
|
+
--colors-surface-neutral-hovered: #e2e2e2ff;
|
|
70
|
+
--colors-surface-neutral-subdued: #e8e8e8ff;
|
|
71
|
+
--colors-surface-neutral-default: #c4c4c4ff;
|
|
72
|
+
--colors-surface-critical-disabled: #fde7eaff;
|
|
73
|
+
--colors-surface-critical-pressed: #e49b9bff;
|
|
74
|
+
--colors-surface-critical-hovered: #ebb3b3ff;
|
|
75
|
+
--colors-surface-critical-subdued: #eedbdbff;
|
|
76
|
+
--colors-surface-critical-default: #efc0c0ff;
|
|
77
|
+
--colors-surface-success-pressed: #ade2bfff;
|
|
78
|
+
--colors-surface-success-hovered: #c5ead1ff;
|
|
79
|
+
--colors-surface-success-subdued: #d0eedbff;
|
|
80
|
+
--colors-surface-success-default: #8bd5a4ff;
|
|
81
|
+
--colors-surface-warning-pressed: #ffd393ff;
|
|
82
|
+
--colors-surface-warning-hovered: #ffe9c9ff;
|
|
83
|
+
--colors-surface-warning-subdued: #ffeed4ff;
|
|
84
|
+
--colors-surface-warning-default: #ffe1b3ff;
|
|
85
|
+
--colors-surface-action-disabled: #fafcffff;
|
|
86
|
+
--colors-surface-action-pressed: #d1deecff;
|
|
87
|
+
--colors-surface-action-hovered: #f2f8ffff;
|
|
88
|
+
--colors-surface-action-subdued: #e5f2ffff;
|
|
89
|
+
--colors-surface-action-default: #b3d7ffff;
|
|
90
|
+
--colors-surface-disabled: #fafbfbff;
|
|
91
|
+
--colors-surface-depressed: #edeeefff;
|
|
92
|
+
--colors-surface-pressed: #f1f2f3ff;
|
|
93
|
+
--colors-surface-hovered: #f6f6f7ff;
|
|
94
|
+
--colors-surface-subdued: #fafbfbff;
|
|
95
|
+
--colors-surface-default: #ffffffff;
|
|
96
|
+
--colors-focused-default: #3eadfeff;
|
|
97
|
+
--colors-icon-on: #ffffffff;
|
|
98
|
+
--colors-icon-success: #149840ff;
|
|
99
|
+
--colors-icon-warning: #c18f00ff;
|
|
100
|
+
--colors-icon-critical: #bd2a2aff;
|
|
101
|
+
--colors-icon-disabled: #d6d6d6ff;
|
|
102
|
+
--colors-icon-pressed: #636b74ff;
|
|
103
|
+
--colors-icon-hovered: #42484eff;
|
|
104
|
+
--colors-icon-subdued: #a1a1a1ff;
|
|
105
|
+
--colors-icon-default: #61666bff;
|
|
106
|
+
--colors-interactive-critical-disabled: #ce9ea2ff;
|
|
107
|
+
--colors-interactive-critical-depressed: #6c0f00ff;
|
|
108
|
+
--colors-interactive-critical-hovered: #c12929ff;
|
|
109
|
+
--colors-interactive-critical-default: #d82f2fff;
|
|
110
|
+
--colors-interactive-disabled: #d6dbe0ff;
|
|
111
|
+
--colors-interactive-depressed: #004289ff;
|
|
112
|
+
--colors-interactive-hovered: #0068daff;
|
|
113
|
+
--colors-interactive-default: #007affff;
|
|
114
|
+
--colors-border-shadow-subdued: #EBEBEB;
|
|
115
|
+
--colors-border-critical-disabled: #ffc9c6ff;
|
|
116
|
+
--colors-border-critical-subdued: #e05563ff;
|
|
117
|
+
--colors-border-critical-default: #f56270ff;
|
|
118
|
+
--colors-border-success-subdued: #43da76ff;
|
|
119
|
+
--colors-border-success-default: #16ab49ff;
|
|
120
|
+
--colors-border-disabled: #f0f0f0ff;
|
|
121
|
+
--colors-border-depressed: #8c8c8cff;
|
|
122
|
+
--colors-border-hovered: #c9c9c9ff;
|
|
123
|
+
--colors-border-subdued: #e0e0e0ff;
|
|
124
|
+
--colors-border-default: #c2c2c2ff;
|
|
125
|
+
--colors-action-critical-disabled: #e4dfe0ff;
|
|
126
|
+
--colors-action-critical-depressed: #6c0f00ff;
|
|
127
|
+
--colors-action-critical-pressed: #9d2020ff;
|
|
128
|
+
--colors-action-critical-hovered: #c12929ff;
|
|
129
|
+
--colors-action-critical-default: #d82f2fff;
|
|
130
|
+
--colors-action-secondary-disabled: #ffffffff;
|
|
131
|
+
--colors-action-secondary-depressed: #6d7175ff;
|
|
132
|
+
--colors-action-secondary-pressed: #eaeaeaff;
|
|
133
|
+
--colors-action-secondary-hovered: #f3f3f3ff;
|
|
134
|
+
--colors-action-secondary-default: #ffffffff;
|
|
135
|
+
--colors-action-primary-disabled: #d6dbe0ff;
|
|
136
|
+
--colors-action-primary-depressed: #072a52ff;
|
|
137
|
+
--colors-action-primary-pressed: #0c4d95ff;
|
|
138
|
+
--colors-action-primary-hovered: #126dd0ff;
|
|
139
|
+
--colors-action-primary-default: #007affff;
|
|
140
|
+
--colors-letter-on: #ffffffff;
|
|
141
|
+
--colors-letter-success: #12953eff;
|
|
142
|
+
--colors-letter-critical: #bd2a2aff;
|
|
143
|
+
--colors-letter-warning: #ce881eff;
|
|
144
|
+
--colors-letter-disabled: #c2c2c2ff;
|
|
145
|
+
--colors-letter-subdued: #8a8a8aff;
|
|
146
|
+
--colors-letter-default: #42484eff;
|
|
147
|
+
}
|