@designsystemsinternational/cloudflare 0.1.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.
Files changed (42) hide show
  1. package/README.md +60 -0
  2. package/cli/index.ts +196 -0
  3. package/package.json +32 -0
  4. package/templates/dist/auth/assets/index-BqXcY2TH.css +1 -0
  5. package/templates/dist/auth/assets/index-TTeq04ep.js +9 -0
  6. package/templates/dist/auth/fonts/UniversNextPro-Medium.woff2 +0 -0
  7. package/templates/dist/auth/fonts/UniversNextPro-Regular.woff2 +0 -0
  8. package/templates/dist/auth/fonts/UniversNextTypewrtrPro-Rg.woff2 +0 -0
  9. package/templates/dist/auth/index.html +14 -0
  10. package/templates/dist/index.html +6 -0
  11. package/templates/eslint.config.js +23 -0
  12. package/templates/index.html +12 -0
  13. package/templates/package-lock.json +5394 -0
  14. package/templates/package.json +33 -0
  15. package/templates/postcss.config.cjs +19 -0
  16. package/templates/public/fonts/UniversNextPro-Medium.woff2 +0 -0
  17. package/templates/public/fonts/UniversNextPro-Regular.woff2 +0 -0
  18. package/templates/public/fonts/UniversNextTypewrtrPro-Rg.woff2 +0 -0
  19. package/templates/src/App.module.css +116 -0
  20. package/templates/src/App.tsx +116 -0
  21. package/templates/src/assets/Cloudflare_Logo.svg +51 -0
  22. package/templates/src/assets/react.svg +1 -0
  23. package/templates/src/main.tsx +16 -0
  24. package/templates/src/styles/breakpoints.css +9 -0
  25. package/templates/src/styles/fonts.css +17 -0
  26. package/templates/src/styles/globals.css +14 -0
  27. package/templates/src/styles/reset.css +438 -0
  28. package/templates/src/styles/textStyles.css +19 -0
  29. package/templates/src/styles/utilities.css +5 -0
  30. package/templates/src/styles/variables.css +195 -0
  31. package/templates/src/vite-env.d.ts +1 -0
  32. package/templates/tsconfig.app.json +28 -0
  33. package/templates/tsconfig.json +7 -0
  34. package/templates/tsconfig.node.json +26 -0
  35. package/templates/vite.config.ts +15 -0
  36. package/tsconfig.json +10 -0
  37. package/worker-configuration.d.ts +10851 -0
  38. package/workers/password/index.ts +67 -0
  39. package/workers/password/lib/constants.ts +1 -0
  40. package/workers/password/lib/schema.ts +8 -0
  41. package/workers/password/lib/util.ts +28 -0
  42. package/wrangler.jsonc +16 -0
