@primer/react-brand 0.3.1 → 0.4.0-rc.61e6d4a
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/CHANGELOG.md +198 -0
- package/README.md +25 -9
- package/lib/Accordion/Accordion.d.ts +9 -9
- package/lib/Button/Button.d.ts +6 -2
- package/lib/FAQ/FAQ.d.ts +14 -15
- package/lib/Heading/Heading.d.ts +4 -3
- package/lib/Hero/Hero.d.ts +3 -3
- package/lib/InlineLink/InlineLink.d.ts +4 -7
- package/lib/River/River.d.ts +47 -16
- package/lib/component-helpers.d.ts +21 -3
- package/lib/css/main.css +765 -326
- package/lib/css/stylesheets.d.ts +1 -0
- package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +2 -268
- package/lib/design-tokens/css/tokens/base/colors/color-scales.css +1 -1
- package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +18 -24
- package/lib/design-tokens/css/tokens/functional/colors/global.css +9 -1
- package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +2 -6
- package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +2 -9
- package/lib/design-tokens/css/tokens/functional/components/control/base.css +18 -0
- package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +39 -0
- package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +2 -5
- package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +2 -6
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size.css +3 -5
- package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
- package/lib/design-tokens/js/module/tokens/base/colors/color-scales.js +265 -265
- package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/colors/global.js +189 -41
- package/lib/design-tokens/js/module/tokens/functional/components/control/base.js +195 -0
- package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +3 -3
- package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +5 -5
- package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size.js +3 -35
- package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/functional/colors/global.js +9 -1
- package/lib/design-tokens/js/tokens/functional/components/control/base.js +16 -0
- package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size.js +3 -5
- package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/color-scales.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +13 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.js +13 -1
- package/lib/design-tokens/ts/tokens/functional/components/control/base.d.ts +31 -0
- package/lib/design-tokens/ts/tokens/functional/components/control/base.js +30 -0
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -3
- package/lib/design-tokens/ts/tokens/functional/size/size.js +3 -5
- package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
- package/lib/forms/Checkbox/Checkbox.d.ts +57 -0
- package/lib/forms/Checkbox/forms.visual.spec.d.ts +1 -0
- package/lib/forms/Checkbox/index.d.ts +1 -0
- package/lib/forms/FormControl/FormControl.d.ts +57 -0
- package/lib/forms/FormControl/index.d.ts +1 -0
- package/lib/forms/Select/Select.d.ts +58 -0
- package/lib/forms/Select/index.d.ts +1 -0
- package/lib/forms/TextInput/TextInput.d.ts +87 -0
- package/lib/forms/TextInput/index.d.ts +1 -0
- package/lib/forms/form-types.d.ts +2 -0
- package/lib/forms/index.d.ts +10 -0
- package/lib/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/package.json +18 -9
package/lib/css/main.css
CHANGED
|
@@ -91,277 +91,11 @@ select {
|
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
93
|
* Do not edit directly
|
|
94
|
-
* Generated on
|
|
94
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
95
95
|
*/
|
|
96
96
|
|
|
97
|
-
:root
|
|
98
|
-
|
|
99
|
-
--base-color-scale-gray-0: hsl(210, 25%, 98%);
|
|
100
|
-
--base-color-scale-gray-1-hsl: 210 24% 93%;
|
|
101
|
-
--base-color-scale-gray-1: hsl(210, 24%, 93%);
|
|
102
|
-
--base-color-scale-gray-2-hsl: 210 16% 85%;
|
|
103
|
-
--base-color-scale-gray-2: hsl(210, 16%, 85%);
|
|
104
|
-
--base-color-scale-gray-3-hsl: 210 13% 75%;
|
|
105
|
-
--base-color-scale-gray-3: hsl(210, 13%, 75%);
|
|
106
|
-
--base-color-scale-gray-4-hsl: 212 10% 62%;
|
|
107
|
-
--base-color-scale-gray-4: hsl(212, 10%, 62%);
|
|
108
|
-
--base-color-scale-gray-5-hsl: 210 8% 48%;
|
|
109
|
-
--base-color-scale-gray-5: hsl(210, 8%, 48%);
|
|
110
|
-
--base-color-scale-gray-6-hsl: 212 10% 38%;
|
|
111
|
-
--base-color-scale-gray-6: hsl(212, 10%, 38%);
|
|
112
|
-
--base-color-scale-gray-7-hsl: 212 11% 29%;
|
|
113
|
-
--base-color-scale-gray-7: hsl(212, 11%, 29%);
|
|
114
|
-
--base-color-scale-gray-8-hsl: 212 12% 22%;
|
|
115
|
-
--base-color-scale-gray-8: hsl(212, 12%, 22%);
|
|
116
|
-
--base-color-scale-gray-9-hsl: 213 13% 16%;
|
|
117
|
-
--base-color-scale-gray-9: hsl(213, 13%, 16%);
|
|
118
|
-
--base-color-scale-red-0-hsl: 4 100% 97%;
|
|
119
|
-
--base-color-scale-red-0: hsl(4, 100%, 97%);
|
|
120
|
-
--base-color-scale-red-1-hsl: 3 100% 91%;
|
|
121
|
-
--base-color-scale-red-1: hsl(3, 100%, 91%);
|
|
122
|
-
--base-color-scale-red-2-hsl: 2 100% 85%;
|
|
123
|
-
--base-color-scale-red-2: hsl(2, 100%, 85%);
|
|
124
|
-
--base-color-scale-red-3-hsl: 1 100% 76%;
|
|
125
|
-
--base-color-scale-red-3: hsl(1, 100%, 76%);
|
|
126
|
-
--base-color-scale-red-4-hsl: 359 95% 65%;
|
|
127
|
-
--base-color-scale-red-4: hsl(359, 95%, 65%);
|
|
128
|
-
--base-color-scale-red-5-hsl: 357 67% 50%;
|
|
129
|
-
--base-color-scale-red-5: hsl(357, 67%, 50%);
|
|
130
|
-
--base-color-scale-red-6-hsl: 356 71% 38%;
|
|
131
|
-
--base-color-scale-red-6: hsl(356, 71%, 38%);
|
|
132
|
-
--base-color-scale-red-7-hsl: 355 71% 30%;
|
|
133
|
-
--base-color-scale-red-7: hsl(355, 71%, 30%);
|
|
134
|
-
--base-color-scale-red-8-hsl: 354 74% 24%;
|
|
135
|
-
--base-color-scale-red-8: hsl(354, 74%, 24%);
|
|
136
|
-
--base-color-scale-red-9-hsl: 352 91% 17%;
|
|
137
|
-
--base-color-scale-red-9: hsl(352, 91%, 17%);
|
|
138
|
-
--base-color-scale-coral-0-hsl: 15 100% 96%;
|
|
139
|
-
--base-color-scale-coral-0: hsl(15, 100%, 96%);
|
|
140
|
-
--base-color-scale-coral-1-hsl: 12 100% 90%;
|
|
141
|
-
--base-color-scale-coral-1: hsl(12, 100%, 90%);
|
|
142
|
-
--base-color-scale-coral-2-hsl: 12 100% 82%;
|
|
143
|
-
--base-color-scale-coral-2: hsl(12, 100%, 82%);
|
|
144
|
-
--base-color-scale-coral-3-hsl: 11 97% 72%;
|
|
145
|
-
--base-color-scale-coral-3: hsl(11, 97%, 72%);
|
|
146
|
-
--base-color-scale-coral-4-hsl: 11 81% 60%;
|
|
147
|
-
--base-color-scale-coral-4: hsl(11, 81%, 60%);
|
|
148
|
-
--base-color-scale-coral-5-hsl: 9 64% 47%;
|
|
149
|
-
--base-color-scale-coral-5: hsl(9, 64%, 47%);
|
|
150
|
-
--base-color-scale-coral-6-hsl: 9 70% 36%;
|
|
151
|
-
--base-color-scale-coral-6: hsl(9, 70%, 36%);
|
|
152
|
-
--base-color-scale-coral-7-hsl: 8 79% 28%;
|
|
153
|
-
--base-color-scale-coral-7: hsl(8, 79%, 28%);
|
|
154
|
-
--base-color-scale-coral-8-hsl: 7 91% 22%;
|
|
155
|
-
--base-color-scale-coral-8: hsl(7, 91%, 22%);
|
|
156
|
-
--base-color-scale-coral-9-hsl: 6 98% 16%;
|
|
157
|
-
--base-color-scale-coral-9: hsl(6, 98%, 16%);
|
|
158
|
-
--base-color-scale-orange-0-hsl: 28 100% 95%;
|
|
159
|
-
--base-color-scale-orange-0: hsl(28, 100%, 95%);
|
|
160
|
-
--base-color-scale-orange-1-hsl: 28 100% 85%;
|
|
161
|
-
--base-color-scale-orange-1: hsl(28, 100%, 85%);
|
|
162
|
-
--base-color-scale-orange-2-hsl: 27 100% 74%;
|
|
163
|
-
--base-color-scale-orange-2: hsl(27, 100%, 74%);
|
|
164
|
-
--base-color-scale-orange-3-hsl: 25 96% 63%;
|
|
165
|
-
--base-color-scale-orange-3: hsl(25, 96%, 63%);
|
|
166
|
-
--base-color-scale-orange-4-hsl: 24 76% 51%;
|
|
167
|
-
--base-color-scale-orange-4: hsl(24, 76%, 51%);
|
|
168
|
-
--base-color-scale-orange-5-hsl: 24 100% 37%;
|
|
169
|
-
--base-color-scale-orange-5: hsl(24, 100%, 37%);
|
|
170
|
-
--base-color-scale-orange-6-hsl: 23 100% 29%;
|
|
171
|
-
--base-color-scale-orange-6: hsl(23, 100%, 29%);
|
|
172
|
-
--base-color-scale-orange-7-hsl: 22 100% 23%;
|
|
173
|
-
--base-color-scale-orange-7: hsl(22, 100%, 23%);
|
|
174
|
-
--base-color-scale-orange-8-hsl: 22 100% 18%;
|
|
175
|
-
--base-color-scale-orange-8: hsl(22, 100%, 18%);
|
|
176
|
-
--base-color-scale-orange-9-hsl: 19 100% 14%;
|
|
177
|
-
--base-color-scale-orange-9: hsl(19, 100%, 14%);
|
|
178
|
-
--base-color-scale-yellow-0-hsl: 50 89% 89%;
|
|
179
|
-
--base-color-scale-yellow-0: hsl(50, 89%, 89%);
|
|
180
|
-
--base-color-scale-yellow-1-hsl: 48 87% 73%;
|
|
181
|
-
--base-color-scale-yellow-1: hsl(48, 87%, 73%);
|
|
182
|
-
--base-color-scale-yellow-2-hsl: 46 76% 60%;
|
|
183
|
-
--base-color-scale-yellow-2: hsl(46, 76%, 60%);
|
|
184
|
-
--base-color-scale-yellow-3-hsl: 44 65% 50%;
|
|
185
|
-
--base-color-scale-yellow-3: hsl(44, 65%, 50%);
|
|
186
|
-
--base-color-scale-yellow-4-hsl: 42 100% 37%;
|
|
187
|
-
--base-color-scale-yellow-4: hsl(42, 100%, 37%);
|
|
188
|
-
--base-color-scale-yellow-5-hsl: 40 100% 30%;
|
|
189
|
-
--base-color-scale-yellow-5: hsl(40, 100%, 30%);
|
|
190
|
-
--base-color-scale-yellow-6-hsl: 37 100% 24%;
|
|
191
|
-
--base-color-scale-yellow-6: hsl(37, 100%, 24%);
|
|
192
|
-
--base-color-scale-yellow-7-hsl: 36 98% 19%;
|
|
193
|
-
--base-color-scale-yellow-7: hsl(36, 98%, 19%);
|
|
194
|
-
--base-color-scale-yellow-8-hsl: 35 100% 15%;
|
|
195
|
-
--base-color-scale-yellow-8: hsl(35, 100%, 15%);
|
|
196
|
-
--base-color-scale-yellow-9-hsl: 34 90% 12%;
|
|
197
|
-
--base-color-scale-yellow-9: hsl(34, 90%, 12%);
|
|
198
|
-
--base-color-scale-lemon-0-hsl: 54 95% 85%;
|
|
199
|
-
--base-color-scale-lemon-0: hsl(54, 95%, 85%);
|
|
200
|
-
--base-color-scale-lemon-1-hsl: 52 87% 67%;
|
|
201
|
-
--base-color-scale-lemon-1: hsl(52, 87%, 67%);
|
|
202
|
-
--base-color-scale-lemon-2-hsl: 51 70% 56%;
|
|
203
|
-
--base-color-scale-lemon-2: hsl(51, 70%, 56%);
|
|
204
|
-
--base-color-scale-lemon-3-hsl: 50 72% 45%;
|
|
205
|
-
--base-color-scale-lemon-3: hsl(50, 72%, 45%);
|
|
206
|
-
--base-color-scale-lemon-4-hsl: 50 98% 33%;
|
|
207
|
-
--base-color-scale-lemon-4: hsl(50, 98%, 33%);
|
|
208
|
-
--base-color-scale-lemon-5-hsl: 49 100% 26%;
|
|
209
|
-
--base-color-scale-lemon-5: hsl(49, 100%, 26%);
|
|
210
|
-
--base-color-scale-lemon-6-hsl: 48 100% 20%;
|
|
211
|
-
--base-color-scale-lemon-6: hsl(48, 100%, 20%);
|
|
212
|
-
--base-color-scale-lemon-7-hsl: 47 100% 16%;
|
|
213
|
-
--base-color-scale-lemon-7: hsl(47, 100%, 16%);
|
|
214
|
-
--base-color-scale-lemon-8-hsl: 46 100% 13%;
|
|
215
|
-
--base-color-scale-lemon-8: hsl(46, 100%, 13%);
|
|
216
|
-
--base-color-scale-lemon-9-hsl: 43 100% 10%;
|
|
217
|
-
--base-color-scale-lemon-9: hsl(43, 100%, 10%);
|
|
218
|
-
--base-color-scale-lime-0-hsl: 75 86% 85%;
|
|
219
|
-
--base-color-scale-lime-0: hsl(75, 86%, 85%);
|
|
220
|
-
--base-color-scale-lime-1-hsl: 76 75% 70%;
|
|
221
|
-
--base-color-scale-lime-1: hsl(76, 75%, 70%);
|
|
222
|
-
--base-color-scale-lime-2-hsl: 76 59% 58%;
|
|
223
|
-
--base-color-scale-lime-2: hsl(76, 59%, 58%);
|
|
224
|
-
--base-color-scale-lime-3-hsl: 77 51% 48%;
|
|
225
|
-
--base-color-scale-lime-3: hsl(77, 51%, 48%);
|
|
226
|
-
--base-color-scale-lime-4-hsl: 78 57% 38%;
|
|
227
|
-
--base-color-scale-lime-4: hsl(78, 57%, 38%);
|
|
228
|
-
--base-color-scale-lime-5-hsl: 80 64% 29%;
|
|
229
|
-
--base-color-scale-lime-5: hsl(80, 64%, 29%);
|
|
230
|
-
--base-color-scale-lime-6-hsl: 82 66% 22%;
|
|
231
|
-
--base-color-scale-lime-6: hsl(82, 66%, 22%);
|
|
232
|
-
--base-color-scale-lime-7-hsl: 84 85% 16%;
|
|
233
|
-
--base-color-scale-lime-7: hsl(84, 85%, 16%);
|
|
234
|
-
--base-color-scale-lime-8-hsl: 86 90% 12%;
|
|
235
|
-
--base-color-scale-lime-8: hsl(86, 90%, 12%);
|
|
236
|
-
--base-color-scale-lime-9-hsl: 88 96% 9%;
|
|
237
|
-
--base-color-scale-lime-9: hsl(88, 96%, 9%);
|
|
238
|
-
--base-color-scale-green-0-hsl: 133 80% 92%;
|
|
239
|
-
--base-color-scale-green-0: hsl(133, 80%, 92%);
|
|
240
|
-
--base-color-scale-green-1-hsl: 134 66% 80%;
|
|
241
|
-
--base-color-scale-green-1: hsl(134, 66%, 80%);
|
|
242
|
-
--base-color-scale-green-2-hsl: 135 62% 65%;
|
|
243
|
-
--base-color-scale-green-2: hsl(135, 62%, 65%);
|
|
244
|
-
--base-color-scale-green-3-hsl: 136 50% 53%;
|
|
245
|
-
--base-color-scale-green-3: hsl(136, 50%, 53%);
|
|
246
|
-
--base-color-scale-green-4-hsl: 137 57% 41%;
|
|
247
|
-
--base-color-scale-green-4: hsl(137, 57%, 41%);
|
|
248
|
-
--base-color-scale-green-5-hsl: 137 66% 30%;
|
|
249
|
-
--base-color-scale-green-5: hsl(137, 66%, 30%);
|
|
250
|
-
--base-color-scale-green-6-hsl: 138 71% 23%;
|
|
251
|
-
--base-color-scale-green-6: hsl(138, 71%, 23%);
|
|
252
|
-
--base-color-scale-green-7-hsl: 141 90% 16%;
|
|
253
|
-
--base-color-scale-green-7: hsl(141, 90%, 16%);
|
|
254
|
-
--base-color-scale-green-8-hsl: 142 100% 12%;
|
|
255
|
-
--base-color-scale-green-8: hsl(142, 100%, 12%);
|
|
256
|
-
--base-color-scale-green-9-hsl: 143 100% 9%;
|
|
257
|
-
--base-color-scale-green-9: hsl(143, 100%, 9%);
|
|
258
|
-
--base-color-scale-teal-0-hsl: 172 72% 92%;
|
|
259
|
-
--base-color-scale-teal-0: hsl(172, 72%, 92%);
|
|
260
|
-
--base-color-scale-teal-1-hsl: 173 58% 80%;
|
|
261
|
-
--base-color-scale-teal-1: hsl(173, 58%, 80%);
|
|
262
|
-
--base-color-scale-teal-2-hsl: 177 57% 63%;
|
|
263
|
-
--base-color-scale-teal-2: hsl(177, 57%, 63%);
|
|
264
|
-
--base-color-scale-teal-3-hsl: 177 46% 51%;
|
|
265
|
-
--base-color-scale-teal-3: hsl(177, 46%, 51%);
|
|
266
|
-
--base-color-scale-teal-4-hsl: 179 51% 41%;
|
|
267
|
-
--base-color-scale-teal-4: hsl(179, 51%, 41%);
|
|
268
|
-
--base-color-scale-teal-5-hsl: 180 66% 29%;
|
|
269
|
-
--base-color-scale-teal-5: hsl(180, 66%, 29%);
|
|
270
|
-
--base-color-scale-teal-6-hsl: 181 67% 23%;
|
|
271
|
-
--base-color-scale-teal-6: hsl(181, 67%, 23%);
|
|
272
|
-
--base-color-scale-teal-7-hsl: 182 95% 15%;
|
|
273
|
-
--base-color-scale-teal-7: hsl(182, 95%, 15%);
|
|
274
|
-
--base-color-scale-teal-8-hsl: 182 82% 13%;
|
|
275
|
-
--base-color-scale-teal-8: hsl(182, 82%, 13%);
|
|
276
|
-
--base-color-scale-teal-9-hsl: 182 80% 10%;
|
|
277
|
-
--base-color-scale-teal-9: hsl(182, 80%, 10%);
|
|
278
|
-
--base-color-scale-blue-0-hsl: 200 100% 95%;
|
|
279
|
-
--base-color-scale-blue-0: hsl(200, 100%, 95%);
|
|
280
|
-
--base-color-scale-blue-1-hsl: 203 100% 87%;
|
|
281
|
-
--base-color-scale-blue-1: hsl(203, 100%, 87%);
|
|
282
|
-
--base-color-scale-blue-2-hsl: 205 100% 77%;
|
|
283
|
-
--base-color-scale-blue-2: hsl(205, 100%, 77%);
|
|
284
|
-
--base-color-scale-blue-3-hsl: 208 100% 67%;
|
|
285
|
-
--base-color-scale-blue-3: hsl(208, 100%, 67%);
|
|
286
|
-
--base-color-scale-blue-4-hsl: 211 100% 58%;
|
|
287
|
-
--base-color-scale-blue-4: hsl(211, 100%, 58%);
|
|
288
|
-
--base-color-scale-blue-5-hsl: 212 92% 45%;
|
|
289
|
-
--base-color-scale-blue-5: hsl(212, 92%, 45%);
|
|
290
|
-
--base-color-scale-blue-6-hsl: 213 95% 36%;
|
|
291
|
-
--base-color-scale-blue-6: hsl(213, 95%, 36%);
|
|
292
|
-
--base-color-scale-blue-7-hsl: 214 96% 29%;
|
|
293
|
-
--base-color-scale-blue-7: hsl(214, 96%, 29%);
|
|
294
|
-
--base-color-scale-blue-8-hsl: 216 82% 24%;
|
|
295
|
-
--base-color-scale-blue-8: hsl(216, 82%, 24%);
|
|
296
|
-
--base-color-scale-blue-9-hsl: 217 89% 18%;
|
|
297
|
-
--base-color-scale-blue-9: hsl(217, 89%, 18%);
|
|
298
|
-
--base-color-scale-indigo-0-hsl: 229 100% 97%;
|
|
299
|
-
--base-color-scale-indigo-0: hsl(229, 100%, 97%);
|
|
300
|
-
--base-color-scale-indigo-1-hsl: 231 100% 92%;
|
|
301
|
-
--base-color-scale-indigo-1: hsl(231, 100%, 92%);
|
|
302
|
-
--base-color-scale-indigo-2-hsl: 232 100% 86%;
|
|
303
|
-
--base-color-scale-indigo-2: hsl(232, 100%, 86%);
|
|
304
|
-
--base-color-scale-indigo-3-hsl: 234 100% 80%;
|
|
305
|
-
--base-color-scale-indigo-3: hsl(234, 100%, 80%);
|
|
306
|
-
--base-color-scale-indigo-4-hsl: 234 100% 73%;
|
|
307
|
-
--base-color-scale-indigo-4: hsl(234, 100%, 73%);
|
|
308
|
-
--base-color-scale-indigo-5-hsl: 237 84% 64%;
|
|
309
|
-
--base-color-scale-indigo-5: hsl(237, 84%, 64%);
|
|
310
|
-
--base-color-scale-indigo-6-hsl: 238 61% 53%;
|
|
311
|
-
--base-color-scale-indigo-6: hsl(238, 61%, 53%);
|
|
312
|
-
--base-color-scale-indigo-7-hsl: 237 58% 41%;
|
|
313
|
-
--base-color-scale-indigo-7: hsl(237, 58%, 41%);
|
|
314
|
-
--base-color-scale-indigo-8-hsl: 235 58% 32%;
|
|
315
|
-
--base-color-scale-indigo-8: hsl(235, 58%, 32%);
|
|
316
|
-
--base-color-scale-indigo-9-hsl: 235 57% 23%;
|
|
317
|
-
--base-color-scale-indigo-9: hsl(235, 57%, 23%);
|
|
318
|
-
--base-color-scale-purple-0-hsl: 285 100% 97%;
|
|
319
|
-
--base-color-scale-purple-0: hsl(285, 100%, 97%);
|
|
320
|
-
--base-color-scale-purple-1-hsl: 271 100% 92%;
|
|
321
|
-
--base-color-scale-purple-1: hsl(271, 100%, 92%);
|
|
322
|
-
--base-color-scale-purple-2-hsl: 267 100% 86%;
|
|
323
|
-
--base-color-scale-purple-2: hsl(267, 100%, 86%);
|
|
324
|
-
--base-color-scale-purple-3-hsl: 265 100% 80%;
|
|
325
|
-
--base-color-scale-purple-3: hsl(265, 100%, 80%);
|
|
326
|
-
--base-color-scale-purple-4-hsl: 261 92% 72%;
|
|
327
|
-
--base-color-scale-purple-4: hsl(261, 92%, 72%);
|
|
328
|
-
--base-color-scale-purple-5-hsl: 261 69% 59%;
|
|
329
|
-
--base-color-scale-purple-5: hsl(261, 69%, 59%);
|
|
330
|
-
--base-color-scale-purple-6-hsl: 261 53% 48%;
|
|
331
|
-
--base-color-scale-purple-6: hsl(261, 53%, 48%);
|
|
332
|
-
--base-color-scale-purple-7-hsl: 261 56% 38%;
|
|
333
|
-
--base-color-scale-purple-7: hsl(261, 56%, 38%);
|
|
334
|
-
--base-color-scale-purple-8-hsl: 261 59% 30%;
|
|
335
|
-
--base-color-scale-purple-8: hsl(261, 59%, 30%);
|
|
336
|
-
--base-color-scale-purple-9-hsl: 260 66% 23%;
|
|
337
|
-
--base-color-scale-purple-9: hsl(260, 66%, 23%);
|
|
338
|
-
--base-color-scale-pink-0-hsl: 330 100% 97%;
|
|
339
|
-
--base-color-scale-pink-0: hsl(330, 100%, 97%);
|
|
340
|
-
--base-color-scale-pink-1-hsl: 327 100% 91%;
|
|
341
|
-
--base-color-scale-pink-1: hsl(327, 100%, 91%);
|
|
342
|
-
--base-color-scale-pink-2-hsl: 327 100% 84%;
|
|
343
|
-
--base-color-scale-pink-2: hsl(327, 100%, 84%);
|
|
344
|
-
--base-color-scale-pink-3-hsl: 326 100% 75%;
|
|
345
|
-
--base-color-scale-pink-3: hsl(326, 100%, 75%);
|
|
346
|
-
--base-color-scale-pink-4-hsl: 325 76% 63%;
|
|
347
|
-
--base-color-scale-pink-4: hsl(325, 76%, 63%);
|
|
348
|
-
--base-color-scale-pink-5-hsl: 324 54% 49%;
|
|
349
|
-
--base-color-scale-pink-5: hsl(324, 54%, 49%);
|
|
350
|
-
--base-color-scale-pink-6-hsl: 323 59% 38%;
|
|
351
|
-
--base-color-scale-pink-6: hsl(323, 59%, 38%);
|
|
352
|
-
--base-color-scale-pink-7-hsl: 322 58% 30%;
|
|
353
|
-
--base-color-scale-pink-7: hsl(322, 58%, 30%);
|
|
354
|
-
--base-color-scale-pink-8-hsl: 320 67% 23%;
|
|
355
|
-
--base-color-scale-pink-8: hsl(320, 67%, 23%);
|
|
356
|
-
--base-color-scale-pink-9-hsl: 319 93% 16%;
|
|
357
|
-
--base-color-scale-pink-9: hsl(319, 93%, 16%);
|
|
358
|
-
--base-color-scale-black-0-hsl: 213 14% 12%;
|
|
359
|
-
--base-color-scale-black-0: hsl(213, 14%, 12%);
|
|
360
|
-
--base-color-scale-white-0-hsl: 0 100% 100%;
|
|
361
|
-
--base-color-scale-white-0: hsl(0, 100%, 100%);
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
[data-color-mode="light"] {
|
|
97
|
+
:root,
|
|
98
|
+
[data-color-mode="light"] {
|
|
365
99
|
--base-color-scale-gray-0-hsl: 210 25% 98%;
|
|
366
100
|
--base-color-scale-gray-0: hsl(210, 25%, 98%);
|
|
367
101
|
--base-color-scale-gray-1-hsl: 210 24% 93%;
|
|
@@ -897,7 +631,7 @@ select {
|
|
|
897
631
|
|
|
898
632
|
/**
|
|
899
633
|
* Do not edit directly
|
|
900
|
-
* Generated on
|
|
634
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
901
635
|
*/
|
|
902
636
|
|
|
903
637
|
:root {
|
|
@@ -922,7 +656,22 @@ select {
|
|
|
922
656
|
|
|
923
657
|
/**
|
|
924
658
|
* Do not edit directly
|
|
925
|
-
* Generated on
|
|
659
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
660
|
+
*/
|
|
661
|
+
|
|
662
|
+
:root {
|
|
663
|
+
--base-text-weight-heavy: 900;
|
|
664
|
+
--base-text-weight-extrabold: 800;
|
|
665
|
+
--base-text-weight-bold: 700;
|
|
666
|
+
--base-text-weight-semibold: 600;
|
|
667
|
+
--base-text-weight-medium: 500;
|
|
668
|
+
--base-text-weight-normal: 400;
|
|
669
|
+
--base-text-weight-light: 300;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* Do not edit directly
|
|
674
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
926
675
|
*/
|
|
927
676
|
|
|
928
677
|
:root {
|
|
@@ -1101,7 +850,7 @@ select {
|
|
|
1101
850
|
|
|
1102
851
|
/**
|
|
1103
852
|
* Do not edit directly
|
|
1104
|
-
* Generated on
|
|
853
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
1105
854
|
*/
|
|
1106
855
|
|
|
1107
856
|
:root {
|
|
@@ -1115,7 +864,7 @@ select {
|
|
|
1115
864
|
|
|
1116
865
|
/**
|
|
1117
866
|
* Do not edit directly
|
|
1118
|
-
* Generated on
|
|
867
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
1119
868
|
*/
|
|
1120
869
|
|
|
1121
870
|
:root {
|
|
@@ -1133,33 +882,19 @@ select {
|
|
|
1133
882
|
|
|
1134
883
|
/**
|
|
1135
884
|
* Do not edit directly
|
|
1136
|
-
* Generated on
|
|
885
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
1137
886
|
*/
|
|
1138
887
|
|
|
1139
|
-
:root
|
|
1140
|
-
--brand-color-accent-fg: var(--base-color-scale-pink-5);
|
|
1141
|
-
--brand-color-accent-emphasis: var(--base-color-scale-pink-5);
|
|
1142
|
-
--brand-color-accent-muted: hsl(var(--base-color-scale-pink-3-hsl) / 60%);
|
|
1143
|
-
--brand-color-accent-subtle: var(--base-color-scale-pink-0);
|
|
1144
|
-
--brand-color-text-default: var(--base-color-scale-gray-9);
|
|
1145
|
-
--brand-color-text-muted: var(--base-color-scale-gray-6);
|
|
1146
|
-
--brand-color-text-subtle: var(--base-color-scale-gray-5);
|
|
1147
|
-
--brand-color-text-onEmphasis: var(--base-color-scale-white-0);
|
|
1148
|
-
--brand-color-neutral-emphasisPlus: var(--base-color-scale-gray-9);
|
|
1149
|
-
--brand-color-neutral-emphasis: var(--base-color-scale-gray-5);
|
|
1150
|
-
--brand-color-neutral-muted: hsl(var(--base-color-scale-gray-3-hsl) / 99.8%);
|
|
1151
|
-
--brand-color-neutral-subtle: hsl(var(--base-color-scale-gray-1-hsl) / 99.5%);
|
|
1152
|
-
--brand-color-canvas-default: var(--base-color-scale-white-0);
|
|
1153
|
-
--brand-color-canvas-overlay: var(--base-color-scale-white-0);
|
|
1154
|
-
--brand-color-canvas-inset: var(--base-color-scale-gray-0);
|
|
1155
|
-
--brand-color-canvas-subtle: var(--base-color-scale-gray-0);
|
|
1156
|
-
--brand-color-border-default: var(--base-color-scale-gray-2);
|
|
1157
|
-
--brand-color-border-muted: hsl(var(--base-color-scale-gray-2-hsl) / 99.7%);
|
|
1158
|
-
--brand-color-border-subtle: hsl(var(--base-color-scale-black-0-hsl) / 99.85%);
|
|
1159
|
-
--brand-color-focus: var(--base-color-scale-blue-5);
|
|
1160
|
-
}
|
|
1161
|
-
|
|
888
|
+
:root,
|
|
1162
889
|
[data-color-mode="light"] {
|
|
890
|
+
--brand-color-success-fg: var(--base-color-scale-green-5);
|
|
891
|
+
--brand-color-success-emphasis: var(--base-color-scale-green-4);
|
|
892
|
+
--brand-color-success-muted: hsl(var(--base-color-scale-green-3-hsl) / 60%);
|
|
893
|
+
--brand-color-success-subtle: var(--base-color-scale-green-0);
|
|
894
|
+
--brand-color-error-fg: var(--base-color-scale-red-5);
|
|
895
|
+
--brand-color-error-emphasis: var(--base-color-scale-red-5);
|
|
896
|
+
--brand-color-error-muted: hsl(var(--base-color-scale-red-3-hsl) / 60%);
|
|
897
|
+
--brand-color-error-subtle: var(--base-color-scale-red-0);
|
|
1163
898
|
--brand-color-accent-fg: var(--base-color-scale-pink-5);
|
|
1164
899
|
--brand-color-accent-emphasis: var(--base-color-scale-pink-5);
|
|
1165
900
|
--brand-color-accent-muted: hsl(var(--base-color-scale-pink-3-hsl) / 60%);
|
|
@@ -1183,6 +918,14 @@ select {
|
|
|
1183
918
|
}
|
|
1184
919
|
|
|
1185
920
|
[data-color-mode="dark"] {
|
|
921
|
+
--brand-color-success-fg: var(--base-color-scale-green-3);
|
|
922
|
+
--brand-color-success-emphasis: var(--base-color-scale-green-5);
|
|
923
|
+
--brand-color-success-muted: hsl(var(--base-color-scale-green-4-hsl) / 60%);
|
|
924
|
+
--brand-color-success-subtle: hsl(var(--base-color-scale-green-4-hsl) / 85%);
|
|
925
|
+
--brand-color-error-fg: var(--base-color-scale-red-4);
|
|
926
|
+
--brand-color-error-emphasis: var(--base-color-scale-red-5);
|
|
927
|
+
--brand-color-error-muted: hsl(var(--base-color-scale-red-4-hsl) / 60%);
|
|
928
|
+
--brand-color-error-subtle: hsl(var(--base-color-scale-red-4-hsl) / 85%);
|
|
1186
929
|
--brand-color-accent-fg: var(--base-color-scale-pink-3);
|
|
1187
930
|
--brand-color-accent-emphasis: var(--base-color-scale-pink-5);
|
|
1188
931
|
--brand-color-accent-muted: hsl(var(--base-color-scale-pink-4-hsl) / 60%);
|
|
@@ -1335,17 +1078,10 @@ select {
|
|
|
1335
1078
|
|
|
1336
1079
|
/**
|
|
1337
1080
|
* Do not edit directly
|
|
1338
|
-
* Generated on
|
|
1081
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
1339
1082
|
*/
|
|
1340
1083
|
|
|
1341
|
-
:root
|
|
1342
|
-
--brand-Button-background-base: var(--base-color-scale-black-0);
|
|
1343
|
-
--brand-Button-background-overlay: linear-gradient(180deg, hsla(0, 0%, 100%, 0.15) 0, hsla(0, 0%, 100%, 0) 100%), var(--base-color-scale-black-0);
|
|
1344
|
-
--brand-Button-shadow-default: 0 0 0 1px var(--base-color-scale-black-0);
|
|
1345
|
-
--brand-Button-shadow-hover: 0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02);
|
|
1346
|
-
--brand-Button-shadow-focus: hsl(var(--base-color-scale-black-0-hsl) / 15%) 0 0 0 4px;
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1084
|
+
:root,
|
|
1349
1085
|
[data-color-mode="light"] {
|
|
1350
1086
|
--brand-Button-background-base: var(--base-color-scale-black-0);
|
|
1351
1087
|
--brand-Button-background-overlay: linear-gradient(180deg, hsla(0, 0%, 100%, 0.15) 0, hsla(0, 0%, 100%, 0) 100%), var(--base-color-scale-black-0);
|
|
@@ -1474,7 +1210,7 @@ select {
|
|
|
1474
1210
|
|
|
1475
1211
|
/**
|
|
1476
1212
|
* Do not edit directly
|
|
1477
|
-
* Generated on
|
|
1213
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
1478
1214
|
*/
|
|
1479
1215
|
|
|
1480
1216
|
:root {
|
|
@@ -1484,7 +1220,7 @@ select {
|
|
|
1484
1220
|
|
|
1485
1221
|
/**
|
|
1486
1222
|
* Do not edit directly
|
|
1487
|
-
* Generated on
|
|
1223
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
1488
1224
|
*/
|
|
1489
1225
|
|
|
1490
1226
|
:root {
|
|
@@ -1607,14 +1343,10 @@ select {
|
|
|
1607
1343
|
|
|
1608
1344
|
/**
|
|
1609
1345
|
* Do not edit directly
|
|
1610
|
-
* Generated on
|
|
1346
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
1611
1347
|
*/
|
|
1612
1348
|
|
|
1613
|
-
:root
|
|
1614
|
-
--brand-InlineLink-color-rest: var(--base-color-scale-blue-5);
|
|
1615
|
-
--brand-InlineLink-color-pressed: var(--base-color-scale-blue-7);
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1349
|
+
:root,
|
|
1618
1350
|
[data-color-mode="light"] {
|
|
1619
1351
|
--brand-InlineLink-color-rest: var(--base-color-scale-blue-5);
|
|
1620
1352
|
--brand-InlineLink-color-pressed: var(--base-color-scale-blue-7);
|
|
@@ -1716,14 +1448,10 @@ select {
|
|
|
1716
1448
|
|
|
1717
1449
|
/**
|
|
1718
1450
|
* Do not edit directly
|
|
1719
|
-
* Generated on
|
|
1451
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
1720
1452
|
*/
|
|
1721
1453
|
|
|
1722
|
-
:root
|
|
1723
|
-
--brand-Accordion-toggle-color-start: var(--brand-color-accent-fg);
|
|
1724
|
-
--brand-Accordion-toggle-color-end: var(--brand-color-accent-fg);
|
|
1725
|
-
}
|
|
1726
|
-
|
|
1454
|
+
:root,
|
|
1727
1455
|
[data-color-mode="light"] {
|
|
1728
1456
|
--brand-Accordion-toggle-color-start: var(--brand-color-accent-fg);
|
|
1729
1457
|
--brand-Accordion-toggle-color-end: var(--brand-color-accent-fg);
|
|
@@ -1872,7 +1600,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
1872
1600
|
|
|
1873
1601
|
/**
|
|
1874
1602
|
* Do not edit directly
|
|
1875
|
-
* Generated on
|
|
1603
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
1876
1604
|
*/
|
|
1877
1605
|
|
|
1878
1606
|
:root {
|
|
@@ -1882,13 +1610,10 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
1882
1610
|
|
|
1883
1611
|
/**
|
|
1884
1612
|
* Do not edit directly
|
|
1885
|
-
* Generated on
|
|
1613
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
1886
1614
|
*/
|
|
1887
1615
|
|
|
1888
|
-
:root
|
|
1889
|
-
--brand-FAQ-heading-color: var(--brand-color-text-default);
|
|
1890
|
-
}
|
|
1891
|
-
|
|
1616
|
+
:root,
|
|
1892
1617
|
[data-color-mode="light"] {
|
|
1893
1618
|
--brand-FAQ-heading-color: var(--brand-color-text-default);
|
|
1894
1619
|
}
|
|
@@ -1953,3 +1678,717 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
1953
1678
|
}
|
|
1954
1679
|
}
|
|
1955
1680
|
|
|
1681
|
+
/**
|
|
1682
|
+
* Do not edit directly
|
|
1683
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
1684
|
+
*/
|
|
1685
|
+
|
|
1686
|
+
:root {
|
|
1687
|
+
--brand-control-animation-easing: cubic-bezier(0.33, 1, 0.68, 1);
|
|
1688
|
+
--brand-control-animation-duration: 80ms;
|
|
1689
|
+
--brand-control-border-radius: var(--brand-borderRadius-medium);
|
|
1690
|
+
--brand-control-large-fontSize: var(--brand-text-size-300);
|
|
1691
|
+
--brand-control-large-fontWeight: var(--brand-text-weight-300);
|
|
1692
|
+
--brand-control-large-padding: var(--base-size-12);
|
|
1693
|
+
--brand-control-large-size: var(--base-size-48);
|
|
1694
|
+
--brand-control-medium-fontSize: var(--brand-text-size-200);
|
|
1695
|
+
--brand-control-medium-fontWeight: var(--brand-text-weight-200);
|
|
1696
|
+
--brand-control-medium-padding: 0.625rem;
|
|
1697
|
+
--brand-control-medium-size: 2.5rem;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
/**
|
|
1701
|
+
* Do not edit directly
|
|
1702
|
+
* Generated on Thu, 15 Sep 2022 10:40:43 GMT
|
|
1703
|
+
*/
|
|
1704
|
+
|
|
1705
|
+
:root,
|
|
1706
|
+
[data-color-mode="light"] {
|
|
1707
|
+
--brand-control-color-border-default: var(--base-color-scale-gray-4);
|
|
1708
|
+
--brand-control-color-border-disabled: var(--base-color-scale-gray-2);
|
|
1709
|
+
--brand-control-color-canvas-disabled: var(--base-color-scale-gray-1);
|
|
1710
|
+
--brand-control-color-fg-default: var(--brand-color-text-default);
|
|
1711
|
+
--brand-control-color-fg-disabled: var(--base-color-scale-gray-4);
|
|
1712
|
+
--brand-control-checkbox-bg-default: var(--base-color-scale-white-0);
|
|
1713
|
+
--brand-control-checkbox-bg-checked: var(--base-color-scale-black-0);
|
|
1714
|
+
--brand-control-checkbox-bg-indeterminate: var(--base-color-scale-black-0);
|
|
1715
|
+
--brand-control-checkbox-bg-disabled: var(--base-color-scale-gray-1);
|
|
1716
|
+
--brand-control-checkbox-fg-checked: var(--base-color-scale-white-0);
|
|
1717
|
+
--brand-control-checkbox-border-default: var(--base-color-scale-gray-4);
|
|
1718
|
+
--brand-control-checkbox-border-checked: var(--base-color-scale-black-0);
|
|
1719
|
+
--brand-control-checkbox-border-indeterminate: var(--base-color-scale-black-0);
|
|
1720
|
+
--brand-control-checkbox-border-disabled: var(--base-color-scale-gray-2);
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
[data-color-mode="dark"] {
|
|
1724
|
+
--brand-control-color-border-default: var(--base-color-scale-gray-4);
|
|
1725
|
+
--brand-control-color-border-disabled: var(--base-color-scale-gray-5);
|
|
1726
|
+
--brand-control-color-canvas-disabled: var(--base-color-scale-gray-8);
|
|
1727
|
+
--brand-control-color-fg-default: var(--brand-color-text-default);
|
|
1728
|
+
--brand-control-color-fg-disabled: var(--base-color-scale-gray-5);
|
|
1729
|
+
--brand-control-checkbox-bg-default: var(--base-color-scale-gray-7);
|
|
1730
|
+
--brand-control-checkbox-bg-checked: var(--base-color-scale-white-0);
|
|
1731
|
+
--brand-control-checkbox-bg-indeterminate: var(--base-color-scale-white-0);
|
|
1732
|
+
--brand-control-checkbox-bg-disabled: var(--base-color-scale-gray-4);
|
|
1733
|
+
--brand-control-checkbox-fg-checked: var(--base-color-scale-black-0);
|
|
1734
|
+
--brand-control-checkbox-border-default: var(--base-color-scale-gray-4);
|
|
1735
|
+
--brand-control-checkbox-border-checked: var(--base-color-scale-white-0);
|
|
1736
|
+
--brand-control-checkbox-border-indeterminate: var(--base-color-scale-white-0);
|
|
1737
|
+
--brand-control-checkbox-border-disabled: var(--base-color-scale-gray-4);
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
/*
|
|
1741
|
+
* Default Checkbox styles
|
|
1742
|
+
*/
|
|
1743
|
+
.Primer_Brand__Checkbox-module__Checkbox-wrapper___qo8KL {
|
|
1744
|
+
position: relative;
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
.Primer_Brand__Checkbox-module__Checkbox___T8FJa {
|
|
1748
|
+
align-items: center;
|
|
1749
|
+
background-color: var(--brand-control-checkbox-bg-default);
|
|
1750
|
+
border: solid 1px var(--brand-control-color-border-default);
|
|
1751
|
+
border: solid var(--brand-borderWidth-normal, 1px) var(--brand-control-color-border-default);
|
|
1752
|
+
border-radius: var(--brand-borderRadius-small);
|
|
1753
|
+
cursor: pointer;
|
|
1754
|
+
display: inline-flex;
|
|
1755
|
+
height: 20px;
|
|
1756
|
+
justify-content: center;
|
|
1757
|
+
margin: 3px 0; /* mimic default browser-applied vertical margin */
|
|
1758
|
+
transition: all 0.35s ease-out;
|
|
1759
|
+
width: 20px;
|
|
1760
|
+
outline: 1px solid var(--brand-control-checkbox-bg-default);
|
|
1761
|
+
box-shadow: 0 0 0 3px transparent;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
/**
|
|
1765
|
+
* Checkbox native input - visually hidden
|
|
1766
|
+
*/
|
|
1767
|
+
.Primer_Brand__Checkbox-module__Checkbox-input___sux6s {
|
|
1768
|
+
border: 0;
|
|
1769
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
1770
|
+
height: 1px;
|
|
1771
|
+
overflow: hidden;
|
|
1772
|
+
padding: 0;
|
|
1773
|
+
position: absolute;
|
|
1774
|
+
width: 1px;
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
.Primer_Brand__Checkbox-module__Checkbox-checkmark___atiwt {
|
|
1778
|
+
height: 16px;
|
|
1779
|
+
width: 16px;
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
.Primer_Brand__Checkbox-module__Checkbox-checkmark-path___qgsjb {
|
|
1783
|
+
stroke: var(--brand-color-focus);
|
|
1784
|
+
stroke-dashoffset: 111.46px;
|
|
1785
|
+
stroke-dasharray: 111.46px;
|
|
1786
|
+
transition: all 350ms var(--brand-control-animation-easing);
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
/*
|
|
1790
|
+
* Checked state
|
|
1791
|
+
*/
|
|
1792
|
+
|
|
1793
|
+
.Primer_Brand__Checkbox-module__Checkbox-input___sux6s:checked + .Primer_Brand__Checkbox-module__Checkbox___T8FJa,
|
|
1794
|
+
.Primer_Brand__Checkbox-module__Checkbox--indeterminate___U5S6k {
|
|
1795
|
+
background: var(--brand-control-checkbox-bg-checked);
|
|
1796
|
+
border-color: var(--brand-control-checkbox-border-checked);
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
.Primer_Brand__Checkbox-module__Checkbox--indeterminate___U5S6k .Primer_Brand__Checkbox-module__Checkbox-checkmark___atiwt {
|
|
1800
|
+
fill: var(--brand-control-checkbox-fg-checked);
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
.Primer_Brand__Checkbox-module__Checkbox-input___sux6s:checked + .Primer_Brand__Checkbox-module__Checkbox___T8FJa .Primer_Brand__Checkbox-module__Checkbox-checkmark-path___qgsjb,
|
|
1804
|
+
.Primer_Brand__Checkbox-module__Checkbox--indeterminate___U5S6k .Primer_Brand__Checkbox-module__Checkbox-checkmark-path___qgsjb {
|
|
1805
|
+
stroke: var(--brand-control-checkbox-fg-checked);
|
|
1806
|
+
stroke-dashoffset: 0;
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
.Primer_Brand__Checkbox-module__Checkbox-input___sux6s:focus + .Primer_Brand__Checkbox-module__Checkbox___T8FJa {
|
|
1810
|
+
box-shadow: 0 0 0 3px var(--brand-color-focus);
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
/* TODO: Check with a11y team */
|
|
1814
|
+
.Primer_Brand__Checkbox-module__Checkbox-input___sux6s:checked:focus + .Primer_Brand__Checkbox-module__Checkbox___T8FJa,
|
|
1815
|
+
.Primer_Brand__Checkbox-module__Checkbox-input___sux6s:focus + .Primer_Brand__Checkbox-module__Checkbox--indeterminate___U5S6k {
|
|
1816
|
+
border-color: var(--brand-control-checkbox-border-checked);
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
.Primer_Brand__Checkbox-module__Checkbox-input___sux6s[disabled] + .Primer_Brand__Checkbox-module__Checkbox___T8FJa,
|
|
1820
|
+
.Primer_Brand__Checkbox-module__Checkbox-input___sux6s[disabled]:checked + .Primer_Brand__Checkbox-module__Checkbox___T8FJa {
|
|
1821
|
+
-webkit-text-fill-color: var(--brand-control-color-fg-disabled);
|
|
1822
|
+
color: var(--brand-control-color-fg-disabled);
|
|
1823
|
+
cursor: not-allowed;
|
|
1824
|
+
background-color: var(--brand-control-checkbox-bg-disabled);
|
|
1825
|
+
border-color: var(--brand-control-color-border-disabled);
|
|
1826
|
+
opacity: 1;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
/*
|
|
1830
|
+
* Default TextInput styles
|
|
1831
|
+
*/
|
|
1832
|
+
.Primer_Brand__TextInput-module__TextInput___EtKj3 {
|
|
1833
|
+
display: flex;
|
|
1834
|
+
color: var(--brand-control-color-fg-default);
|
|
1835
|
+
background-color: var(--brand-color-canvas-default);
|
|
1836
|
+
border: none;
|
|
1837
|
+
border-radius: var(--brand-control-border-radius);
|
|
1838
|
+
line-height: var(--brand-text-lineHeight-200);
|
|
1839
|
+
transition: var(--brand-control-animation-duration) var(--brand-control-animation-easing);
|
|
1840
|
+
transition-property: color, background-color, box-shadow;
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
.Primer_Brand__TextInput-module__TextInput___EtKj3::-moz-placeholder {
|
|
1844
|
+
color: var(--brand-color-text-subtle);
|
|
1845
|
+
opacity: 1;
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
.Primer_Brand__TextInput-module__TextInput___EtKj3:-ms-input-placeholder {
|
|
1849
|
+
color: var(--brand-color-text-subtle);
|
|
1850
|
+
opacity: 1;
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
.Primer_Brand__TextInput-module__TextInput___EtKj3::placeholder {
|
|
1854
|
+
color: var(--brand-color-text-subtle);
|
|
1855
|
+
opacity: 1;
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1858
|
+
.Primer_Brand__TextInput-module__TextInput___EtKj3[disabled] {
|
|
1859
|
+
-webkit-text-fill-color: var(--brand-control-color-fg-disabled);
|
|
1860
|
+
color: var(--brand-control-color-fg-disabled);
|
|
1861
|
+
cursor: not-allowed;
|
|
1862
|
+
background-color: var(--brand-control-color-canvas-disabled);
|
|
1863
|
+
opacity: 1;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
.Primer_Brand__TextInput-module__TextInput___EtKj3:focus {
|
|
1867
|
+
outline: none;
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
/*
|
|
1871
|
+
* Sizes
|
|
1872
|
+
*/
|
|
1873
|
+
.Primer_Brand__TextInput-module__TextInput--medium___kJrew {
|
|
1874
|
+
font-weight: var(--brand-text-weight-200);
|
|
1875
|
+
font-size: var(--brand-text-size-200);
|
|
1876
|
+
height: 40px;
|
|
1877
|
+
height: var(--brand-control-medium-size, 40px);
|
|
1878
|
+
padding: 12px 10px 10px;
|
|
1879
|
+
padding: var(--brand-control-medium-padding, 12px 10px 10px);
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
.Primer_Brand__TextInput-module__TextInput--large___zpUvY {
|
|
1883
|
+
font-weight: var(--brand-text-weight-300);
|
|
1884
|
+
font-size: var(--brand-text-size-300);
|
|
1885
|
+
height: 48px;
|
|
1886
|
+
height: var(--brand-control-large-size, 48px);
|
|
1887
|
+
padding: 12px;
|
|
1888
|
+
padding: var(--brand-control-large-padding, 12px);
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
/*
|
|
1892
|
+
* Visual states
|
|
1893
|
+
*/
|
|
1894
|
+
.Primer_Brand__TextInput-module__TextInput--fullWidth___rbllM {
|
|
1895
|
+
width: 100%;
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
/*
|
|
1899
|
+
* TextInput wrapper
|
|
1900
|
+
*/
|
|
1901
|
+
|
|
1902
|
+
.Primer_Brand__TextInput-module__TextInput-wrapper--disabled___HWTx_ {
|
|
1903
|
+
border-color: var(--brand-control-color-border-disabled);
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
.Primer_Brand__TextInput-module__TextInput-wrapper___HgxNu {
|
|
1907
|
+
font-family: var(--brand-body-fontFamily);
|
|
1908
|
+
display: inline-flex;
|
|
1909
|
+
position: relative;
|
|
1910
|
+
border: solid 1px var(--brand-control-color-border-default);
|
|
1911
|
+
border: solid var(--brand-borderWidth-thin, 1px) var(--brand-control-color-border-default);
|
|
1912
|
+
border-radius: var(--brand-control-border-radius);
|
|
1913
|
+
transition: var(--brand-control-animation-duration) var(--brand-control-animation-easing);
|
|
1914
|
+
transition-property: border;
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
.Primer_Brand__TextInput-module__TextInput-wrapper--fullWidth___eclO4 {
|
|
1918
|
+
display: flex;
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
.Primer_Brand__TextInput-module__TextInput-wrapper--monospace___y1fd6 {
|
|
1922
|
+
font-family: var(--brand-fontStack-monospace);
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
.Primer_Brand__TextInput-module__TextInput-wrapper___HgxNu[focus-within] {
|
|
1926
|
+
border-color: var(--brand-color-focus);
|
|
1927
|
+
box-shadow: 0 0 0 1px var(--brand-color-focus);
|
|
1928
|
+
outline: none;
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
.Primer_Brand__TextInput-module__TextInput-wrapper___HgxNu:focus-within {
|
|
1932
|
+
border-color: var(--brand-color-focus);
|
|
1933
|
+
box-shadow: 0 0 0 1px var(--brand-color-focus);
|
|
1934
|
+
outline: none;
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
/*
|
|
1938
|
+
* Validation
|
|
1939
|
+
*/
|
|
1940
|
+
|
|
1941
|
+
.Primer_Brand__TextInput-module__TextInput-wrapper--success___g5ODK,
|
|
1942
|
+
.Primer_Brand__TextInput-module__TextInput-wrapper--success___g5ODK.Primer_Brand__TextInput-module__TextInput-wrapper--disabled___HWTx_ {
|
|
1943
|
+
border-color: var(--brand-color-success-fg);
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
.Primer_Brand__TextInput-module__TextInput-wrapper--error___V7qtN,
|
|
1947
|
+
.Primer_Brand__TextInput-module__TextInput-wrapper--error___V7qtN.Primer_Brand__TextInput-module__TextInput-wrapper--disabled___HWTx_ {
|
|
1948
|
+
border-color: var(--brand-color-error-fg);
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
/*
|
|
1952
|
+
* TextInput visuals
|
|
1953
|
+
*/
|
|
1954
|
+
[dir="ltr"] .Primer_Brand__TextInput-module__TextInput--has-leading-visual--medium___i7gLS {
|
|
1955
|
+
padding-left: calc(var(--base-size-12) * 2 + var(--base-size-12));
|
|
1956
|
+
}
|
|
1957
|
+
[dir="rtl"] .Primer_Brand__TextInput-module__TextInput--has-leading-visual--medium___i7gLS {
|
|
1958
|
+
padding-right: calc(var(--base-size-12) * 2 + var(--base-size-12));
|
|
1959
|
+
}
|
|
1960
|
+
.Primer_Brand__TextInput-module__TextInput--has-leading-visual--medium___i7gLS {
|
|
1961
|
+
-webkit-padding-start: calc(var(--base-size-12) * 2 + var(--base-size-12));
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
[dir="ltr"] .Primer_Brand__TextInput-module__TextInput--has-leading-visual--large___nCVT9 {
|
|
1965
|
+
padding-left: calc(var(--base-size-8) * 4 + var(--base-size-8));
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
[dir="rtl"] .Primer_Brand__TextInput-module__TextInput--has-leading-visual--large___nCVT9 {
|
|
1969
|
+
padding-right: calc(var(--base-size-8) * 4 + var(--base-size-8));
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
.Primer_Brand__TextInput-module__TextInput--has-leading-visual--large___nCVT9 {
|
|
1973
|
+
-webkit-padding-start: calc(var(--base-size-8) * 4 + var(--base-size-8));
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
[dir="ltr"] .Primer_Brand__TextInput-module__TextInput--has-trailing-visual--medium___pP4lM {
|
|
1977
|
+
padding-right: calc(var(--base-size-12) * 2 + var(--base-size-12));
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
[dir="rtl"] .Primer_Brand__TextInput-module__TextInput--has-trailing-visual--medium___pP4lM {
|
|
1981
|
+
padding-left: calc(var(--base-size-12) * 2 + var(--base-size-12));
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
.Primer_Brand__TextInput-module__TextInput--has-trailing-visual--medium___pP4lM {
|
|
1985
|
+
-webkit-padding-end: calc(var(--base-size-12) * 2 + var(--base-size-12));
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1988
|
+
[dir="ltr"] .Primer_Brand__TextInput-module__TextInput--has-trailing-visual--large___n1U0P {
|
|
1989
|
+
padding-right: calc(var(--base-size-8) * 4 + var(--base-size-8));
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
[dir="rtl"] .Primer_Brand__TextInput-module__TextInput--has-trailing-visual--large___n1U0P {
|
|
1993
|
+
padding-left: calc(var(--base-size-8) * 4 + var(--base-size-8));
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
.Primer_Brand__TextInput-module__TextInput--has-trailing-visual--large___n1U0P {
|
|
1997
|
+
-webkit-padding-end: calc(var(--base-size-8) * 4 + var(--base-size-8));
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
.Primer_Brand__TextInput-module__TextInput-leading-visual___tk7Yz,
|
|
2001
|
+
.Primer_Brand__TextInput-module__TextInput-trailing-visual___k0E6L {
|
|
2002
|
+
display: grid;
|
|
2003
|
+
position: absolute;
|
|
2004
|
+
top: 0;
|
|
2005
|
+
display: flex;
|
|
2006
|
+
width: var(--base-size-16);
|
|
2007
|
+
height: 100%;
|
|
2008
|
+
align-items: center;
|
|
2009
|
+
color: var(--color-fg-muted);
|
|
2010
|
+
pointer-events: none;
|
|
2011
|
+
color: var(--brand-color-text-default);
|
|
2012
|
+
}
|
|
2013
|
+
.Primer_Brand__TextInput-module__TextInput-leading-visual___tk7Yz {
|
|
2014
|
+
left: var(--base-size-12);
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
.Primer_Brand__TextInput-module__TextInput-trailing-visual___k0E6L {
|
|
2018
|
+
right: var(--base-size-12);
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
.Primer_Brand__TextInput-module__TextInput-leading-visual-icon--medium___y_4Pu {
|
|
2022
|
+
width: 16px;
|
|
2023
|
+
height: 16px;
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2026
|
+
.Primer_Brand__TextInput-module__TextInput-leading-visual-icon--large___VPOF7 {
|
|
2027
|
+
width: 20px;
|
|
2028
|
+
height: 20px;
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
/*
|
|
2032
|
+
* TextInput leading and trailing text
|
|
2033
|
+
*/
|
|
2034
|
+
|
|
2035
|
+
.Primer_Brand__TextInput-module__TextInput-leading-text___H5Cfr,
|
|
2036
|
+
.Primer_Brand__TextInput-module__TextInput-trailing-text___ikt8X {
|
|
2037
|
+
display: flex;
|
|
2038
|
+
align-items: center;
|
|
2039
|
+
color: var(--brand-color-text-muted);
|
|
2040
|
+
pointer-events: none;
|
|
2041
|
+
white-space: nowrap;
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
.Primer_Brand__TextInput-module__TextInput-leading-text--disabled___APVY0,
|
|
2045
|
+
.Primer_Brand__TextInput-module__TextInput-trailing-text--disabled___oM2Ls {
|
|
2046
|
+
color: var(--brand-control-color-fg-disabled);
|
|
2047
|
+
background-color: var(--brand-control-color-canvas-disabled);
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
.Primer_Brand__TextInput-module__TextInput-leading-text___H5Cfr {
|
|
2051
|
+
border-top-left-radius: 6px;
|
|
2052
|
+
border-top-left-radius: var(--brand-borderRadius-medium, 6px);
|
|
2053
|
+
border-bottom-left-radius: 6px;
|
|
2054
|
+
border-bottom-left-radius: var(--brand-borderRadius-medium, 6px);
|
|
2055
|
+
border-right: 0;
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
.Primer_Brand__TextInput-module__TextInput-trailing-text___ikt8X {
|
|
2059
|
+
border-top-right-radius: 6px;
|
|
2060
|
+
border-top-right-radius: var(--brand-borderRadius-medium, 6px);
|
|
2061
|
+
border-bottom-right-radius: 6px;
|
|
2062
|
+
border-bottom-right-radius: var(--brand-borderRadius-medium, 6px);
|
|
2063
|
+
border-left: 0;
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
.Primer_Brand__TextInput-module__TextInput-leading-text-inner___wsz6j,
|
|
2067
|
+
.Primer_Brand__TextInput-module__TextInput-trailing-text-inner___hHCPx {
|
|
2068
|
+
display: inline-flex;
|
|
2069
|
+
padding: 0 10px 0;
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
.Primer_Brand__TextInput-module__TextInput-leading-text-inner___wsz6j {
|
|
2073
|
+
border-right: 1px solid var(--brand-color-border-default);
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2076
|
+
.Primer_Brand__TextInput-module__TextInput-trailing-text-inner___hHCPx {
|
|
2077
|
+
border-left: 1px solid var(--brand-color-border-default);
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
.Primer_Brand__TextInput-module__TextInput-leading-text-inner--medium___B7Rra,
|
|
2081
|
+
.Primer_Brand__TextInput-module__TextInput-trailing-text-inner--medium___P9cYA {
|
|
2082
|
+
height: 20px; /*calc(fullheight / 2*/
|
|
2083
|
+
}
|
|
2084
|
+
.Primer_Brand__TextInput-module__TextInput-leading-text-inner--large___HfLcI,
|
|
2085
|
+
.Primer_Brand__TextInput-module__TextInput-trailing-text-inner--large___LTt33 {
|
|
2086
|
+
height: 22px; /*calc(fullheight / 2*/
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
.Primer_Brand__TextInput-module__TextInput-leading-text--medium___AXLxn,
|
|
2090
|
+
.Primer_Brand__TextInput-module__TextInput-trailing-text--medium___o1pNj {
|
|
2091
|
+
font-weight: var(--brand-text-weight-200);
|
|
2092
|
+
font-size: var(--brand-text-size-200);
|
|
2093
|
+
height: 40px;
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
.Primer_Brand__TextInput-module__TextInput-leading-text--large___z8lZE,
|
|
2097
|
+
.Primer_Brand__TextInput-module__TextInput-trailing-text--large___nFFjq {
|
|
2098
|
+
font-weight: var(--brand-text-weight-300);
|
|
2099
|
+
font-size: var(--brand-text-size-300);
|
|
2100
|
+
height: 48px;
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
.Primer_Brand__TextInput-module__TextInput--has-leading-text___u7qke {
|
|
2104
|
+
border-left: 0;
|
|
2105
|
+
border-top-left-radius: 0;
|
|
2106
|
+
border-bottom-left-radius: 0;
|
|
2107
|
+
}
|
|
2108
|
+
|
|
2109
|
+
.Primer_Brand__TextInput-module__TextInput--has-trailing-text___Rsoog {
|
|
2110
|
+
border-right: 0;
|
|
2111
|
+
border-top-right-radius: 0;
|
|
2112
|
+
border-bottom-right-radius: 0;
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
.Primer_Brand__TextInput-module__TextInput-leading-text--success___LLFx7,
|
|
2116
|
+
.Primer_Brand__TextInput-module__TextInput-trailing-text--success___EfLVd {
|
|
2117
|
+
border-color: var(--brand-color-success-fg);
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
.Primer_Brand__TextInput-module__TextInput-leading-text--error___TM77D,
|
|
2121
|
+
.Primer_Brand__TextInput-module__TextInput-trailing-text--error___R96jr {
|
|
2122
|
+
border-color: var(--brand-color-error-fg);
|
|
2123
|
+
}
|
|
2124
|
+
|
|
2125
|
+
/*
|
|
2126
|
+
* Default Select styles
|
|
2127
|
+
*/
|
|
2128
|
+
.Primer_Brand__Select-module__Select___Jqn1f {
|
|
2129
|
+
-webkit-appearance: none;
|
|
2130
|
+
-moz-appearance: none;
|
|
2131
|
+
appearance: none;
|
|
2132
|
+
display: flex;
|
|
2133
|
+
color: var(--brand-control-color-fg-default);
|
|
2134
|
+
cursor: pointer;
|
|
2135
|
+
background-color: var(--brand-color-canvas-default);
|
|
2136
|
+
border: none;
|
|
2137
|
+
border-radius: var(--brand-control-border-radius);
|
|
2138
|
+
line-height: var(--brand-text-lineHeight-200);
|
|
2139
|
+
transition: var(--brand-control-animation-duration) var(--brand-control-animation-easing);
|
|
2140
|
+
transition-property: color, background-color, box-shadow, border-color;
|
|
2141
|
+
width: 100%;
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
@media screen and (forced-colors: active) {
|
|
2145
|
+
/* Maintain dark bg color in Firefox on Windows high-contrast mode */
|
|
2146
|
+
.Primer_Brand__Select-module__Select___Jqn1f:disabled {
|
|
2147
|
+
background-color: -moz-combobox;
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
.Primer_Brand__Select-module__Select___Jqn1f::-moz-placeholder {
|
|
2152
|
+
color: var(--brand-color-text-subtle);
|
|
2153
|
+
opacity: 1;
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
.Primer_Brand__Select-module__Select___Jqn1f:-ms-input-placeholder {
|
|
2157
|
+
color: var(--brand-color-text-subtle);
|
|
2158
|
+
opacity: 1;
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2161
|
+
.Primer_Brand__Select-module__Select___Jqn1f::placeholder {
|
|
2162
|
+
color: var(--brand-color-text-subtle);
|
|
2163
|
+
opacity: 1;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
.Primer_Brand__Select-module__Select___Jqn1f.Primer_Brand__Select-module__focus-visible___viA1m {
|
|
2167
|
+
border-color: var(--brand-color-focus);
|
|
2168
|
+
outline: none;
|
|
2169
|
+
box-shadow: 0 0 0 2px var(--brand-color-focus);
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
.Primer_Brand__Select-module__Select___Jqn1f:focus-visible {
|
|
2173
|
+
border-color: var(--brand-color-focus);
|
|
2174
|
+
outline: none;
|
|
2175
|
+
box-shadow: 0 0 0 2px var(--brand-color-focus);
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
.Primer_Brand__Select-module__Select___Jqn1f[disabled] {
|
|
2179
|
+
-webkit-text-fill-color: var(--brand-control-color-fg-disabled);
|
|
2180
|
+
color: var(--brand-control-color-fg-disabled);
|
|
2181
|
+
cursor: not-allowed;
|
|
2182
|
+
background-color: var(--brand-control-color-canvas-disabled);
|
|
2183
|
+
border-color: var(--brand-control-color-border-disabled);
|
|
2184
|
+
opacity: 1;
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
.Primer_Brand__Select-module__Select-arrow-indicator___LTpJz {
|
|
2188
|
+
display: flex;
|
|
2189
|
+
height: 16px;
|
|
2190
|
+
pointer-events: none;
|
|
2191
|
+
position: absolute;
|
|
2192
|
+
right: var(--base-size-12);
|
|
2193
|
+
top: 50%;
|
|
2194
|
+
transform: translateY(-50%);
|
|
2195
|
+
width: 16px;
|
|
2196
|
+
color: var(--brand-control-color-fg-default);
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
.Primer_Brand__Select-module__Select-arrow-indicator--disabled___dLMeI {
|
|
2200
|
+
color: var(--brand-control-color-fg-disabled);
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
.Primer_Brand__Select-module__Select-arrow-indicator___LTpJz svg {
|
|
2204
|
+
pointer-events: none;
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2207
|
+
/*
|
|
2208
|
+
* Sizes
|
|
2209
|
+
*/
|
|
2210
|
+
.Primer_Brand__Select-module__Select--medium___kckBr {
|
|
2211
|
+
font-weight: var(--brand-text-weight-200);
|
|
2212
|
+
font-size: var(--brand-text-size-200);
|
|
2213
|
+
height: calc(40px - 2px);
|
|
2214
|
+
height: calc(var(--brand-control-medium-size, 40px) - 2px);
|
|
2215
|
+
padding: 12px 10px 10px;
|
|
2216
|
+
padding: var(--brand-control-medium-padding, 12px 10px 10px);
|
|
2217
|
+
padding-right: var(--base-size-44);
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
.Primer_Brand__Select-module__Select--large___A7u6F {
|
|
2221
|
+
font-weight: var(--brand-text-weight-300);
|
|
2222
|
+
font-size: var(--brand-text-size-300);
|
|
2223
|
+
height: calc(48px - 2px);
|
|
2224
|
+
height: calc(var(--brand-control-large-size, 48px) - 2px);
|
|
2225
|
+
padding: 12px;
|
|
2226
|
+
padding: var(--brand-control-large-padding, 12px);
|
|
2227
|
+
padding-right: var(--base-size-44);
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
/*
|
|
2231
|
+
* Visual states
|
|
2232
|
+
*/
|
|
2233
|
+
|
|
2234
|
+
.Primer_Brand__Select-module__Select--fullWidth___PLk5U {
|
|
2235
|
+
width: 100%;
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
/*
|
|
2239
|
+
* Select wrapper
|
|
2240
|
+
*/
|
|
2241
|
+
|
|
2242
|
+
.Primer_Brand__Select-module__Select-wrapper___iV0Tg {
|
|
2243
|
+
align-items: center;
|
|
2244
|
+
border: solid 1px var(--brand-control-color-border-default);
|
|
2245
|
+
border: solid var(--brand-borderWidth-thin, 1px) var(--brand-control-color-border-default);
|
|
2246
|
+
border-radius: 6px;
|
|
2247
|
+
border-radius: var(--brand-borderRadius-medium, 6px);
|
|
2248
|
+
font-family: var(--brand-body-fontFamily);
|
|
2249
|
+
display: inline-flex;
|
|
2250
|
+
position: relative;
|
|
2251
|
+
}
|
|
2252
|
+
|
|
2253
|
+
.Primer_Brand__Select-module__Select-wrapper--disabled___Ka43y {
|
|
2254
|
+
border-color: var(--brand-control-color-border-disabled);
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2257
|
+
.Primer_Brand__Select-module__Select-wrapper--fullWidth___oOOo4 {
|
|
2258
|
+
display: flex;
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
/*
|
|
2262
|
+
* Validation
|
|
2263
|
+
*/
|
|
2264
|
+
|
|
2265
|
+
.Primer_Brand__Select-module__Select--success___pkmVg {
|
|
2266
|
+
border-color: var(--brand-color-success-fg);
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2269
|
+
.Primer_Brand__Select-module__Select--error___A9JuG {
|
|
2270
|
+
border-color: var(--brand-color-error-fg);
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
.Primer_Brand__FormControl-module__FormControl___ZJtXy {
|
|
2274
|
+
display: inline-flex;
|
|
2275
|
+
font-family: var(--brand-body-fontFamily);
|
|
2276
|
+
flex-direction: column;
|
|
2277
|
+
gap: var(--base-size-8);
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2280
|
+
.Primer_Brand__FormControl-module__FormControl--fullWidth___QyLCS {
|
|
2281
|
+
width: 100%;
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2284
|
+
.Primer_Brand__FormControl-module__FormControl--checkbox___R2ng7 {
|
|
2285
|
+
display: flex;
|
|
2286
|
+
align-items: flex-start;
|
|
2287
|
+
flex-direction: row-reverse;
|
|
2288
|
+
justify-content: flex-end;
|
|
2289
|
+
}
|
|
2290
|
+
|
|
2291
|
+
.Primer_Brand__FormControl-module__FormControl--border___CRSaq {
|
|
2292
|
+
border: 1px solid var(--brand-color-border-default);
|
|
2293
|
+
border-radius: var(--brand-control-border-radius);
|
|
2294
|
+
padding: var(--base-size-12);
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
.Primer_Brand__FormControl-module__FormControl-label___meeuB {
|
|
2298
|
+
color: var(--brand-color-text-default);
|
|
2299
|
+
font-weight: var(--base-text-weight-semibold);
|
|
2300
|
+
font-family: var(--brand-text-fontFamily);
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
.Primer_Brand__FormControl-module__FormControl-label--visually-hidden___cFizI {
|
|
2304
|
+
position: absolute;
|
|
2305
|
+
width: 1px;
|
|
2306
|
+
height: 1px;
|
|
2307
|
+
padding: 0;
|
|
2308
|
+
margin: -1px;
|
|
2309
|
+
overflow: hidden;
|
|
2310
|
+
clip: rect(0, 0, 0, 0);
|
|
2311
|
+
white-space: nowrap;
|
|
2312
|
+
border-width: 0;
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
.Primer_Brand__FormControl-module__FormControl-label--medium___inrKd {
|
|
2316
|
+
letter-spacing: var(--brand-text-letterSpacing-200);
|
|
2317
|
+
font-size: var(--brand-text-size-200);
|
|
2318
|
+
line-height: var(--brand-text-lineHeight-200);
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
.Primer_Brand__FormControl-module__FormControl-label--large___okLn6 {
|
|
2322
|
+
letter-spacing: var(--brand-text-letterSpacing-300);
|
|
2323
|
+
font-size: var(--brand-text-size-300);
|
|
2324
|
+
line-height: var(--brand-text-lineHeight-300);
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
.Primer_Brand__FormControl-module__FormControl-label--checkbox___x2U9X {
|
|
2328
|
+
cursor: pointer;
|
|
2329
|
+
font-size: var(--brand-text-size-300);
|
|
2330
|
+
font-weight: var(--base-text-weight-semibold);
|
|
2331
|
+
letter-spacing: var(--brand-text-letterSpacing-300);
|
|
2332
|
+
line-height: var(--brand-text-lineHeight-300);
|
|
2333
|
+
position: relative;
|
|
2334
|
+
top: 1px;
|
|
2335
|
+
width: 100%;
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
.Primer_Brand__FormControl-module__FormControl-hint___dbP0O {
|
|
2339
|
+
color: var(--brand-color-text-muted);
|
|
2340
|
+
display: block;
|
|
2341
|
+
font-size: var(--brand-text-size-200);
|
|
2342
|
+
font-weight: var(--base-text-weight-normal);
|
|
2343
|
+
letter-spacing: var(--brand-text-letterSpacing-200);
|
|
2344
|
+
line-height: var(--brand-text-lineHeight-200);
|
|
2345
|
+
}
|
|
2346
|
+
|
|
2347
|
+
/*Validation*/
|
|
2348
|
+
.Primer_Brand__FormControl-module__FormControl-validation___vG5tm {
|
|
2349
|
+
font-weight: var(--base-text-weight-normal);
|
|
2350
|
+
font-size: var(--brand-text-size-200);
|
|
2351
|
+
line-height: var(--brand-text-lineHeight-200);
|
|
2352
|
+
display: flex;
|
|
2353
|
+
gap: var(--base-size-4);
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
.Primer_Brand__FormControl-module__FormControl-validation--success___fGV4L {
|
|
2357
|
+
color: var(--brand-color-success-fg);
|
|
2358
|
+
}
|
|
2359
|
+
|
|
2360
|
+
.Primer_Brand__FormControl-module__FormControl-validation--error___DJVR5 {
|
|
2361
|
+
color: var(--brand-color-error-fg);
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
.Primer_Brand__FormControl-module__FormControl-validation-icon___xh1go {
|
|
2365
|
+
padding-top: 1px;
|
|
2366
|
+
}
|
|
2367
|
+
|
|
2368
|
+
.Primer_Brand__FormControl-module__FormControl-validation--animate-in___C_pxB {
|
|
2369
|
+
-webkit-animation: 170ms Primer_Brand__FormControl-module__FormControlValidationFadeIn___hRw_R cubic-bezier(0.44, 0.74, 0.36, 1);
|
|
2370
|
+
animation: 170ms Primer_Brand__FormControl-module__FormControlValidationFadeIn___hRw_R cubic-bezier(0.44, 0.74, 0.36, 1);
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
@-webkit-keyframes Primer_Brand__FormControl-module__FormControlValidationFadeIn___hRw_R {
|
|
2374
|
+
0% {
|
|
2375
|
+
opacity: 0;
|
|
2376
|
+
transform: translateY(-100%);
|
|
2377
|
+
}
|
|
2378
|
+
100% {
|
|
2379
|
+
opacity: 1;
|
|
2380
|
+
transform: translateY(0);
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
@keyframes Primer_Brand__FormControl-module__FormControlValidationFadeIn___hRw_R {
|
|
2385
|
+
0% {
|
|
2386
|
+
opacity: 0;
|
|
2387
|
+
transform: translateY(-100%);
|
|
2388
|
+
}
|
|
2389
|
+
100% {
|
|
2390
|
+
opacity: 1;
|
|
2391
|
+
transform: translateY(0);
|
|
2392
|
+
}
|
|
2393
|
+
}
|
|
2394
|
+
|