srcdev-nuxt-forms 5.1.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_form-fieldset.css +38 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-button.css +66 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-core.css +66 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-options-button.css +76 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-error.css +54 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-label.css +21 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-select.css +140 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-text.css +190 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-textarea.css +96 -0
- package/{assets → app/assets}/styles/extends-layer/srcdev-forms/components/index.css +3 -4
- package/app/assets/styles/extends-layer/srcdev-forms/setup/_generic.css +21 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/index.css +4 -0
- package/{assets → app/assets}/styles/extends-layer/srcdev-forms/setup/themes/_error.css +12 -12
- package/{assets → app/assets}/styles/extends-layer/srcdev-forms/setup/themes/_ghost.css +12 -12
- package/{assets → app/assets}/styles/extends-layer/srcdev-forms/setup/themes/_input-action-underlined.css +7 -7
- package/{assets → app/assets}/styles/extends-layer/srcdev-forms/setup/themes/_input-action.css +7 -7
- package/{assets → app/assets}/styles/extends-layer/srcdev-forms/setup/themes/_primary.css +12 -12
- package/{assets → app/assets}/styles/extends-layer/srcdev-forms/setup/themes/_secondary.css +12 -12
- package/{assets → app/assets}/styles/extends-layer/srcdev-forms/setup/themes/_success.css +12 -12
- package/{assets → app/assets}/styles/extends-layer/srcdev-forms/setup/themes/_tertiary.css +12 -12
- package/{assets → app/assets}/styles/extends-layer/srcdev-forms/setup/themes/_warning.css +12 -12
- package/app/assets/styles/extends-layer/srcdev-forms/setup/variables/_a11y.css +7 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/variables/index.css +1 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/_normal.css +48 -0
- package/{assets → app/assets}/styles/extends-layer/srcdev-forms/setup/variants/_underlined.css +12 -12
- package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/index.css +3 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_default.css +13 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_large.css +12 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_medium.css +12 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_small.css +12 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_x-small.css +11 -0
- package/{assets/styles/extends-layer/srcdev-forms/setup → app/assets/styles/extends-layer/srcdev-forms/setup/variants}/sizes/index.css +2 -0
- package/app/assets/styles/setup/_head.css +36 -0
- package/app/assets/styles/setup/index.css +5 -0
- package/{assets/styles/setup/variables → app/assets/styles/setup/theming}/colors/_blue.css +1 -1
- package/{assets/styles/setup/variables → app/assets/styles/setup/theming}/index.css +1 -0
- package/app/assets/styles/setup/theming/themes/_default.css +66 -0
- package/app/assets/styles/setup/theming/themes/_error.css +66 -0
- package/app/assets/styles/setup/theming/themes/_ghost.css +31 -0
- package/app/assets/styles/setup/theming/themes/_info.css +31 -0
- package/app/assets/styles/setup/theming/themes/_primary.css +41 -0
- package/app/assets/styles/setup/theming/themes/_secondary.css +66 -0
- package/app/assets/styles/setup/theming/themes/_success.css +66 -0
- package/app/assets/styles/setup/theming/themes/_tertiary.css +31 -0
- package/app/assets/styles/setup/theming/themes/_warning.css +68 -0
- package/app/assets/styles/setup/theming/themes/index.css +9 -0
- package/app/assets/styles/setup/typography/index.css +2 -0
- package/app/assets/styles/setup/typography/utility-classes/_generic-font-classes.css +217 -0
- package/app/assets/styles/setup/typography/utility-classes/_generic-font-variation-settings.css +29 -0
- package/app/assets/styles/setup/typography/utility-classes/_generic-font-weights.css +39 -0
- package/app/assets/styles/setup/typography/vars/_colors.css +14 -0
- package/app/assets/styles/setup/typography/vars/_reponsive-font-sizes.css +12 -0
- package/{assets → app/assets}/styles/setup/typography/vars/index.css +1 -0
- package/app/assets/styles/setup/utility-classes/_fluid-spacing.css +13 -0
- package/app/assets/styles/setup/utility-classes/animations/_auto-rotate.css +13 -0
- package/app/assets/styles/setup/utility-classes/animations/_entry-exit-blur.css +16 -0
- package/app/assets/styles/setup/utility-classes/animations/_entry-slide-in.css +15 -0
- package/app/assets/styles/setup/utility-classes/animations/_entry-zoom-reveal.css +15 -0
- package/app/assets/styles/setup/utility-classes/animations/index.css +4 -0
- package/app/assets/styles/setup/utility-classes/index.css +2 -0
- package/app/assets/styles/setup/variables/index.css +1 -0
- package/{components → app/components}/forms/form-errors/InputError.vue +32 -49
- package/{components → app/components}/forms/form-fieldset/FormFieldset.vue +9 -9
- package/{components → app/components}/forms/input-button/InputButtonCore.vue +20 -18
- package/{components → app/components}/forms/input-button/variants/InputButtonConfirm.vue +1 -1
- package/app/components/forms/input-checkbox-radio/InputCheckboxRadioButton.vue +204 -0
- package/{components → app/components}/forms/input-checkbox-radio/InputCheckboxRadioCore.vue +29 -17
- package/{components → app/components}/forms/input-checkbox-radio/InputCheckboxRadioWithLabel.vue +1 -0
- package/{components → app/components}/forms/input-label/InputLabel.vue +26 -7
- package/{components → app/components}/forms/input-number/InputNumberCore.vue +7 -6
- package/{components → app/components}/forms/input-number/variants/InputNumberDefault.vue +5 -6
- package/{components → app/components}/forms/input-range/InputRangeCore.vue +1 -1
- package/{components → app/components}/forms/input-range/variants/InputRangeDefault.vue +5 -2
- package/{components → app/components}/forms/input-range-fancy/InputRangeFancyCore.vue +1 -1
- package/{components → app/components}/forms/input-range-fancy/InputRangeFancyWithLabel.vue +1 -1
- package/{components → app/components}/forms/input-select/InputSelectCore.vue +23 -21
- package/{components → app/components}/forms/input-select/variants/InputSelectWithLabel.vue +1 -1
- package/app/components/forms/input-text/InputTextCore.vue +341 -0
- package/{components → app/components}/forms/input-text/variants/InputPasswordWithLabel.vue +1 -1
- package/{components → app/components}/forms/input-text/variants/InputTextAsNumberWithLabel.vue +4 -2
- package/app/components/forms/input-text/variants/InputTextWithLabel.vue +158 -0
- package/{components → app/components}/forms/input-textarea/InputTextareaCore.vue +10 -131
- package/app/components/forms/input-textarea/variants/InputTextareaWithLabel.vue +125 -0
- package/{components → app/components}/forms/toggle-switch/ToggleSwitchCore.vue +1 -1
- package/{components → app/components}/forms/toggle-switch/ToggleSwitchCoreOld.vue +1 -1
- package/{components → app/components}/forms/toggle-switch/variants/ToggleSwitchWithLabel.vue +5 -2
- package/{components → app/components}/forms/toggle-switch/variants/ToggleSwitchWithLabelInline.vue +5 -2
- package/{components → app/components}/utils/colour-scheme-select/ColourSchemeSelect.vue +1 -1
- package/{components → app/components}/utils/colour-scheme-select/ColourSchemeSelectOld.vue +1 -1
- package/nuxt.config.ts +5 -2
- package/package.json +9 -11
- package/assets/styles/extends-layer/srcdev-forms/components/_form-core.css +0 -8
- package/assets/styles/extends-layer/srcdev-forms/components/_form-fieldset.css +0 -16
- package/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-options-button.css +0 -59
- package/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox.css +0 -72
- package/assets/styles/extends-layer/srcdev-forms/components/_input-error.css +0 -55
- package/assets/styles/extends-layer/srcdev-forms/components/_input-label.css +0 -18
- package/assets/styles/extends-layer/srcdev-forms/components/_input-radio.css +0 -68
- package/assets/styles/extends-layer/srcdev-forms/components/_input-select.css +0 -18
- package/assets/styles/extends-layer/srcdev-forms/components/_input-text-as-number.css +0 -22
- package/assets/styles/extends-layer/srcdev-forms/components/_input-textarea.css +0 -5
- package/assets/styles/extends-layer/srcdev-forms/setup/_generic.css +0 -7
- package/assets/styles/extends-layer/srcdev-forms/setup/index.css +0 -4
- package/assets/styles/extends-layer/srcdev-forms/setup/sizes/_default.css +0 -12
- package/assets/styles/extends-layer/srcdev-forms/setup/sizes/_large.css +0 -12
- package/assets/styles/extends-layer/srcdev-forms/setup/sizes/_medium.css +0 -12
- package/assets/styles/extends-layer/srcdev-forms/setup/sizes/_small.css +0 -12
- package/assets/styles/extends-layer/srcdev-forms/setup/sizes/_x-small.css +0 -11
- package/assets/styles/extends-layer/srcdev-forms/setup/variants/_normal.css +0 -48
- package/assets/styles/extends-layer/srcdev-forms/setup/variants/index.css +0 -2
- package/assets/styles/setup/_head.css +0 -5
- package/assets/styles/setup/index.css +0 -5
- package/assets/styles/setup/typography/index.css +0 -2
- package/assets/styles/setup/typography/utility-classes/_generic-font-classes.css +0 -192
- package/assets/styles/setup/typography/utility-classes/_generic-font-variation-settings.css +0 -29
- package/assets/styles/setup/typography/utility-classes/_generic-font-weights.css +0 -41
- package/assets/styles/setup/typography/vars/_reponsive-font-sizes.css +0 -10
- package/assets/styles/setup/utility-classes/_margin-helpers.css +0 -334
- package/assets/styles/setup/utility-classes/_padding-helpers.css +0 -308
- package/assets/styles/setup/utility-classes/_page.css +0 -49
- package/assets/styles/setup/utility-classes/index.css +0 -3
- package/components/forms/input-checkbox-radio/InputCheckboxRadioButton.vue +0 -218
- package/components/forms/input-text/InputTextCore.vue +0 -390
- package/components/forms/input-text/variants/InputTextWithLabel.vue +0 -300
- package/components/forms/input-textarea/variants/InputTextareaWithLabel.vue +0 -269
- package/{assets → app/assets}/styles/extends-layer/srcdev-forms/index.css +0 -0
- package/{assets → app/assets}/styles/extends-layer/srcdev-forms/setup/themes/index.css +0 -0
- package/{assets → app/assets}/styles/main.css +0 -0
- package/{assets → app/assets}/styles/setup/a11y/_utils.css +0 -0
- package/{assets → app/assets}/styles/setup/a11y/_variables.css +0 -0
- package/{assets → app/assets}/styles/setup/a11y/index.css +0 -0
- package/{assets/styles/setup/variables → app/assets/styles/setup/theming}/colors/_gray.css +0 -0
- package/{assets/styles/setup/variables → app/assets/styles/setup/theming}/colors/_green.css +0 -0
- package/{assets/styles/setup/variables → app/assets/styles/setup/theming}/colors/_orange.css +0 -0
- package/{assets/styles/setup/variables → app/assets/styles/setup/theming}/colors/_red.css +0 -0
- package/{assets/styles/setup/variables → app/assets/styles/setup/theming}/colors/_yellow.css +0 -0
- package/{assets/styles/setup/variables → app/assets/styles/setup/theming}/colors/index.css +3 -3
- package/{assets → app/assets}/styles/setup/typography/utility-classes/index.css +1 -1
- /package/{components → app/components}/forms/c12/prop-validators/index.ts +0 -0
- /package/{components → app/components}/forms/c12/utils.ts +0 -0
- /package/{components → app/components}/forms/form-errors/tests/InputError.spec.ts +0 -0
- /package/{components → app/components}/forms/input-button/variants/InputButtonSubmit.vue +0 -0
- /package/{components → app/components}/forms/input-checkbox/MultipleCheckboxes.vue +0 -0
- /package/{components → app/components}/forms/input-checkbox/SingleCheckbox.vue +0 -0
- /package/{components → app/components}/forms/input-checkbox/tests/MultipleCheckboxes.spec.ts +0 -0
- /package/{components → app/components}/forms/input-checkbox/tests/data/tags.json +0 -0
- /package/{components → app/components}/forms/input-radio/MultipleRadiobuttons.vue +0 -0
- /package/{components → app/components}/forms/input-radio/tests/MultipleRadioButtons.spec.ts +0 -0
- /package/{components → app/components}/forms/input-radio/tests/data/tags.json +0 -0
- /package/{components → app/components}/forms/ui/FormField.vue +0 -0
- /package/{components → app/components}/forms/ui/FormWrapper.vue +0 -0
- /package/{components → app/components}/utils/dark-mode-switcher/DarkModeSwitcher.vue +0 -0
- /package/{composables → app/composables}/useApiRequest.ts +0 -0
- /package/{composables → app/composables}/useColourScheme.ts +0 -0
- /package/{composables → app/composables}/useErrorMessages.ts +0 -0
- /package/{composables → app/composables}/useFormControl.ts +0 -0
- /package/{composables → app/composables}/useSleep.ts +0 -0
- /package/{composables → app/composables}/useStyleClassPassthrough.ts +0 -0
- /package/{composables → app/composables}/useZodValidation.ts +0 -0
- /package/{types → app/types}/types.forms.ts +0 -0
- /package/{types → app/types}/types.zodFormControl.ts +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
[data-size='medium'] {
|
|
3
|
+
--form-element-font-size: var(--step-6);
|
|
4
|
+
--form-placeholder-font-size: calc(var(--step-6) * 0.65);
|
|
5
|
+
--form-element-line-height: var(--step-6);
|
|
6
|
+
--form-icon-size: var(--step-6);
|
|
7
|
+
--form-input-border-radius: 0.4rem;
|
|
8
|
+
--form-icon-only-button-size: calc(var(--step-4) * 2.75 + 1px);
|
|
9
|
+
--form-toggle-symbol-size: calc(var(--step-6) * 1.78);
|
|
10
|
+
--form-toggle-switch-width-adjustment: 0rem;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
[data-size='small'] {
|
|
3
|
+
--form-element-font-size: var(--step-4);
|
|
4
|
+
--form-placeholder-font-size: calc(var(--step-4) * 0.65);
|
|
5
|
+
--form-element-line-height: var(--step-4);
|
|
6
|
+
--form-icon-size: var(--step-4);
|
|
7
|
+
--form-input-border-radius: 0.4rem;
|
|
8
|
+
--form-icon-only-button-size: calc(var(--step-4) * 2.25 + 1px);
|
|
9
|
+
--form-toggle-symbol-size: calc(var(--step-4) * 1.635);
|
|
10
|
+
--form-toggle-switch-width-adjustment: 0.3rem;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
[data-size='x-small'] {
|
|
3
|
+
--form-element-font-size: var(--step-3);
|
|
4
|
+
--form-placeholder-font-size: calc(var(--step-3) * 0.65);
|
|
5
|
+
--form-element-line-height: var(--step-3);
|
|
6
|
+
--form-input-border-radius: 0.4rem;
|
|
7
|
+
--form-icon-only-button-size: calc(var(--step-4) * 2 + 1px);
|
|
8
|
+
--form-toggle-symbol-size: calc(var(--step-3) * 1.55);
|
|
9
|
+
--form-toggle-switch-width-adjustment: 0.5rem;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -10,11 +10,13 @@
|
|
|
10
10
|
--form-element-border-width: 0.2rem;
|
|
11
11
|
--form-element-border-width-underlined: 0.4rem;
|
|
12
12
|
--form-element-outline-width: 0.1rem;
|
|
13
|
+
--form-element-outline-offset-focus: 0.2rem;
|
|
13
14
|
|
|
14
15
|
--form-text-padding-inline: 0.5em;
|
|
15
16
|
--form-button-padding-inline: 1.25em;
|
|
16
17
|
--form-button-icon-gap: 1em;
|
|
17
18
|
--form-input-border-radius: 0.4rem;
|
|
19
|
+
--form-input-border-radius-underlined: 0;
|
|
18
20
|
|
|
19
21
|
--input-element-padding-block: 1.25rem;
|
|
20
22
|
--input-element-padding-inline: 1rem;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* --font-family: futura-pt, Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif; */
|
|
3
|
+
/* --font-family: Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
|
|
4
|
+
|
|
5
|
+
--font-family: 'Quicksand', futura-pt, Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
html {
|
|
9
|
+
color-scheme: light dark;
|
|
10
|
+
|
|
11
|
+
&[data-color-scheme='light'] {
|
|
12
|
+
color-scheme: light;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&[data-color-scheme='dark'] {
|
|
16
|
+
color-scheme: dark;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
background-color: var(--page-bg);
|
|
20
|
+
|
|
21
|
+
font-size: 62.5%;
|
|
22
|
+
|
|
23
|
+
transition: background-color 0.4s ease, color 0.4s ease;
|
|
24
|
+
scrollbar-gutter: stable;
|
|
25
|
+
|
|
26
|
+
overflow-x: hidden;
|
|
27
|
+
}
|
|
28
|
+
body {
|
|
29
|
+
color: var(--grayscale-text-body);
|
|
30
|
+
font-family: var(--font-family);
|
|
31
|
+
font-size: var(--step-4);
|
|
32
|
+
min-height: 100vh;
|
|
33
|
+
transition: background-color 0.4s ease, color 0.4s ease;
|
|
34
|
+
|
|
35
|
+
overflow-x: hidden;
|
|
36
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* Theme-neutral component scale using light-dark() */
|
|
3
|
+
--colour-theme-0: light-dark(var(--gray-0), var(--gray-12));
|
|
4
|
+
--colour-theme-1: light-dark(var(--gray-1), var(--gray-11));
|
|
5
|
+
--colour-theme-2: light-dark(var(--gray-2), var(--gray-10));
|
|
6
|
+
--colour-theme-3: light-dark(var(--gray-3), var(--gray-9));
|
|
7
|
+
--colour-theme-4: light-dark(var(--gray-4), var(--gray-8));
|
|
8
|
+
--colour-theme-5: light-dark(var(--gray-5), var(--gray-7));
|
|
9
|
+
--colour-theme-6: light-dark(var(--gray-6), var(--gray-6));
|
|
10
|
+
--colour-theme-7: light-dark(var(--gray-7), var(--gray-5));
|
|
11
|
+
--colour-theme-8: light-dark(var(--gray-8), var(--gray-4));
|
|
12
|
+
--colour-theme-9: light-dark(var(--gray-9), var(--gray-3));
|
|
13
|
+
--colour-theme-10: light-dark(var(--gray-10), var(--gray-2));
|
|
14
|
+
--colour-theme-11: light-dark(var(--gray-11), var(--gray-1));
|
|
15
|
+
--colour-theme-12: light-dark(var(--gray-12), var(--gray-0));
|
|
16
|
+
|
|
17
|
+
/* Generic */
|
|
18
|
+
--theme-box-shadow: var(--colour-theme-12);
|
|
19
|
+
|
|
20
|
+
/* Fieldset & Label */
|
|
21
|
+
--form-fieldset-legend-color: light-dark(var(--gray-12), var(--gray-1));
|
|
22
|
+
--form-label-color: light-dark(var(--gray-12), var(--gray-1));
|
|
23
|
+
|
|
24
|
+
/* Input Elements */
|
|
25
|
+
--theme-input-surface: light-dark(var(--gray-1), var(--gray-8));
|
|
26
|
+
--theme-input-surface-hover: light-dark(var(--gray-1), var(--gray-5));
|
|
27
|
+
|
|
28
|
+
--theme-input-border: light-dark(var(--gray-9), var(--gray-4));
|
|
29
|
+
--theme-input-border-hover: light-dark(var(--gray-10), var(--gray-5));
|
|
30
|
+
--theme-input-border-focus: light-dark(var(--gray-10), var(--gray-5));
|
|
31
|
+
|
|
32
|
+
--theme-input-outline: transparent;
|
|
33
|
+
--theme-input-outline-hover: light-dark(var(--gray-10), var(--gray-5));
|
|
34
|
+
--theme-input-outline-focus: light-dark(var(--gray-10), var(--gray-5));
|
|
35
|
+
|
|
36
|
+
--theme-input-text: var(--gray-0);
|
|
37
|
+
--theme-input-text-hover: var(--gray-0);
|
|
38
|
+
--theme-input-text-focus: var(--gray-0);
|
|
39
|
+
--theme-input-placeholder: light-dark(var(--gray-7), var(--gray-5));
|
|
40
|
+
|
|
41
|
+
/* Checkboxes & Radio buttons */
|
|
42
|
+
--theme-checkbox-label-text-color: light-dark(var(--gray-11), var(--gray-1));
|
|
43
|
+
--theme-checkbox-decorator-color: light-dark(var(--gray-11), var(--gray-1));
|
|
44
|
+
--theme-checkbox-symbol-surface: var(--colour-theme-2);
|
|
45
|
+
--theme-checkbox-symbol-color: light-dark(var(--gray-11), var(--gray-1));
|
|
46
|
+
|
|
47
|
+
/* a11y */
|
|
48
|
+
--theme-focus-visible-shadow: var(--colour-theme-12);
|
|
49
|
+
--theme-focus-visible-outline: var(--colour-theme-12);
|
|
50
|
+
|
|
51
|
+
/* Buttons */
|
|
52
|
+
--theme-button-surface: light-dark(var(--gray-5), var(--gray-4));
|
|
53
|
+
--theme-button-surface-hover: light-dark(var(--gray-6), var(--gray-5));
|
|
54
|
+
|
|
55
|
+
--theme-button-border: light-dark(var(--gray-9), var(--gray-4));
|
|
56
|
+
--theme-button-border-hover: light-dark(var(--gray-10), var(--gray-5));
|
|
57
|
+
--theme-button-border-focus: light-dark(var(--gray-10), var(--gray-5));
|
|
58
|
+
|
|
59
|
+
--theme-button-outline: transparent;
|
|
60
|
+
--theme-button-outline-hover: light-dark(var(--gray-10), var(--gray-5));
|
|
61
|
+
--theme-button-outline-focus: light-dark(var(--gray-10), var(--gray-5));
|
|
62
|
+
|
|
63
|
+
--theme-button-text: var(--gray-0);
|
|
64
|
+
--theme-button-text-hover: var(--gray-0);
|
|
65
|
+
--theme-button-text-focus: var(--gray-0);
|
|
66
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
[data-theme='error'] {
|
|
2
|
+
--colour-theme-0: var(--red-0);
|
|
3
|
+
--colour-theme-1: var(--red-1);
|
|
4
|
+
--colour-theme-2: var(--red-2);
|
|
5
|
+
--colour-theme-3: var(--red-3);
|
|
6
|
+
--colour-theme-4: var(--red-4);
|
|
7
|
+
--colour-theme-5: var(--red-5);
|
|
8
|
+
--colour-theme-6: var(--red-6);
|
|
9
|
+
--colour-theme-7: var(--red-7);
|
|
10
|
+
--colour-theme-8: var(--red-8);
|
|
11
|
+
--colour-theme-9: var(--red-9);
|
|
12
|
+
--colour-theme-10: var(--red-10);
|
|
13
|
+
--colour-theme-11: var(--red-11);
|
|
14
|
+
--colour-theme-12: var(--red-12);
|
|
15
|
+
|
|
16
|
+
/* Generic */
|
|
17
|
+
--theme-box-shadow: var(--colour-theme-12);
|
|
18
|
+
|
|
19
|
+
/* Fieldset & Label */
|
|
20
|
+
--form-fieldset-legend-color: light-dark(var(--gray-12), var(--gray-1));
|
|
21
|
+
--form-label-color: light-dark(var(--gray-12), var(--gray-1));
|
|
22
|
+
|
|
23
|
+
/* Input Elements */
|
|
24
|
+
--theme-input-surface: light-dark(var(--gray-1), var(--gray-8));
|
|
25
|
+
--theme-input-surface-hover: light-dark(var(--gray-1), var(--gray-10));
|
|
26
|
+
--theme-input-surface-focus: light-dark(var(--gray-1), var(--gray-10));
|
|
27
|
+
|
|
28
|
+
--theme-input-border: var(--red-12);
|
|
29
|
+
--theme-input-border-hover: light-dark(var(--gray-10), var(--gray-5));
|
|
30
|
+
--theme-input-border-focus: light-dark(var(--gray-10), var(--gray-5));
|
|
31
|
+
|
|
32
|
+
--theme-input-outline: transparent;
|
|
33
|
+
--theme-input-outline-hover: light-dark(var(--gray-10), var(--gray-1));
|
|
34
|
+
--theme-input-outline-focus: light-dark(var(--gray-10), var(--gray-1));
|
|
35
|
+
|
|
36
|
+
--theme-input-text: var(--gray-0);
|
|
37
|
+
--theme-input-text-hover: var(--gray-0);
|
|
38
|
+
--theme-input-text-focus: var(--gray-0);
|
|
39
|
+
--theme-input-placeholder: light-dark(var(--gray-7), var(--gray-5));
|
|
40
|
+
|
|
41
|
+
/* Checkboxes & Radio buttons */
|
|
42
|
+
--theme-checkbox-label-text-color: light-dark(var(--gray-11), var(--gray-1));
|
|
43
|
+
--theme-checkbox-decorator-color: var(--red-10);
|
|
44
|
+
--theme-checkbox-symbol-surface: var(--gray-12);
|
|
45
|
+
--theme-checkbox-symbol-color: light-dark(var(--gray-11), var(--gray-1));
|
|
46
|
+
|
|
47
|
+
/* a11y */
|
|
48
|
+
--theme-focus-visible-shadow: var(--colour-theme-1);
|
|
49
|
+
--theme-focus-visible-outline: var(--colour-theme-1);
|
|
50
|
+
|
|
51
|
+
/* Buttons */
|
|
52
|
+
--theme-button-surface: light-dark(var(--red-5), var(--red-10));
|
|
53
|
+
--theme-button-surface-hover: light-dark(var(--red-6), var(--red-12));
|
|
54
|
+
|
|
55
|
+
--theme-button-border: light-dark(var(--red-9), var(--red-4));
|
|
56
|
+
--theme-button-border-hover: light-dark(var(--red-10), var(--red-5));
|
|
57
|
+
--theme-button-border-focus: light-dark(var(--red-10), var(--red-5));
|
|
58
|
+
|
|
59
|
+
--theme-button-outline: transparent;
|
|
60
|
+
--theme-button-outline-hover: light-dark(var(--red-10), var(--red-7));
|
|
61
|
+
--theme-button-outline-focus: light-dark(var(--red-10), var(--red-7));
|
|
62
|
+
|
|
63
|
+
--theme-button-text: var(--red-0);
|
|
64
|
+
--theme-button-text-hover: var(--red-0);
|
|
65
|
+
--theme-button-text-focus: var(--red-0);
|
|
66
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[data-theme='ghost'] {
|
|
2
|
+
--colour-theme-0: var(--gray-0);
|
|
3
|
+
--colour-theme-1: var(--gray-1);
|
|
4
|
+
--colour-theme-2: var(--gray-2);
|
|
5
|
+
--colour-theme-3: var(--gray-3);
|
|
6
|
+
--colour-theme-4: var(--gray-4);
|
|
7
|
+
--colour-theme-5: var(--gray-5);
|
|
8
|
+
--colour-theme-6: var(--gray-6);
|
|
9
|
+
--colour-theme-7: var(--gray-7);
|
|
10
|
+
--colour-theme-8: var(--gray-8);
|
|
11
|
+
--colour-theme-9: var(--gray-9);
|
|
12
|
+
--colour-theme-10: var(--gray-10);
|
|
13
|
+
--colour-theme-11: var(--gray-11);
|
|
14
|
+
--colour-theme-12: var(--gray-12);
|
|
15
|
+
|
|
16
|
+
/* Buttons */
|
|
17
|
+
--theme-button-surface: light-dark(var(--gray-5), var(--gray-4));
|
|
18
|
+
--theme-button-surface-hover: light-dark(var(--gray-6), var(--gray-5));
|
|
19
|
+
|
|
20
|
+
--theme-button-border: light-dark(var(--gray-9), var(--gray-4));
|
|
21
|
+
--theme-button-border-hover: light-dark(var(--gray-10), var(--gray-5));
|
|
22
|
+
--theme-button-border-focus: light-dark(var(--gray-10), var(--gray-5));
|
|
23
|
+
|
|
24
|
+
--theme-button-outline: transparent;
|
|
25
|
+
--theme-button-outline-hover: light-dark(var(--gray-10), var(--gray-5));
|
|
26
|
+
--theme-button-outline-focus: light-dark(var(--gray-10), var(--gray-5));
|
|
27
|
+
|
|
28
|
+
--theme-button-text: var(--gray-0);
|
|
29
|
+
--theme-button-text-hover: var(--gray-0);
|
|
30
|
+
--theme-button-text-focus: var(--gray-0);
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[data-theme='info'] {
|
|
2
|
+
--colour-theme-0: var(--blue-0);
|
|
3
|
+
--colour-theme-1: var(--blue-1);
|
|
4
|
+
--colour-theme-2: var(--blue-2);
|
|
5
|
+
--colour-theme-3: var(--blue-3);
|
|
6
|
+
--colour-theme-4: var(--blue-4);
|
|
7
|
+
--colour-theme-5: var(--blue-5);
|
|
8
|
+
--colour-theme-6: var(--blue-6);
|
|
9
|
+
--colour-theme-7: var(--blue-7);
|
|
10
|
+
--colour-theme-8: var(--blue-8);
|
|
11
|
+
--colour-theme-9: var(--blue-9);
|
|
12
|
+
--colour-theme-10: var(--blue-10);
|
|
13
|
+
--colour-theme-11: var(--blue-11);
|
|
14
|
+
--colour-theme-12: var(--blue-12);
|
|
15
|
+
|
|
16
|
+
/* Buttons */
|
|
17
|
+
--theme-button-surface: light-dark(var(--blue-5), var(--blue-4));
|
|
18
|
+
--theme-button-surface-hover: light-dark(var(--blue-6), var(--blue-5));
|
|
19
|
+
|
|
20
|
+
--theme-button-border: light-dark(var(--blue-9), var(--blue-4));
|
|
21
|
+
--theme-button-border-hover: light-dark(var(--blue-10), var(--blue-5));
|
|
22
|
+
--theme-button-border-focus: light-dark(var(--blue-10), var(--blue-5));
|
|
23
|
+
|
|
24
|
+
--theme-button-outline: transparent;
|
|
25
|
+
--theme-button-outline-hover: light-dark(var(--blue-10), var(--blue-5));
|
|
26
|
+
--theme-button-outline-focus: light-dark(var(--blue-10), var(--blue-5));
|
|
27
|
+
|
|
28
|
+
--theme-button-text: var(--blue-0);
|
|
29
|
+
--theme-button-text-hover: var(--blue-0);
|
|
30
|
+
--theme-button-text-focus: var(--blue-0);
|
|
31
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
[data-theme='primary'] {
|
|
2
|
+
--colour-theme-0: var(--blue-0);
|
|
3
|
+
--colour-theme-1: var(--blue-1);
|
|
4
|
+
--colour-theme-2: var(--blue-2);
|
|
5
|
+
--colour-theme-3: var(--blue-3);
|
|
6
|
+
--colour-theme-4: var(--blue-4);
|
|
7
|
+
--colour-theme-5: var(--blue-5);
|
|
8
|
+
--colour-theme-6: var(--blue-6);
|
|
9
|
+
--colour-theme-7: var(--blue-7);
|
|
10
|
+
--colour-theme-8: var(--blue-8);
|
|
11
|
+
--colour-theme-9: var(--blue-9);
|
|
12
|
+
--colour-theme-10: var(--blue-10);
|
|
13
|
+
--colour-theme-11: var(--blue-11);
|
|
14
|
+
--colour-theme-12: var(--blue-12);
|
|
15
|
+
|
|
16
|
+
/* Buttons */
|
|
17
|
+
--theme-button-surface: light-dark(var(--blue-9), var(--blue-11));
|
|
18
|
+
--theme-button-surface-hover: light-dark(var(--blue-6), var(--blue-12));
|
|
19
|
+
|
|
20
|
+
--theme-button-border: light-dark(var(--blue-9), var(--blue-2));
|
|
21
|
+
--theme-button-border-hover: light-dark(var(--blue-10), var(--blue-1));
|
|
22
|
+
--theme-button-border-focus: light-dark(var(--blue-10), var(--blue-5));
|
|
23
|
+
|
|
24
|
+
--theme-button-outline: transparent;
|
|
25
|
+
--theme-button-outline-hover: light-dark(var(--blue-10), var(--blue-1));
|
|
26
|
+
--theme-button-outline-focus: light-dark(var(--blue-10), var(--blue-1));
|
|
27
|
+
|
|
28
|
+
--theme-button-text: var(--blue-0);
|
|
29
|
+
--theme-button-text-hover: var(--blue-0);
|
|
30
|
+
--theme-button-text-focus: var(--blue-0);
|
|
31
|
+
|
|
32
|
+
/* Input Elements */
|
|
33
|
+
--theme-input-surface: light-dark(var(--gray-1), var(--gray-8));
|
|
34
|
+
--theme-input-surface-hover: light-dark(var(--blue-1), var(--blue-7));
|
|
35
|
+
--theme-input-border: light-dark(var(--blue-9), var(--blue-4));
|
|
36
|
+
--theme-input-border-hover: light-dark(var(--blue-10), var(--blue-5));
|
|
37
|
+
--theme-input-border-focus: light-dark(var(--blue-10), var(--blue-5));
|
|
38
|
+
--theme-input-text: var(--blue-0);
|
|
39
|
+
--theme-input-text-hover: var(--blue-0);
|
|
40
|
+
--theme-input-text-focus: var(--blue-0);
|
|
41
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
[data-theme='secondary'] {
|
|
2
|
+
--colour-theme-0: var(--gray-0);
|
|
3
|
+
--colour-theme-1: var(--gray-1);
|
|
4
|
+
--colour-theme-2: var(--gray-2);
|
|
5
|
+
--colour-theme-3: var(--gray-3);
|
|
6
|
+
--colour-theme-4: var(--gray-4);
|
|
7
|
+
--colour-theme-5: var(--gray-5);
|
|
8
|
+
--colour-theme-6: var(--gray-6);
|
|
9
|
+
--colour-theme-7: var(--gray-7);
|
|
10
|
+
--colour-theme-8: var(--gray-8);
|
|
11
|
+
--colour-theme-9: var(--gray-9);
|
|
12
|
+
--colour-theme-10: var(--gray-10);
|
|
13
|
+
--colour-theme-11: var(--gray-11);
|
|
14
|
+
--colour-theme-12: var(--gray-12);
|
|
15
|
+
|
|
16
|
+
/* Generic */
|
|
17
|
+
--theme-box-shadow: var(--colour-theme-12);
|
|
18
|
+
|
|
19
|
+
/* Fieldset & Label */
|
|
20
|
+
--form-fieldset-legend-color: light-dark(var(--gray-12), var(--gray-1));
|
|
21
|
+
--form-label-color: light-dark(var(--gray-12), var(--gray-1));
|
|
22
|
+
|
|
23
|
+
/* Input Elements */
|
|
24
|
+
--theme-input-surface: light-dark(var(--gray-1), var(--gray-8));
|
|
25
|
+
--theme-input-surface-hover: light-dark(var(--gray-1), var(--gray-10));
|
|
26
|
+
--theme-input-surface-focus: light-dark(var(--gray-1), var(--gray-10));
|
|
27
|
+
|
|
28
|
+
--theme-input-border: light-dark(var(--gray-9), var(--gray-4));
|
|
29
|
+
--theme-input-border-hover: light-dark(var(--gray-10), var(--gray-5));
|
|
30
|
+
--theme-input-border-focus: light-dark(var(--gray-10), var(--gray-5));
|
|
31
|
+
|
|
32
|
+
--theme-input-outline: transparent;
|
|
33
|
+
--theme-input-outline-hover: light-dark(var(--gray-10), var(--gray-1));
|
|
34
|
+
--theme-input-outline-focus: light-dark(var(--gray-10), var(--gray-1));
|
|
35
|
+
|
|
36
|
+
--theme-input-text: var(--gray-0);
|
|
37
|
+
--theme-input-text-hover: var(--gray-0);
|
|
38
|
+
--theme-input-text-focus: var(--gray-0);
|
|
39
|
+
--theme-input-placeholder: light-dark(var(--gray-7), var(--gray-5));
|
|
40
|
+
|
|
41
|
+
/* Checkboxes & Radio buttons */
|
|
42
|
+
/* --theme-checkbox-label-text-color: light-dark(var(--gray-11), var(--gray-1)); */
|
|
43
|
+
/* --theme-checkbox-decorator-color: light-dark(var(--gray-11), var(--gray-1)); */
|
|
44
|
+
/* --theme-checkbox-symbol-surface: var(--colour-theme-12); */
|
|
45
|
+
/* --theme-checkbox-symbol-color: light-dark(var(--gray-11), var(--gray-1)); */
|
|
46
|
+
|
|
47
|
+
/* a11y */
|
|
48
|
+
--theme-focus-visible-shadow: var(--colour-theme-1);
|
|
49
|
+
--theme-focus-visible-outline: var(--colour-theme-1);
|
|
50
|
+
|
|
51
|
+
/* Buttons */
|
|
52
|
+
--theme-button-surface: light-dark(var(--gray-9), var(--gray-10));
|
|
53
|
+
--theme-button-surface-hover: light-dark(var(--gray-10), var(--gray-11));
|
|
54
|
+
|
|
55
|
+
--theme-button-border: light-dark(var(--gray-9), var(--gray-2));
|
|
56
|
+
--theme-button-border-hover: light-dark(var(--gray-10), var(--gray-1));
|
|
57
|
+
--theme-button-border-focus: light-dark(var(--gray-10), var(--gray-5));
|
|
58
|
+
|
|
59
|
+
--theme-button-outline: transparent;
|
|
60
|
+
--theme-button-outline-hover: light-dark(var(--gray-10), var(--gray-1));
|
|
61
|
+
--theme-button-outline-focus: light-dark(var(--gray-10), var(--gray-1));
|
|
62
|
+
|
|
63
|
+
--theme-button-text: var(--gray-0);
|
|
64
|
+
--theme-button-text-hover: var(--gray-0);
|
|
65
|
+
--theme-button-text-focus: var(--gray-0);
|
|
66
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
[data-theme='success'] {
|
|
2
|
+
--colour-theme-0: var(--green-0);
|
|
3
|
+
--colour-theme-1: var(--green-1);
|
|
4
|
+
--colour-theme-2: var(--green-2);
|
|
5
|
+
--colour-theme-3: var(--green-3);
|
|
6
|
+
--colour-theme-4: var(--green-4);
|
|
7
|
+
--colour-theme-5: var(--green-5);
|
|
8
|
+
--colour-theme-6: var(--green-6);
|
|
9
|
+
--colour-theme-7: var(--green-7);
|
|
10
|
+
--colour-theme-8: var(--green-8);
|
|
11
|
+
--colour-theme-9: var(--green-9);
|
|
12
|
+
--colour-theme-10: var(--green-10);
|
|
13
|
+
--colour-theme-11: var(--green-11);
|
|
14
|
+
--colour-theme-12: var(--green-12);
|
|
15
|
+
|
|
16
|
+
/* Generic */
|
|
17
|
+
--theme-box-shadow: var(--colour-theme-12);
|
|
18
|
+
|
|
19
|
+
/* Fieldset & Label */
|
|
20
|
+
--form-fieldset-legend-color: light-dark(var(--gray-12), var(--gray-1));
|
|
21
|
+
--form-label-color: light-dark(var(--gray-12), var(--gray-1));
|
|
22
|
+
|
|
23
|
+
/* Input Elements */
|
|
24
|
+
--theme-input-surface: light-dark(var(--gray-1), var(--gray-8));
|
|
25
|
+
--theme-input-surface-hover: light-dark(var(--gray-1), var(--gray-10));
|
|
26
|
+
--theme-input-surface-focus: light-dark(var(--gray-1), var(--gray-10));
|
|
27
|
+
|
|
28
|
+
--theme-input-border: var(--green-10);
|
|
29
|
+
--theme-input-border-hover: light-dark(var(--gray-10), var(--gray-5));
|
|
30
|
+
--theme-input-border-focus: light-dark(var(--gray-10), var(--gray-5));
|
|
31
|
+
|
|
32
|
+
--theme-input-outline: transparent;
|
|
33
|
+
--theme-input-outline-hover: light-dark(var(--gray-10), var(--gray-1));
|
|
34
|
+
--theme-input-outline-focus: light-dark(var(--gray-10), var(--gray-1));
|
|
35
|
+
|
|
36
|
+
--theme-input-text: var(--gray-0);
|
|
37
|
+
--theme-input-text-hover: var(--gray-0);
|
|
38
|
+
--theme-input-text-focus: var(--gray-0);
|
|
39
|
+
--theme-input-placeholder: light-dark(var(--gray-7), var(--gray-5));
|
|
40
|
+
|
|
41
|
+
/* Checkboxes & Radio buttons */
|
|
42
|
+
/* --theme-checkbox-label-text-color: light-dark(var(--gray-11), var(--gray-1)); */
|
|
43
|
+
/* --theme-checkbox-decorator-color: var(--green-10); */
|
|
44
|
+
/* --theme-checkbox-symbol-surface: var(--green-10); */
|
|
45
|
+
/* --theme-checkbox-symbol-color: light-dark(var(--gray-11), var(--gray-1)); */
|
|
46
|
+
|
|
47
|
+
/* a11y */
|
|
48
|
+
--theme-focus-visible-shadow: var(--colour-theme-1);
|
|
49
|
+
--theme-focus-visible-outline: var(--colour-theme-1);
|
|
50
|
+
|
|
51
|
+
/* Buttons */
|
|
52
|
+
--theme-button-surface: light-dark(var(--green-5), var(--green-10));
|
|
53
|
+
--theme-button-surface-hover: light-dark(var(--green-6), var(--green-12));
|
|
54
|
+
|
|
55
|
+
--theme-button-border: light-dark(var(--green-9), var(--green-4));
|
|
56
|
+
--theme-button-border-hover: light-dark(var(--green-10), var(--green-5));
|
|
57
|
+
--theme-button-border-focus: light-dark(var(--green-10), var(--green-5));
|
|
58
|
+
|
|
59
|
+
--theme-button-outline: transparent;
|
|
60
|
+
--theme-button-outline-hover: light-dark(var(--green-10), var(--green-5));
|
|
61
|
+
--theme-button-outline-focus: light-dark(var(--green-10), var(--green-5));
|
|
62
|
+
|
|
63
|
+
--theme-button-text: var(--green-0);
|
|
64
|
+
--theme-button-text-hover: var(--green-0);
|
|
65
|
+
--theme-button-text-focus: var(--green-0);
|
|
66
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[data-theme='tertiary'] {
|
|
2
|
+
--colour-theme-0: var(--gray-0);
|
|
3
|
+
--colour-theme-1: var(--gray-1);
|
|
4
|
+
--colour-theme-2: var(--gray-2);
|
|
5
|
+
--colour-theme-3: var(--gray-3);
|
|
6
|
+
--colour-theme-4: var(--gray-4);
|
|
7
|
+
--colour-theme-5: var(--gray-5);
|
|
8
|
+
--colour-theme-6: var(--gray-6);
|
|
9
|
+
--colour-theme-7: var(--gray-7);
|
|
10
|
+
--colour-theme-8: var(--gray-8);
|
|
11
|
+
--colour-theme-9: var(--gray-9);
|
|
12
|
+
--colour-theme-10: var(--gray-10);
|
|
13
|
+
--colour-theme-11: var(--gray-11);
|
|
14
|
+
--colour-theme-12: var(--gray-12);
|
|
15
|
+
|
|
16
|
+
/* Buttons */
|
|
17
|
+
--theme-button-surface: light-dark(var(--gray-5), var(--gray-4));
|
|
18
|
+
--theme-button-surface-hover: light-dark(var(--gray-6), var(--gray-5));
|
|
19
|
+
|
|
20
|
+
--theme-button-border: light-dark(var(--gray-9), var(--gray-4));
|
|
21
|
+
--theme-button-border-hover: light-dark(var(--gray-10), var(--gray-5));
|
|
22
|
+
--theme-button-border-focus: light-dark(var(--gray-10), var(--gray-5));
|
|
23
|
+
|
|
24
|
+
--theme-button-outline: transparent;
|
|
25
|
+
--theme-button-outline-hover: light-dark(var(--gray-10), var(--gray-5));
|
|
26
|
+
--theme-button-outline-focus: light-dark(var(--gray-10), var(--gray-5));
|
|
27
|
+
|
|
28
|
+
--theme-button-text: var(--gray-0);
|
|
29
|
+
--theme-button-text-hover: var(--gray-0);
|
|
30
|
+
--theme-button-text-focus: var(--gray-0);
|
|
31
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
[data-theme='warning'] {
|
|
3
|
+
--colour-theme-0: var(--orange-0);
|
|
4
|
+
--colour-theme-1: var(--orange-1);
|
|
5
|
+
--colour-theme-2: var(--orange-2);
|
|
6
|
+
--colour-theme-3: var(--orange-3);
|
|
7
|
+
--colour-theme-4: var(--orange-4);
|
|
8
|
+
--colour-theme-5: var(--orange-5);
|
|
9
|
+
--colour-theme-6: var(--orange-6);
|
|
10
|
+
--colour-theme-7: var(--orange-7);
|
|
11
|
+
--colour-theme-8: var(--orange-8);
|
|
12
|
+
--colour-theme-9: var(--orange-9);
|
|
13
|
+
--colour-theme-10: var(--orange-10);
|
|
14
|
+
--colour-theme-11: var(--orange-11);
|
|
15
|
+
--colour-theme-12: var(--orange-12);
|
|
16
|
+
|
|
17
|
+
/* Generic */
|
|
18
|
+
--theme-box-shadow: var(--colour-theme-12);
|
|
19
|
+
|
|
20
|
+
/* Fieldset & Label */
|
|
21
|
+
--form-fieldset-legend-color: light-dark(var(--gray-12), var(--gray-1));
|
|
22
|
+
--form-label-color: light-dark(var(--gray-12), var(--gray-1));
|
|
23
|
+
|
|
24
|
+
/* Input Elements */
|
|
25
|
+
--theme-input-surface: light-dark(var(--gray-1), var(--gray-8));
|
|
26
|
+
--theme-input-surface-hover: light-dark(var(--gray-1), var(--gray-10));
|
|
27
|
+
--theme-input-surface-focus: light-dark(var(--gray-1), var(--gray-10));
|
|
28
|
+
|
|
29
|
+
--theme-input-border: var(--orange-10);
|
|
30
|
+
--theme-input-border-hover: light-dark(var(--gray-10), var(--gray-5));
|
|
31
|
+
--theme-input-border-focus: light-dark(var(--gray-10), var(--gray-5));
|
|
32
|
+
|
|
33
|
+
--theme-input-outline: transparent;
|
|
34
|
+
--theme-input-outline-hover: light-dark(var(--gray-10), var(--gray-1));
|
|
35
|
+
--theme-input-outline-focus: light-dark(var(--gray-10), var(--gray-1));
|
|
36
|
+
|
|
37
|
+
--theme-input-text: var(--gray-0);
|
|
38
|
+
--theme-input-text-hover: var(--gray-0);
|
|
39
|
+
--theme-input-text-focus: var(--gray-0);
|
|
40
|
+
--theme-input-placeholder: light-dark(var(--gray-7), var(--gray-5));
|
|
41
|
+
|
|
42
|
+
/* Checkboxes & Radio buttons */
|
|
43
|
+
/* --theme-checkbox-label-text-color: light-dark(var(--gray-11), var(--gray-1)); */
|
|
44
|
+
/* --theme-checkbox-decorator-color: var(--orange-10); */
|
|
45
|
+
/* --theme-checkbox-symbol-surface: var(--orange-10); */
|
|
46
|
+
/* --theme-checkbox-symbol-color: light-dark(var(--gray-11), var(--gray-1)); */
|
|
47
|
+
|
|
48
|
+
/* a11y */
|
|
49
|
+
--theme-focus-visible-shadow: var(--colour-theme-1);
|
|
50
|
+
--theme-focus-visible-outline: var(--colour-theme-1);
|
|
51
|
+
|
|
52
|
+
/* Buttons */
|
|
53
|
+
--theme-button-surface: light-dark(var(--orange-5), var(--orange-10));
|
|
54
|
+
--theme-button-surface-hover: light-dark(var(--orange-6), var(--orange-12));
|
|
55
|
+
|
|
56
|
+
--theme-button-border: light-dark(var(--orange-9), var(--orange-4));
|
|
57
|
+
--theme-button-border-hover: light-dark(var(--orange-10), var(--orange-5));
|
|
58
|
+
--theme-button-border-focus: light-dark(var(--orange-10), var(--orange-5));
|
|
59
|
+
|
|
60
|
+
--theme-button-outline: transparent;
|
|
61
|
+
--theme-button-outline-hover: light-dark(var(--orange-10), var(--orange-5));
|
|
62
|
+
--theme-button-outline-focus: light-dark(var(--orange-10), var(--orange-5));
|
|
63
|
+
|
|
64
|
+
--theme-button-text: var(--orange-0);
|
|
65
|
+
--theme-button-text-hover: var(--orange-0);
|
|
66
|
+
--theme-button-text-focus: var(--orange-0);
|
|
67
|
+
}
|
|
68
|
+
}
|