@@ -0,0 +1,438 @@
1
+ /* It’s a reset stylesheet, so expect some very dirty stuff in here
2
+ * that stylelint will not like. */
3
+ /* stylelint-disable */
4
+
5
+ /* Putting the reset in its own layer makes sure we can
6
+ * easily overwrite the reset styles with more specific
7
+ * component or utility styles, nice! */
8
+ @layer reset {
9
+ /*
10
+ 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
11
+ 2. Remove default margins and padding
12
+ 3. Reset all borders.
13
+ */
14
+
15
+ *,
16
+ ::after,
17
+ ::before,
18
+ ::backdrop,
19
+ ::file-selector-button {
20
+ box-sizing: border-box;
21
+ /* 1 */
22
+ margin: 0;
23
+ /* 2 */
24
+ padding: 0;
25
+ /* 2 */
26
+ border: 0 solid;
27
+ /* 3 */
28
+ }
29
+
30
+ /*
31
+ 1. Use a consistent sensible line-height in all browsers.
32
+ 2. Prevent adjustments of font size after orientation changes in iOS.
33
+ 3. Use a more readable tab size.
34
+ 4. Use the user's configured `sans` font-family by default.
35
+ 5. Use the user's configured `sans` font-feature-settings by default.
36
+ 6. Use the user's configured `sans` font-variation-settings by default.
37
+ 7. Disable tap highlights on iOS.
38
+ */
39
+
40
+ html,
41
+ :host {
42
+ line-height: 1.5;
43
+ /* 1 */
44
+ -webkit-text-size-adjust: 100%;
45
+ /* 2 */
46
+ tab-size: 4;
47
+ /* 3 */
48
+ font-family: --theme(--default-font-family,
49
+ ui-sans-serif,
50
+ system-ui,
51
+ sans-serif,
52
+ 'Apple Color Emoji',
53
+ 'Segoe UI Emoji',
54
+ 'Segoe UI Symbol',
55
+ 'Noto Color Emoji'
56
+ );
57
+ /* 4 */
58
+ font-feature-settings: --theme(--default-font-feature-settings, normal);
59
+ /* 5 */
60
+ font-variation-settings: --theme(--default-font-variation-settings, normal);
61
+ /* 6 */
62
+ -webkit-tap-highlight-color: transparent;
63
+ /* 7 */
64
+ }
65
+
66
+ /*
67
+ 1. Add the correct height in Firefox.
68
+ 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
69
+ 3. Reset the default border style to a 1px solid border.
70
+ */
71
+
72
+ hr {
73
+ height: 0;
74
+ /* 1 */
75
+ color: inherit;
76
+ /* 2 */
77
+ border-top-width: 1px;
78
+ /* 3 */
79
+ }
80
+
81
+ /*
82
+ Add the correct text decoration in Chrome, Edge, and Safari.
83
+ */
84
+
85
+ abbr:where([title]) {
86
+ -webkit-text-decoration: underline dotted;
87
+ text-decoration: underline dotted;
88
+ }
89
+
90
+ /*
91
+ Remove the default font size and weight for headings.
92
+ */
93
+
94
+ h1,
95
+ h2,
96
+ h3,
97
+ h4,
98
+ h5,
99
+ h6 {
100
+ font-size: inherit;
101
+ font-weight: inherit;
102
+ }
103
+
104
+ /*
105
+ Reset links to optimize for opt-in styling instead of opt-out.
106
+ */
107
+
108
+ a {
109
+ color: inherit;
110
+ -webkit-text-decoration: inherit;
111
+ text-decoration: inherit;
112
+ }
113
+
114
+ /*
115
+ Add the correct font weight in Edge and Safari.
116
+ */
117
+
118
+ b,
119
+ strong {
120
+ font-weight: bolder;
121
+ }
122
+
123
+ /*
124
+ 1. Use the user's configured `mono` font-family by default.
125
+ 2. Use the user's configured `mono` font-feature-settings by default.
126
+ 3. Use the user's configured `mono` font-variation-settings by default.
127
+ 4. Correct the odd `em` font sizing in all browsers.
128
+ */
129
+
130
+ code,
131
+ kbd,
132
+ samp,
133
+ pre {
134
+ font-family: --theme(--default-mono-font-family,
135
+ ui-monospace,
136
+ SFMono-Regular,
137
+ Menlo,
138
+ Monaco,
139
+ Consolas,
140
+ 'Liberation Mono',
141
+ 'Courier New',
142
+ monospace);
143
+ /* 1 */
144
+ font-feature-settings: --theme(--default-mono-font-feature-settings, normal);
145
+ /* 2 */
146
+ font-variation-settings: --theme(--default-mono-font-variation-settings, normal);
147
+ /* 3 */
148
+ font-size: 1em;
149
+ /* 4 */
150
+ }
151
+
152
+ /*
153
+ Add the correct font size in all browsers.
154
+ */
155
+
156
+ small {
157
+ font-size: 80%;
158
+ }
159
+
160
+ /*
161
+ Prevent `sub` and `sup` elements from affecting the line height in all browsers.
162
+ */
163
+
164
+ sub,
165
+ sup {
166
+ font-size: 75%;
167
+ line-height: 0;
168
+ position: relative;
169
+ vertical-align: baseline;
170
+ }
171
+
172
+ sub {
173
+ bottom: -0.25em;
174
+ }
175
+
176
+ sup {
177
+ top: -0.5em;
178
+ }
179
+
180
+ /*
181
+ 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
182
+ 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
183
+ 3. Remove gaps between table borders by default.
184
+ */
185
+
186
+ table {
187
+ text-indent: 0;
188
+ /* 1 */
189
+ border-color: inherit;
190
+ /* 2 */
191
+ border-collapse: collapse;
192
+ /* 3 */
193
+ }
194
+
195
+ /*
196
+ Use the modern Firefox focus style for all focusable elements.
197
+ */
198
+
199
+ :-moz-focusring {
200
+ outline: auto;
201
+ }
202
+
203
+ /*
204
+ Add the correct vertical alignment in Chrome and Firefox.
205
+ */
206
+
207
+ progress {
208
+ vertical-align: baseline;
209
+ }
210
+
211
+ /*
212
+ Add the correct display in Chrome and Safari.
213
+ */
214
+
215
+ summary {
216
+ display: list-item;
217
+ }
218
+
219
+ /*
220
+ Make lists unstyled by default.
221
+ */
222
+
223
+ ol,
224
+ ul,
225
+ menu {
226
+ list-style: none;
227
+ }
228
+
229
+ /*
230
+ 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
231
+ 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
232
+ This can trigger a poorly considered lint error in some tools but is included by design.
233
+ */
234
+
235
+ img,
236
+ svg,
237
+ video,
238
+ canvas,
239
+ audio,
240
+ iframe,
241
+ embed,
242
+ object {
243
+ display: block;
244
+ /* 1 */
245
+ vertical-align: middle;
246
+ /* 2 */
247
+ }
248
+
249
+ /*
250
+ Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
251
+ */
252
+
253
+ img,
254
+ video {
255
+ max-width: 100%;
256
+ height: auto;
257
+ }
258
+
259
+ /*
260
+ 1. Inherit font styles in all browsers.
261
+ 2. Remove border radius in all browsers.
262
+ 3. Remove background color in all browsers.
263
+ 4. Ensure consistent opacity for disabled states in all browsers.
264
+ */
265
+
266
+ button,
267
+ input,
268
+ select,
269
+ optgroup,
270
+ textarea,
271
+ ::file-selector-button {
272
+ font: inherit;
273
+ /* 1 */
274
+ font-feature-settings: inherit;
275
+ /* 1 */
276
+ font-variation-settings: inherit;
277
+ /* 1 */
278
+ letter-spacing: inherit;
279
+ /* 1 */
280
+ color: inherit;
281
+ /* 1 */
282
+ border-radius: 0;
283
+ /* 2 */
284
+ background-color: transparent;
285
+ /* 3 */
286
+ opacity: 1;
287
+ /* 4 */
288
+ }
289
+
290
+ /*
291
+ Restore default font weight.
292
+ */
293
+
294
+ :where(select:is([multiple], [size])) optgroup {
295
+ font-weight: bolder;
296
+ }
297
+
298
+ /*
299
+ Restore indentation.
300
+ */
301
+
302
+ :where(select:is([multiple], [size])) optgroup option {
303
+ padding-inline-start: 20px;
304
+ }
305
+
306
+ /*
307
+ Restore space after button.
308
+ */
309
+
310
+ ::file-selector-button {
311
+ margin-inline-end: 4px;
312
+ }
313
+
314
+ /*
315
+ Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
316
+ */
317
+
318
+ ::placeholder {
319
+ opacity: 1;
320
+ }
321
+
322
+ /*
323
+ Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
324
+ crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
325
+ */
326
+
327
+ @supports (not (-webkit-appearance: -apple-pay-button))
328
+ /* Not Safari */
329
+ or (contain-intrinsic-size: 1px)
330
+
331
+ /* Safari 17+ */
332
+ {
333
+ ::placeholder {
334
+ color: color-mix(in oklab, currentcolor 50%, transparent);
335
+ }
336
+ }
337
+
338
+ /*
339
+ Prevent resizing textareas horizontally by default.
340
+ */
341
+
342
+ textarea {
343
+ resize: vertical;
344
+ }
345
+
346
+ /*
347
+ Remove the inner padding in Chrome and Safari on macOS.
348
+ */
349
+
350
+ ::-webkit-search-decoration {
351
+ -webkit-appearance: none;
352
+ }
353
+
354
+ /*
355
+ 1. Ensure date/time inputs have the same height when empty in iOS Safari.
356
+ 2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
357
+ */
358
+
359
+ ::-webkit-date-and-time-value {
360
+ min-height: 1lh;
361
+ /* 1 */
362
+ text-align: inherit;
363
+ /* 2 */
364
+ }
365
+
366
+ /*
367
+ Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.
368
+ */
369
+
370
+ ::-webkit-datetime-edit {
371
+ display: inline-flex;
372
+ }
373
+
374
+ /*
375
+ Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
376
+ */
377
+
378
+ ::-webkit-datetime-edit-fields-wrapper {
379
+ padding: 0;
380
+ }
381
+
382
+ ::-webkit-datetime-edit,
383
+ ::-webkit-datetime-edit-year-field,
384
+ ::-webkit-datetime-edit-month-field,
385
+ ::-webkit-datetime-edit-day-field,
386
+ ::-webkit-datetime-edit-hour-field,
387
+ ::-webkit-datetime-edit-minute-field,
388
+ ::-webkit-datetime-edit-second-field,
389
+ ::-webkit-datetime-edit-millisecond-field,
390
+ ::-webkit-datetime-edit-meridiem-field {
391
+ padding-block: 0;
392
+ }
393
+
394
+ /*
395
+ Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
396
+ */
397
+
398
+ ::-webkit-calendar-picker-indicator {
399
+ line-height: 1;
400
+ }
401
+
402
+ /*
403
+ Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
404
+ */
405
+
406
+ :-moz-ui-invalid {
407
+ box-shadow: none;
408
+ }
409
+
410
+ /*
411
+ Correct the inability to style the border radius in iOS Safari.
412
+ */
413
+
414
+ button,
415
+ input:where([type='button'], [type='reset'], [type='submit']),
416
+ ::file-selector-button {
417
+ appearance: button;
418
+ }
419
+
420
+ /*
421
+ Correct the cursor style of increment and decrement buttons in Safari.
422
+ */
423
+
424
+ ::-webkit-inner-spin-button,
425
+ ::-webkit-outer-spin-button {
426
+ height: auto;
427
+ }
428
+
429
+ /*
430
+ Make elements with the HTML hidden attribute stay hidden by default.
431
+ */
432
+
433
+ [hidden]:where(:not([hidden='until-found'])) {
434
+ display: none !important;
435
+ }
436
+ }
437
+
438
+ /* stylelint-enable */
@@ -0,0 +1,19 @@
1
+ :where(.text-xs) {
2
+ font-size: var(--text-xs);
3
+ letter-spacing: var(--tracking-wider);
4
+ line-height: var(--leading-normal);
5
+ }
6
+
7
+ :where(.text-sm) {
8
+ font-size: var(--text-sm);
9
+ letter-spacing: var(--tracking-wide);
10
+ line-height: var(--leading-normal);
11
+ }
12
+
13
+ :where(.text-primary) {
14
+ color: var(--color-text-primary);
15
+ }
16
+
17
+ :where(.text-secondary) {
18
+ color: var(--color-text-secondary);
19
+ }
@@ -0,0 +1,5 @@
1
+ .cell {
2
+ max-width: 100%;
3
+ padding-right: var(--spacing-layout-gutter);
4
+ padding-left: var(--spacing-layout-gutter);
5
+ }
@@ -0,0 +1,195 @@
1
+ :root {
2
+ /* BASE COLOR SCALES
3
+ * ====================================================================
4
+ *
5
+ * ALWAYS! define them in rgb values, so we can
6
+ * use them like this rgb(var(--base-color-name));
7
+ *
8
+ * NEVER! use them directly, these should be mapped
9
+ * to semantically named color names to use instead.
10
+ */
11
+ --base-color-black: 0, 0, 0;
12
+ --base-color-white: 255, 255, 255;
13
+ --base-color-grey-100: 240, 240, 240;
14
+ --base-color-grey-300: 204, 204, 204;
15
+ --base-color-grey-500: 136, 136, 136;
16
+ --base-color-grey-800: 35, 35, 35;
17
+ --base-color-grey-900: 15, 15, 15;
18
+
19
+ /* SEMANTICALLY NAMED COLOR
20
+ * ===================================================================
21
+
22
+ /* Text
23
+ *
24
+ * Any custom property that starts with --color-text will
25
+ * also automatically be turned into .text- utility class,
26
+ * so --color-text-primary will create the .text-primary
27
+ * utility class.
28
+ * */
29
+ --color-text-primary: rgb(var(--base-color-black));
30
+ --color-text-secondary: rgb(var(--base-color-grey-500));
31
+ --color-text-tertiary: rgb(var(--base-color-grey-300));
32
+ --color-text-inverted-primary: rgb(var(--base-color-white));
33
+ --color-text-inverted-secondary: rgba(var(--base-color-white), 50%);
34
+
35
+ /* Background
36
+ *
37
+ * Any custom property that starts with --color-bg will
38
+ * also automatically be turned into .bg utility class,
39
+ * so --color-bg-primary will create the .bg-primary
40
+ * utility class.
41
+ */
42
+ --color-bg-primary: rgb(var(--base-color-white));
43
+ --color-bg-secondary: rgb(var(--base-color-grey-100));
44
+ --color-bg-inverted-primary: rgb(var(--base-color-black));
45
+ --color-bg-inverted-secondary: rgb(var(--base-color-grey-800));
46
+ --color-bg-inverted-tertiary: rgba(var(--base-color-black), 7.5%);
47
+
48
+ /* Overlays */
49
+ --color-overlay: rgba(var(--base-color-white), 40%);
50
+ --color-overlay-inverted: rgba(var(--base-color-black), 80%);
51
+
52
+ /* Borders */
53
+ --color-border-default: rgba(var(--base-color-black), 10%);
54
+ --color-border-focus: rgb(var(--base-color-grey-800));
55
+
56
+ /* SPACING
57
+ *
58
+ * Any custom property that starts with --spacing-
59
+ * will yield utility classes for padding, margin,
60
+ * gap, and stack.
61
+ *
62
+ * =================================================================== */
63
+ --spacing-4xs: fluid(2px, 4px);
64
+ --spacing-3xs: fluid(4px, 6px);
65
+ --spacing-2xs: fluid(6px, 8px);
66
+ --spacing-xs: fluid(8px, 12px);
67
+ --spacing-sm: fluid(12px, 16px);
68
+ --spacing-md: fluid(16px, 24px);
69
+ --spacing-lg: fluid(24px, 32px);
70
+ --spacing-xl: fluid(32px, 48px);
71
+ --spacing-2xl: fluid(48px, 64px);
72
+ --spacing-3xl: fluid(64px, 96px);
73
+ --spacing-4xl: fluid(80px, 144px);
74
+ --spacing-5xl: fluid(144px, 220px);
75
+
76
+ /* Semantically named spacings */
77
+ --spacing-layout-gutter: fluid(8px, 10px);
78
+ --spacing-grid-gap: calc(2 * var(--spacing-layout-gutter));
79
+
80
+ /* TYPOGRAPHY
81
+ * ===================================================================
82
+ *
83
+ * Sizes */
84
+ --text-xs: fluid(13px, 14px);
85
+ --text-sm: fluid(14px, 17px);
86
+
87
+ /* Line Heights
88
+ *
89
+ * Any custom property that starts with --leading will
90
+ * be turned into a .leading- utility class.
91
+ * */
92
+ --leading-none: 1;
93
+ --leading-tight: 1.05;
94
+ --leading-normal: 1.25;
95
+ --leading-loose: 1.5;
96
+
97
+ /* Letter Spacings
98
+ *
99
+ * Any custom property that starts with --tracking will
100
+ * be turned into a .tracking utility class.
101
+ * */
102
+ --tracking-widest: 0.05em;
103
+ --tracking-wider: 0.025em;
104
+ --tracking-wide: 0.001em;
105
+ --tracking-none: 0;
106
+ --tracking-tight: -0.01em;
107
+ --tracking-tighter: -0.02em;
108
+ --tracking-tightest: -0.04em;
109
+
110
+ /* Font Families */
111
+ --font-sans: "Univers", sans-serif;
112
+ --font-mono: "Typewriter", monospace;
113
+
114
+ /* Text Measures
115
+ *
116
+ * Any custom property that starts with --measure will
117
+ * be turned into a .measure utility class.
118
+ */
119
+ --measure-xs: 30ch;
120
+ --measure-s: 40ch;
121
+ --measure-m: 55ch;
122
+ --measure-l: 75ch;
123
+ --measure-xl: 80ch;
124
+ --measure-2xl: 100ch;
125
+
126
+ /* Font Weights
127
+ *
128
+ * Any custom property that starts with --font-weight- will
129
+ * be turned into a .weight utility class.
130
+ */
131
+ --font-weight-regular: 400;
132
+ --font-weight-medium: 600;
133
+
134
+ /**
135
+ * TRANSITIONS
136
+ * ======================================================== */
137
+ --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
138
+ --duration-fast: 150ms;
139
+ --duration-slow: 400ms;
140
+
141
+ /**
142
+ * ASPECT RATIOS
143
+ * ======================================================== */
144
+ --aspect-square: 1 / 1;
145
+ --aspect-wide: 16 / 9;
146
+
147
+ /**
148
+ * BORDER RADII
149
+ * ======================================================== */
150
+ --radius-xs: 1px;
151
+ --radius-sm: 2px;
152
+ --radius-full: 9999px;
153
+
154
+ /**
155
+ * FILTER VALUES
156
+ * ======================================================== */
157
+ --backdrop-filter: blur(10px);
158
+
159
+ /**
160
+ * Z-INDICES
161
+ * ======================================================== */
162
+ --z-index-tooltip-hover-target: 90;
163
+ --z-index-tooltip: 100;
164
+ --z-index-control-elements: 200;
165
+ }
166
+
167
+ /* THEMES (aka dark mode) */
168
+ @media (prefers-color-scheme: dark) {
169
+ :root {
170
+ /* SEMANTICALLY NAMED COLOR
171
+ * ===================================================================
172
+ *
173
+ * Text */
174
+ --color-text-primary: rgb(var(--base-color-white));
175
+ --color-text-secondary: rgba(var(--base-color-white), 50%);
176
+ --color-text-inverted-primary: rgb(var(--base-color-black));
177
+ --color-text-inverted-secondary: rgba(var(--base-color-black), 50%);
178
+
179
+ /* Background */
180
+ --color-bg-primary: rgb(var(--base-color-black));
181
+ --color-bg-secondary: rgb(var(--base-color-grey-900));
182
+ --color-bg-inverted-primary: rgb(var(--base-color-white));
183
+ --color-bg-inverted-secondary: rgb(var(--base-color-grey-100));
184
+ --color-bg-inverted-tertiary: rgba(var(--base-color-white), 20%);
185
+
186
+ /* Overlays */
187
+ --color-overlay: rgba(var(--base-color-white), 8%);
188
+ --color-overlay-inverted: rgba(var(--base-color-white), 80%);
189
+
190
+ /* Borders */
191
+ --color-border-default: rgba(var(--base-color-white), 20%);
192
+ --color-border-focus: rgba(var(--base-color-white), 70%);
193
+
194
+ }
195
+ }
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />
@@ -0,0 +1,28 @@
1
+ {
2
+ "compilerOptions": {
3
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
4
+ "target": "ES2022",
5
+ "useDefineForClassFields": true,
6
+ "lib": ["ES2022", "DOM", "DOM.Iterable"],
7
+ "module": "ESNext",
8
+ "types": ["vite/client"],
9
+ "skipLibCheck": true,
10
+
11
+ /* Bundler mode */
12
+ "moduleResolution": "bundler",
13
+ "allowImportingTsExtensions": true,
14
+ "verbatimModuleSyntax": true,
15
+ "moduleDetection": "force",
16
+ "noEmit": true,
17
+ "jsx": "react-jsx",
18
+
19
+ /* Linting */
20
+ "strict": true,
21
+ "noUnusedLocals": true,
22
+ "noUnusedParameters": true,
23
+ "erasableSyntaxOnly": true,
24
+ "noFallthroughCasesInSwitch": true,
25
+ "noUncheckedSideEffectImports": true
26
+ },
27
+ "include": ["src"]
28
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "files": [],
3
+ "references": [
4
+ { "path": "./tsconfig.app.json" },
5
+ { "path": "./tsconfig.node.json" }
6
+ ]
7
+ }