@nova-design-system/nova-base 3.14.0 → 3.16.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/assets/icons/icon-sprite.svg +1 -1
- package/dist/cjs/generated/nova-tailwind-components.js +205 -3
- package/dist/cjs/plugin/nova-plugin.js +49 -49
- package/dist/cjs/plugin/nova-theme.js +26 -0
- package/dist/css/nova-utils.css +207 -4
- package/dist/css/ocean.css +29 -4
- package/dist/css/spark.css +29 -4
- package/dist/generated/nova-tailwind-components.d.ts +199 -0
- package/dist/generated/nova-tailwind-components.js +205 -3
- package/dist/js/ocean_dark.d.ts +10 -0
- package/dist/js/ocean_dark.js +10 -0
- package/dist/js/ocean_light.d.ts +10 -0
- package/dist/js/ocean_light.js +12 -2
- package/dist/js/primitives.d.ts +5 -0
- package/dist/js/primitives.js +5 -0
- package/dist/js/spark_dark.d.ts +10 -0
- package/dist/js/spark_dark.js +10 -0
- package/dist/js/spark_light.d.ts +10 -0
- package/dist/js/spark_light.js +12 -2
- package/dist/plugin/nova-plugin.js +49 -49
- package/dist/plugin/nova-theme.js +26 -0
- package/package.json +1 -1
|
@@ -7,6 +7,208 @@ exports.NOVA_TAILWIND_COMPONENTS = void 0;
|
|
|
7
7
|
* @ref generate-tailwind-components.ts
|
|
8
8
|
*/
|
|
9
9
|
exports.NOVA_TAILWIND_COMPONENTS = {
|
|
10
|
+
'nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range': {
|
|
11
|
+
'background': 'var(--components-slider-track-filled-hover)'
|
|
12
|
+
},
|
|
13
|
+
'nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb': {
|
|
14
|
+
'borderColor': 'var(--components-slider-track-filled-hover)'
|
|
15
|
+
},
|
|
16
|
+
'nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range': {
|
|
17
|
+
'background': 'var(--components-slider-track-filled-focus)'
|
|
18
|
+
},
|
|
19
|
+
'nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb': {
|
|
20
|
+
'borderColor': 'var(--components-slider-track-filled-focus)'
|
|
21
|
+
},
|
|
22
|
+
'nv-fieldslider[error] .slider-container .track-container .track .track-range': {
|
|
23
|
+
'background': 'var(--components-slider-track-filled-error)'
|
|
24
|
+
},
|
|
25
|
+
'nv-fieldslider[error] .slider-container .track-container .track .thumb': {
|
|
26
|
+
'borderColor': 'var(--components-slider-track-filled-error)'
|
|
27
|
+
},
|
|
28
|
+
'nv-fieldslider[error] .slider-container .track-container .track .thumb:hover': {
|
|
29
|
+
'borderColor': 'var(--components-slider-track-filled-error)',
|
|
30
|
+
'outline': 'calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error)',
|
|
31
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)',
|
|
32
|
+
'backgroundColor': 'var(--components-slider-handler-background-error)'
|
|
33
|
+
},
|
|
34
|
+
'nv-fieldslider[error] .slider-container .track-container .track .thumb:focus': {
|
|
35
|
+
'borderColor': 'var(--components-slider-track-filled-error)',
|
|
36
|
+
'outline': 'calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error)',
|
|
37
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)',
|
|
38
|
+
'backgroundColor': 'var(--components-slider-track-filled-error)'
|
|
39
|
+
},
|
|
40
|
+
'nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range': {
|
|
41
|
+
'background': 'var(--components-slider-track-filled-error)'
|
|
42
|
+
},
|
|
43
|
+
'nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb': {
|
|
44
|
+
'borderColor': 'var(--components-slider-track-filled-error)'
|
|
45
|
+
},
|
|
46
|
+
'.nv-fieldtext': {
|
|
47
|
+
'--nv-field-border-default': 'var(--components-form-field-border-default)',
|
|
48
|
+
'--nv-field-border-hover': 'var(--components-form-field-border-hover)',
|
|
49
|
+
'--nv-field-border-focus': 'var(--components-form-field-border-focus)',
|
|
50
|
+
'--nv-field-border-disabled': 'var(--components-form-field-border-default)',
|
|
51
|
+
'--nv-field-border-readonly': 'var(--components-form-field-border-default)',
|
|
52
|
+
'--nv-field-focus-box-shadow': 'var(--color-focus-brand)',
|
|
53
|
+
'--nv-field-background': 'var(--components-form-field-background-default)',
|
|
54
|
+
'display': 'flex',
|
|
55
|
+
'flexDirection': 'column',
|
|
56
|
+
'alignItems': 'flex-start',
|
|
57
|
+
'gap': 'var(--form-gap-y)',
|
|
58
|
+
'boxSizing': 'border-box',
|
|
59
|
+
'maxWidth': '480px'
|
|
60
|
+
},
|
|
61
|
+
'.nv-fieldtext.fluid': {
|
|
62
|
+
'maxWidth': 'unset'
|
|
63
|
+
},
|
|
64
|
+
'.nv-fieldtext.readonly': {
|
|
65
|
+
'--nv-field-border-default': 'var(--components-form-field-border-readonly)',
|
|
66
|
+
'--nv-field-border-hover': 'var(--nv-field-border-default)',
|
|
67
|
+
'--nv-field-border-focus': 'var(--components-form-field-border-focus)',
|
|
68
|
+
'--nv-field-border-disabled': 'var(--nv-field-border-default)',
|
|
69
|
+
'--nv-field-border-readonly': 'var(--nv-field-border-default)',
|
|
70
|
+
'--nv-field-background': 'var(--components-form-field-background-readonly)'
|
|
71
|
+
},
|
|
72
|
+
'.nv-fieldtext.error': {
|
|
73
|
+
'--nv-field-border-default': 'var(--components-form-field-border-error)',
|
|
74
|
+
'--nv-field-border-hover': 'var(--nv-field-border-default)',
|
|
75
|
+
'--nv-field-border-focus': 'var(--nv-field-border-default)',
|
|
76
|
+
'--nv-field-border-disabled': 'var(--nv-field-border-default)',
|
|
77
|
+
'--nv-field-border-readonly': 'var(--nv-field-border-default)',
|
|
78
|
+
'--nv-field-focus-box-shadow': 'var(--color-focus-destructive-in-field)'
|
|
79
|
+
},
|
|
80
|
+
'.nv-fieldtext.success': {
|
|
81
|
+
'--nv-field-border-default': 'var(--components-form-field-border-success)',
|
|
82
|
+
'--nv-field-border-hover': 'var(--nv-field-border-default)',
|
|
83
|
+
'--nv-field-border-focus': 'var(--nv-field-border-default)',
|
|
84
|
+
'--nv-field-border-disabled': 'var(--nv-field-border-default)',
|
|
85
|
+
'--nv-field-border-readonly': 'var(--nv-field-border-default)',
|
|
86
|
+
'--nv-field-focus-box-shadow': 'var(--color-focus-success)'
|
|
87
|
+
},
|
|
88
|
+
'.nv-fieldtext.required label::after': {
|
|
89
|
+
'content': '\'*\'',
|
|
90
|
+
'color': 'var(--components-form-text-required)',
|
|
91
|
+
'fontWeight': 'var(--font-weight-high-emphasis)'
|
|
92
|
+
},
|
|
93
|
+
'.nv-fieldtext > label': {
|
|
94
|
+
'display': 'flex',
|
|
95
|
+
'alignItems': 'center',
|
|
96
|
+
'gap': 'var(--form-label-gap)',
|
|
97
|
+
'alignSelf': 'stretch',
|
|
98
|
+
'color': 'var(--components-form-text-label-default)',
|
|
99
|
+
'fontFamily': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
100
|
+
'fontSize': 'var(--form-label-font-size)',
|
|
101
|
+
'fontStyle': 'normal',
|
|
102
|
+
'fontWeight': 'var(--font-weight-medium-emphasis)',
|
|
103
|
+
'lineHeight': 'var(--form-label-line-height)'
|
|
104
|
+
},
|
|
105
|
+
'.nv-fieldtext > .input-wrapper': {
|
|
106
|
+
'display': 'flex',
|
|
107
|
+
'flexWrap': 'wrap',
|
|
108
|
+
'gap': 'var(--form-gap-x)',
|
|
109
|
+
'alignItems': 'stretch',
|
|
110
|
+
'alignSelf': 'stretch'
|
|
111
|
+
},
|
|
112
|
+
'.nv-fieldtext > .input-wrapper .input-container': {
|
|
113
|
+
'display': 'flex',
|
|
114
|
+
'flexGrow': '1',
|
|
115
|
+
'justifyContent': 'center',
|
|
116
|
+
'alignItems': 'center',
|
|
117
|
+
'alignSelf': 'stretch',
|
|
118
|
+
'borderRadius': 'var(--form-field-radius)',
|
|
119
|
+
'borderWidth': '1px',
|
|
120
|
+
'borderStyle': 'solid',
|
|
121
|
+
'borderColor': 'var(--nv-field-border-default)',
|
|
122
|
+
'opacity': 'var(--components-form-opacity-default, 1)',
|
|
123
|
+
'background': 'var(--nv-field-background)',
|
|
124
|
+
'transition': 'all 150ms ease-out'
|
|
125
|
+
},
|
|
126
|
+
'.nv-fieldtext > .input-wrapper .input-container:hover': {
|
|
127
|
+
'borderColor': 'var(--nv-field-border-hover)'
|
|
128
|
+
},
|
|
129
|
+
'.nv-fieldtext > .input-wrapper .input-container:focus-within, .nv-fieldtext > .input-wrapper .input-container:focus-within:hover, .nv-fieldtext > .input-wrapper .input-container:focus, .nv-fieldtext > .input-wrapper .input-container:focus:hover': {
|
|
130
|
+
'borderColor': 'var(--nv-field-border-focus)',
|
|
131
|
+
'boxShadow': '0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)'
|
|
132
|
+
},
|
|
133
|
+
'.nv-fieldtext > .input-wrapper .input-container:has(input:read-only)': {
|
|
134
|
+
'opacity': '0.5',
|
|
135
|
+
'backgroundColor': 'var(--components-form-field-background-readonly)',
|
|
136
|
+
'borderColor': 'var(--nv-field-border-readonly)'
|
|
137
|
+
},
|
|
138
|
+
'.nv-fieldtext > .input-wrapper .input-container:has(input:disabled)': {
|
|
139
|
+
'opacity': '0.5',
|
|
140
|
+
'backgroundColor': 'var(--components-form-field-background-disabled)',
|
|
141
|
+
'borderColor': 'var(--nv-field-border-disabled)'
|
|
142
|
+
},
|
|
143
|
+
'.nv-fieldtext > .input-wrapper .input-container > .leading-input': {
|
|
144
|
+
'display': 'block',
|
|
145
|
+
'marginLeft': 'var(--form-field-padding-x)'
|
|
146
|
+
},
|
|
147
|
+
'.nv-fieldtext > .input-wrapper .input-container input': {
|
|
148
|
+
'display': 'flex',
|
|
149
|
+
'alignItems': 'center',
|
|
150
|
+
'flex': '1 0 0',
|
|
151
|
+
'overflow': 'hidden',
|
|
152
|
+
'backgroundColor': 'transparent',
|
|
153
|
+
'color': 'var(--components-form-field-content-text)',
|
|
154
|
+
'padding': 'var(--form-field-padding-y) var(--form-field-padding-x)',
|
|
155
|
+
'fontSize': 'var(--form-field-font-size)',
|
|
156
|
+
'fontStyle': 'normal',
|
|
157
|
+
'fontWeight': 'var(--font-weight-medium-emphasis)',
|
|
158
|
+
'lineHeight': 'var(--form-field-line-height)',
|
|
159
|
+
'width': '100%'
|
|
160
|
+
},
|
|
161
|
+
'.nv-fieldtext > .input-wrapper .input-container input:focus': {
|
|
162
|
+
'outline': 'none'
|
|
163
|
+
},
|
|
164
|
+
'.nv-fieldtext > .input-wrapper .input-container input::placeholder': {
|
|
165
|
+
'overflow': 'hidden',
|
|
166
|
+
'color': 'var(--components-form-field-content-placeholder)',
|
|
167
|
+
'textOverflow': 'ellipsis',
|
|
168
|
+
'fontFamily': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
169
|
+
'fontSize': 'var(--form-field-font-size)',
|
|
170
|
+
'fontStyle': 'normal',
|
|
171
|
+
'fontWeight': 'var(--font-weight-low-emphasis)',
|
|
172
|
+
'lineHeight': 'var(--form-field-line-height)'
|
|
173
|
+
},
|
|
174
|
+
'.nv-fieldtext > .input-wrapper .input-container input[type=password]::-ms-clear, .nv-fieldtext > .input-wrapper .input-container input[type=password]::-ms-reveal': {
|
|
175
|
+
'display': 'none',
|
|
176
|
+
'width': '0',
|
|
177
|
+
'height': '0'
|
|
178
|
+
},
|
|
179
|
+
'.nv-fieldtext > .input-wrapper .input-container nv-icon.validation': {
|
|
180
|
+
'color': 'var(--nv-field-border-default)',
|
|
181
|
+
'marginRight': 'var(--form-gap-x)'
|
|
182
|
+
},
|
|
183
|
+
'.nv-fieldtext > .input-wrapper .input-container > .trailing-input': {
|
|
184
|
+
'display': 'block',
|
|
185
|
+
'marginRight': 'var(--form-field-padding-x)'
|
|
186
|
+
},
|
|
187
|
+
'.nv-fieldtext > .description': {
|
|
188
|
+
'display': 'flex',
|
|
189
|
+
'alignItems': 'center',
|
|
190
|
+
'alignSelf': 'stretch',
|
|
191
|
+
'gap': 'var(--spacing-1)',
|
|
192
|
+
'color': 'var(--components-form-text-description-default)',
|
|
193
|
+
'fontFamily': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
194
|
+
'fontSize': 'var(--form-description-font-size)',
|
|
195
|
+
'fontStyle': 'normal',
|
|
196
|
+
'lineHeight': 'var(--form-description-line-height)'
|
|
197
|
+
},
|
|
198
|
+
'.nv-fieldtext > .error-description': {
|
|
199
|
+
'display': 'flex',
|
|
200
|
+
'alignItems': 'center',
|
|
201
|
+
'alignSelf': 'stretch',
|
|
202
|
+
'gap': 'var(--spacing-1)',
|
|
203
|
+
'color': [
|
|
204
|
+
'var(--components-form-text-description-default)',
|
|
205
|
+
'var(--components-form-text-description-error)'
|
|
206
|
+
],
|
|
207
|
+
'fontFamily': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
208
|
+
'fontSize': 'var(--form-description-font-size)',
|
|
209
|
+
'fontStyle': 'normal',
|
|
210
|
+
'lineHeight': 'var(--form-description-line-height)'
|
|
211
|
+
},
|
|
10
212
|
'.nv-button': {
|
|
11
213
|
'textDecoration': 'none',
|
|
12
214
|
'display': 'inline-flex',
|
|
@@ -14,7 +216,7 @@ exports.NOVA_TAILWIND_COMPONENTS = {
|
|
|
14
216
|
'alignItems': 'center',
|
|
15
217
|
'fontStyle': 'normal',
|
|
16
218
|
'fontWeight': 'var(--font-weight-medium-emphasis)',
|
|
17
|
-
'fontFamily': '
|
|
219
|
+
'fontFamily': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
18
220
|
'transition': 'background-color 150ms ease-out',
|
|
19
221
|
'userSelect': 'none',
|
|
20
222
|
'cursor': 'pointer',
|
|
@@ -327,7 +529,7 @@ exports.NOVA_TAILWIND_COMPONENTS = {
|
|
|
327
529
|
},
|
|
328
530
|
'.nv-link, .nv-link-low, .nv-link-high': {
|
|
329
531
|
'color': 'var(--color-interaction-link-high-text)',
|
|
330
|
-
'fontWeight': '
|
|
532
|
+
'fontWeight': 'var(--font-weight-medium-emphasis)',
|
|
331
533
|
'textDecoration': 'none'
|
|
332
534
|
},
|
|
333
535
|
'.nv-link:hover, .nv-link-low:hover, .nv-link-high:hover': {
|
|
@@ -367,7 +569,7 @@ exports.NOVA_TAILWIND_COMPONENTS = {
|
|
|
367
569
|
'color': 'var(--color-interaction-container-neutral-text)',
|
|
368
570
|
'backgroundColor': 'var(--color-interaction-container-neutral-background)',
|
|
369
571
|
'textDecoration': 'none',
|
|
370
|
-
'fontWeight': '
|
|
572
|
+
'fontWeight': 'var(--font-weight-medium-emphasis)',
|
|
371
573
|
'padding': 'var(--spacing-2) var(--spacing-3)',
|
|
372
574
|
'columnGap': 'var(--spacing-2)'
|
|
373
575
|
},
|
|
@@ -42,7 +42,7 @@ exports.novaTailwindPlugin = (0, plugin_js_1.default)(function (_a) {
|
|
|
42
42
|
a: {
|
|
43
43
|
color: 'var(--color-interaction-link-high-text)',
|
|
44
44
|
'text-decoration': 'underline',
|
|
45
|
-
fontWeight: '
|
|
45
|
+
fontWeight: 'var(--font-weight-high-emphasis)',
|
|
46
46
|
},
|
|
47
47
|
'a:hover': {
|
|
48
48
|
color: 'var(--color-interaction-link-high-text-hover)',
|
|
@@ -106,187 +106,187 @@ exports.novaTailwindPlugin = (0, plugin_js_1.default)(function (_a) {
|
|
|
106
106
|
// Headings
|
|
107
107
|
'.typo-heading-xl-regular': {
|
|
108
108
|
'font-size': 'var(--font-size-4xl)',
|
|
109
|
-
'font-weight': '
|
|
109
|
+
'font-weight': 'var(--font-weight-low-emphasis)',
|
|
110
110
|
'line-height': 'var(--leading-px-10)',
|
|
111
111
|
'letter-spacing': 'var(--letter-spacing-heading-xl)',
|
|
112
112
|
}, '.typo-heading-xl-medium': {
|
|
113
113
|
'font-size': 'var(--font-size-4xl)',
|
|
114
|
-
'font-weight': '
|
|
114
|
+
'font-weight': 'var(--font-weight-medium-emphasis)',
|
|
115
115
|
'line-height': 'var(--leading-px-10)',
|
|
116
116
|
'letter-spacing': 'var(--letter-spacing-heading-xl)',
|
|
117
117
|
}, '.typo-heading-xl-bold': {
|
|
118
118
|
'font-size': 'var(--font-size-4xl)',
|
|
119
|
-
'font-weight': '
|
|
119
|
+
'font-weight': 'var(--font-weight-high-emphasis)',
|
|
120
120
|
'line-height': 'var(--leading-px-10)',
|
|
121
121
|
'letter-spacing': 'var(--letter-spacing-heading-xl)',
|
|
122
122
|
}, '.typo-heading-lg-regular': {
|
|
123
123
|
'font-size': 'var(--font-size-3xl)',
|
|
124
|
-
'font-weight': '
|
|
124
|
+
'font-weight': 'var(--font-weight-low-emphasis)',
|
|
125
125
|
'line-height': 'var(--leading-px-8)',
|
|
126
126
|
'letter-spacing': 'var(--letter-spacing-heading-lg)',
|
|
127
127
|
}, '.typo-heading-lg-medium': {
|
|
128
128
|
'font-size': 'var(--font-size-3xl)',
|
|
129
|
-
'font-weight': '
|
|
129
|
+
'font-weight': 'var(--font-weight-medium-emphasis)',
|
|
130
130
|
'line-height': 'var(--leading-px-8)',
|
|
131
131
|
'letter-spacing': 'var(--letter-spacing-heading-lg)',
|
|
132
132
|
}, '.typo-heading-lg-bold': {
|
|
133
133
|
'font-size': 'var(--font-size-3xl)',
|
|
134
|
-
'font-weight': '
|
|
134
|
+
'font-weight': 'var(--font-weight-high-emphasis)',
|
|
135
135
|
'line-height': 'var(--leading-px-8)',
|
|
136
136
|
'letter-spacing': 'var(--letter-spacing-heading-lg)',
|
|
137
137
|
}, '.typo-heading-md-regular': {
|
|
138
138
|
'font-size': 'var(--font-size-2xl)',
|
|
139
|
-
'font-weight': '
|
|
139
|
+
'font-weight': 'var(--font-weight-low-emphasis)',
|
|
140
140
|
'line-height': 'var(--leading-px-7)',
|
|
141
141
|
'letter-spacing': 'var(--letter-spacing-heading-md)',
|
|
142
142
|
}, '.typo-heading-md-medium': {
|
|
143
143
|
'font-size': 'var(--font-size-2xl)',
|
|
144
|
-
'font-weight': '
|
|
144
|
+
'font-weight': 'var(--font-weight-medium-emphasis)',
|
|
145
145
|
'line-height': 'var(--leading-px-7)',
|
|
146
146
|
'letter-spacing': 'var(--letter-spacing-heading-md)',
|
|
147
147
|
}, '.typo-heading-md-bold': {
|
|
148
148
|
'font-size': 'var(--font-size-2xl)',
|
|
149
|
-
'font-weight': '
|
|
149
|
+
'font-weight': 'var(--font-weight-high-emphasis)',
|
|
150
150
|
'line-height': 'var(--leading-px-7)',
|
|
151
151
|
'letter-spacing': 'var(--letter-spacing-heading-md)',
|
|
152
152
|
}, '.typo-heading-sm-regular': {
|
|
153
153
|
'font-size': 'var(--font-size-xl)',
|
|
154
|
-
'font-weight': '
|
|
154
|
+
'font-weight': 'var(--font-weight-low-emphasis)',
|
|
155
155
|
'line-height': 'var(--leading-px-6)',
|
|
156
156
|
'letter-spacing': 'var(--letter-spacing-heading-sm)',
|
|
157
157
|
}, '.typo-heading-sm-medium': {
|
|
158
158
|
'font-size': 'var(--font-size-xl)',
|
|
159
|
-
'font-weight': '
|
|
159
|
+
'font-weight': 'var(--font-weight-medium-emphasis)',
|
|
160
160
|
'line-height': 'var(--leading-px-6)',
|
|
161
161
|
'letter-spacing': 'var(--letter-spacing-heading-sm)',
|
|
162
162
|
}, '.typo-heading-sm-bold': {
|
|
163
163
|
'font-size': 'var(--font-size-xl)',
|
|
164
|
-
'font-weight': '
|
|
164
|
+
'font-weight': 'var(--font-weight-high-emphasis)',
|
|
165
165
|
'line-height': 'var(--leading-px-6)',
|
|
166
166
|
'letter-spacing': 'var(--letter-spacing-heading-sm)',
|
|
167
167
|
}, '.typo-heading-xs-regular': {
|
|
168
168
|
'font-size': 'var(--font-size-lg)',
|
|
169
|
-
'font-weight': '
|
|
169
|
+
'font-weight': 'var(--font-weight-low-emphasis)',
|
|
170
170
|
'line-height': 'var(--leading-px-6)',
|
|
171
171
|
'letter-spacing': 'var(--letter-spacing-heading-xs)',
|
|
172
172
|
}, '.typo-heading-xs-medium': {
|
|
173
173
|
'font-size': 'var(--font-size-lg)',
|
|
174
|
-
'font-weight': '
|
|
174
|
+
'font-weight': 'var(--font-weight-medium-emphasis)',
|
|
175
175
|
'line-height': 'var(--leading-px-6)',
|
|
176
176
|
'letter-spacing': 'var(--letter-spacing-heading-xs)',
|
|
177
177
|
}, '.typo-heading-xs-bold': {
|
|
178
178
|
'font-size': 'var(--font-size-lg)',
|
|
179
|
-
'font-weight': '
|
|
179
|
+
'font-weight': 'var(--font-weight-high-emphasis)',
|
|
180
180
|
'line-height': 'var(--leading-px-6)',
|
|
181
181
|
'letter-spacing': 'var(--letter-spacing-heading-xs)',
|
|
182
182
|
},
|
|
183
183
|
// Text
|
|
184
184
|
'.typo-text-xl-regular': {
|
|
185
185
|
'font-size': 'var(--font-size-xl)',
|
|
186
|
-
'font-weight': '
|
|
186
|
+
'font-weight': 'var(--font-weight-low-emphasis)',
|
|
187
187
|
'line-height': 'var(--line-height-xl)',
|
|
188
188
|
}, '.typo-text-xl-medium': {
|
|
189
189
|
'font-size': 'var(--font-size-xl)',
|
|
190
|
-
'font-weight': '
|
|
190
|
+
'font-weight': 'var(--font-weight-medium-emphasis)',
|
|
191
191
|
'line-height': 'var(--line-height-xl)',
|
|
192
192
|
}, '.typo-text-xl-bold': {
|
|
193
193
|
'font-size': 'var(--font-size-xl)',
|
|
194
|
-
'font-weight': '
|
|
194
|
+
'font-weight': 'var(--font-weight-high-emphasis)',
|
|
195
195
|
'line-height': 'var(--line-height-xl)',
|
|
196
196
|
}, '.typo-text-lg-regular': {
|
|
197
197
|
'font-size': 'var(--font-size-lg)',
|
|
198
|
-
'font-weight': '
|
|
198
|
+
'font-weight': 'var(--font-weight-low-emphasis)',
|
|
199
199
|
'line-height': 'var(--line-height-lg)',
|
|
200
200
|
}, '.typo-text-lg-medium': {
|
|
201
201
|
'font-size': 'var(--font-size-lg)',
|
|
202
|
-
'font-weight': '
|
|
202
|
+
'font-weight': 'var(--font-weight-medium-emphasis)',
|
|
203
203
|
'line-height': 'var(--line-height-lg)',
|
|
204
204
|
}, '.typo-text-lg-bold': {
|
|
205
205
|
'font-size': 'var(--font-size-lg)',
|
|
206
|
-
'font-weight': '
|
|
206
|
+
'font-weight': 'var(--font-weight-high-emphasis)',
|
|
207
207
|
'line-height': 'var(--line-height-lg)',
|
|
208
208
|
}, '.typo-text-md-regular': {
|
|
209
209
|
'font-size': 'var(--font-size-md)',
|
|
210
|
-
'font-weight': '
|
|
210
|
+
'font-weight': 'var(--font-weight-low-emphasis)',
|
|
211
211
|
'line-height': 'var(--line-height-base)',
|
|
212
212
|
}, '.typo-text-md-medium': {
|
|
213
213
|
'font-size': 'var(--font-size-md)',
|
|
214
|
-
'font-weight': '
|
|
214
|
+
'font-weight': 'var(--font-weight-medium-emphasis)',
|
|
215
215
|
'line-height': 'var(--line-height-base)',
|
|
216
216
|
}, '.typo-text-md-bold': {
|
|
217
217
|
'font-size': 'var(--font-size-md)',
|
|
218
|
-
'font-weight': '
|
|
218
|
+
'font-weight': 'var(--font-weight-high-emphasis)',
|
|
219
219
|
'line-height': 'var(--line-height-base)',
|
|
220
220
|
}, '.typo-text-sm-regular': {
|
|
221
221
|
'font-size': 'var(--font-size-sm)',
|
|
222
|
-
'font-weight': '
|
|
222
|
+
'font-weight': 'var(--font-weight-low-emphasis)',
|
|
223
223
|
'line-height': 'var(--line-height-sm)',
|
|
224
224
|
}, '.typo-text-sm-medium': {
|
|
225
225
|
'font-size': 'var(--font-size-sm)',
|
|
226
|
-
'font-weight': '
|
|
226
|
+
'font-weight': 'var(--font-weight-medium-emphasis)',
|
|
227
227
|
'line-height': 'var(--line-height-sm)',
|
|
228
228
|
}, '.typo-text-sm-bold': {
|
|
229
229
|
'font-size': 'var(--font-size-sm)',
|
|
230
|
-
'font-weight': '
|
|
230
|
+
'font-weight': 'var(--font-weight-high-emphasis)',
|
|
231
231
|
'line-height': 'var(--line-height-sm)',
|
|
232
232
|
}, '.typo-text-xs-regular': {
|
|
233
233
|
'font-size': 'var(--font-size-xs)',
|
|
234
|
-
'font-weight': '
|
|
234
|
+
'font-weight': 'var(--font-weight-low-emphasis)',
|
|
235
235
|
'line-height': 'var(--line-height-xs)',
|
|
236
236
|
}, '.typo-text-xs-medium': {
|
|
237
237
|
'font-size': 'var(--font-size-xs)',
|
|
238
|
-
'font-weight': '
|
|
238
|
+
'font-weight': 'var(--font-weight-medium-emphasis)',
|
|
239
239
|
'line-height': 'var(--line-height-xs)',
|
|
240
240
|
}, '.typo-text-xs-bold': {
|
|
241
241
|
'font-size': 'var(--font-size-xs)',
|
|
242
|
-
'font-weight': '
|
|
242
|
+
'font-weight': 'var(--font-weight-high-emphasis)',
|
|
243
243
|
'line-height': 'var(--line-height-xs)',
|
|
244
244
|
},
|
|
245
245
|
// Mono
|
|
246
246
|
'.typo-mono-md-regular': {
|
|
247
|
-
'font-family': '
|
|
247
|
+
'font-family': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
248
248
|
'font-size': 'var(--font-size-md)',
|
|
249
|
-
'font-weight': '
|
|
249
|
+
'font-weight': 'var(--font-weight-low-emphasis)',
|
|
250
250
|
'line-height': 'var(--line-height-base)',
|
|
251
251
|
}, '.typo-mono-md-medium': {
|
|
252
|
-
'font-family': '
|
|
252
|
+
'font-family': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
253
253
|
'font-size': 'var(--font-size-md)',
|
|
254
|
-
'font-weight': '
|
|
254
|
+
'font-weight': 'var(--font-weight-medium-emphasis)',
|
|
255
255
|
'line-height': 'var(--line-height-base)',
|
|
256
256
|
}, '.typo-mono-md-bold': {
|
|
257
|
-
'font-family': '
|
|
257
|
+
'font-family': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
258
258
|
'font-size': 'var(--font-size-md)',
|
|
259
|
-
'font-weight': '
|
|
259
|
+
'font-weight': 'var(--font-weight-high-emphasis)',
|
|
260
260
|
'line-height': 'var(--line-height-base)',
|
|
261
261
|
}, '.typo-mono-sm-regular': {
|
|
262
|
-
'font-family': '
|
|
262
|
+
'font-family': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
263
263
|
'font-size': 'var(--font-size-sm)',
|
|
264
|
-
'font-weight': '
|
|
264
|
+
'font-weight': 'var(--font-weight-low-emphasis)',
|
|
265
265
|
'line-height': 'var(--line-height-sm)',
|
|
266
266
|
}, '.typo-mono-sm-medium': {
|
|
267
|
-
'font-family': '
|
|
267
|
+
'font-family': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
268
268
|
'font-size': 'var(--font-size-sm)',
|
|
269
|
-
'font-weight': '
|
|
269
|
+
'font-weight': 'var(--font-weight-medium-emphasis)',
|
|
270
270
|
'line-height': 'var(--line-height-sm)',
|
|
271
271
|
}, '.typo-mono-sm-bold': {
|
|
272
|
-
'font-family': '
|
|
272
|
+
'font-family': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
273
273
|
'font-size': 'var(--font-size-sm)',
|
|
274
|
-
'font-weight': '
|
|
274
|
+
'font-weight': 'var(--font-weight-high-emphasis)',
|
|
275
275
|
'line-height': 'var(--line-height-sm)',
|
|
276
276
|
}, '.typo-mono-xs-regular': {
|
|
277
|
-
'font-family': '
|
|
277
|
+
'font-family': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
278
278
|
'font-size': 'var(--font-size-xs)',
|
|
279
|
-
'font-weight': '
|
|
279
|
+
'font-weight': 'var(--font-weight-low-emphasis)',
|
|
280
280
|
'line-height': 'var(--line-height-xs)',
|
|
281
281
|
}, '.typo-mono-xs-medium': {
|
|
282
|
-
'font-family': '
|
|
282
|
+
'font-family': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
283
283
|
'font-size': 'var(--font-size-xs)',
|
|
284
|
-
'font-weight': '
|
|
284
|
+
'font-weight': 'var(--font-weight-medium-emphasis)',
|
|
285
285
|
'line-height': 'var(--line-height-xs)',
|
|
286
286
|
}, '.typo-mono-xs-bold': {
|
|
287
|
-
'font-family': '
|
|
287
|
+
'font-family': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
288
288
|
'font-size': 'var(--font-size-xs)',
|
|
289
|
-
'font-weight': '
|
|
289
|
+
'font-weight': 'var(--font-weight-high-emphasis)',
|
|
290
290
|
'line-height': 'var(--line-height-xs)',
|
|
291
291
|
} }));
|
|
292
292
|
});
|
|
@@ -220,6 +220,32 @@ exports.colors = {
|
|
|
220
220
|
900: 'var(--color-orange-900)',
|
|
221
221
|
950: 'var(--color-orange-950)',
|
|
222
222
|
},
|
|
223
|
+
// Brand colors
|
|
224
|
+
brand: {
|
|
225
|
+
50: 'var(--color-brand-50)',
|
|
226
|
+
100: 'var(--color-brand-100)',
|
|
227
|
+
200: 'var(--color-brand-200)',
|
|
228
|
+
300: 'var(--color-brand-300)',
|
|
229
|
+
400: 'var(--color-brand-400)',
|
|
230
|
+
500: 'var(--color-brand-500)',
|
|
231
|
+
600: 'var(--color-brand-600)',
|
|
232
|
+
700: 'var(--color-brand-700)',
|
|
233
|
+
800: 'var(--color-brand-800)',
|
|
234
|
+
900: 'var(--color-brand-900)',
|
|
235
|
+
},
|
|
236
|
+
// Accent colors
|
|
237
|
+
accent: {
|
|
238
|
+
50: 'var(--color-accent-50)',
|
|
239
|
+
100: 'var(--color-accent-100)',
|
|
240
|
+
200: 'var(--color-accent-200)',
|
|
241
|
+
300: 'var(--color-accent-300)',
|
|
242
|
+
400: 'var(--color-accent-400)',
|
|
243
|
+
500: 'var(--color-accent-500)',
|
|
244
|
+
600: 'var(--color-accent-600)',
|
|
245
|
+
700: 'var(--color-accent-700)',
|
|
246
|
+
800: 'var(--color-accent-800)',
|
|
247
|
+
900: 'var(--color-accent-900)',
|
|
248
|
+
},
|
|
223
249
|
// Base colors
|
|
224
250
|
black: 'var(--color-base-black)',
|
|
225
251
|
white: 'var(--color-base-white)',
|