srcdev-nuxt-forms 6.1.1 → 6.1.3

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 (81) hide show
  1. package/app/components/forms/input-checkbox/MultipleCheckboxes.vue +21 -32
  2. package/app/components/forms/input-description/InputDescription.vue +71 -0
  3. package/app/components/forms/input-label/InputLabel.vue +4 -0
  4. package/app/components/forms/input-select/variants/InputSelectWithLabel.vue +36 -12
  5. package/app/components/forms/input-text/variants/InputTextWithLabel.vue +35 -11
  6. package/app/components/forms/input-textarea/InputTextareaCore.vue +5 -1
  7. package/app/components/forms/input-textarea/variants/InputTextareaWithLabel.vue +75 -35
  8. package/nuxt.config.ts +0 -1
  9. package/package.json +1 -1
  10. package/app/assets/styles/extends-layer/srcdev-forms/components/_form-fieldset.css +0 -38
  11. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-button.css +0 -66
  12. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-core.css +0 -66
  13. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-options-button.css +0 -76
  14. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-error.css +0 -54
  15. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-label.css +0 -21
  16. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-select.css +0 -140
  17. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-text.css +0 -190
  18. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-textarea.css +0 -96
  19. package/app/assets/styles/extends-layer/srcdev-forms/components/index.css +0 -9
  20. package/app/assets/styles/extends-layer/srcdev-forms/index.css +0 -2
  21. package/app/assets/styles/extends-layer/srcdev-forms/setup/_generic.css +0 -21
  22. package/app/assets/styles/extends-layer/srcdev-forms/setup/index.css +0 -4
  23. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_error.css +0 -85
  24. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_ghost.css +0 -85
  25. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_input-action-underlined.css +0 -20
  26. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_input-action.css +0 -20
  27. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_primary.css +0 -92
  28. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_secondary.css +0 -85
  29. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_success.css +0 -85
  30. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_tertiary.css +0 -85
  31. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_warning.css +0 -85
  32. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/index.css +0 -9
  33. package/app/assets/styles/extends-layer/srcdev-forms/setup/variables/_a11y.css +0 -7
  34. package/app/assets/styles/extends-layer/srcdev-forms/setup/variables/index.css +0 -1
  35. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/_normal.css +0 -48
  36. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/_underlined.css +0 -48
  37. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/index.css +0 -3
  38. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_default.css +0 -13
  39. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_large.css +0 -12
  40. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_medium.css +0 -12
  41. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_small.css +0 -12
  42. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_x-small.css +0 -11
  43. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/index.css +0 -23
  44. package/app/assets/styles/main.css +0 -2
  45. package/app/assets/styles/setup/_head.css +0 -36
  46. package/app/assets/styles/setup/a11y/_utils.css +0 -20
  47. package/app/assets/styles/setup/a11y/_variables.css +0 -8
  48. package/app/assets/styles/setup/a11y/index.css +0 -2
  49. package/app/assets/styles/setup/index.css +0 -5
  50. package/app/assets/styles/setup/theming/colors/_blue.css +0 -15
  51. package/app/assets/styles/setup/theming/colors/_gray.css +0 -16
  52. package/app/assets/styles/setup/theming/colors/_green.css +0 -15
  53. package/app/assets/styles/setup/theming/colors/_orange.css +0 -15
  54. package/app/assets/styles/setup/theming/colors/_red.css +0 -15
  55. package/app/assets/styles/setup/theming/colors/_yellow.css +0 -15
  56. package/app/assets/styles/setup/theming/colors/index.css +0 -6
  57. package/app/assets/styles/setup/theming/index.css +0 -2
  58. package/app/assets/styles/setup/theming/themes/_default.css +0 -66
  59. package/app/assets/styles/setup/theming/themes/_error.css +0 -66
  60. package/app/assets/styles/setup/theming/themes/_ghost.css +0 -31
  61. package/app/assets/styles/setup/theming/themes/_info.css +0 -31
  62. package/app/assets/styles/setup/theming/themes/_primary.css +0 -41
  63. package/app/assets/styles/setup/theming/themes/_secondary.css +0 -66
  64. package/app/assets/styles/setup/theming/themes/_success.css +0 -66
  65. package/app/assets/styles/setup/theming/themes/_tertiary.css +0 -31
  66. package/app/assets/styles/setup/theming/themes/_warning.css +0 -68
  67. package/app/assets/styles/setup/theming/themes/index.css +0 -9
  68. package/app/assets/styles/setup/typography/index.css +0 -2
  69. package/app/assets/styles/setup/typography/utility-classes/_generic-font-classes.css +0 -217
  70. package/app/assets/styles/setup/typography/utility-classes/_generic-font-variation-settings.css +0 -29
  71. package/app/assets/styles/setup/typography/utility-classes/_generic-font-weights.css +0 -39
  72. package/app/assets/styles/setup/typography/utility-classes/index.css +0 -3
  73. package/app/assets/styles/setup/typography/vars/_reponsive-font-sizes.css +0 -12
  74. package/app/assets/styles/setup/typography/vars/index.css +0 -1
  75. package/app/assets/styles/setup/utility-classes/_fluid-spacing.css +0 -13
  76. package/app/assets/styles/setup/utility-classes/animations/_auto-rotate.css +0 -13
  77. package/app/assets/styles/setup/utility-classes/animations/_entry-exit-blur.css +0 -16
  78. package/app/assets/styles/setup/utility-classes/animations/_entry-slide-in.css +0 -15
  79. package/app/assets/styles/setup/utility-classes/animations/_entry-zoom-reveal.css +0 -15
  80. package/app/assets/styles/setup/utility-classes/animations/index.css +0 -4
  81. package/app/assets/styles/setup/utility-classes/index.css +0 -2
@@ -1,85 +0,0 @@
1
- :root {
2
- [data-theme-old='error'] {
3
- --theme-button-surface: light-dark(var(--gray-1), var(--gray-4));
4
- --theme-form-input-bg-outlined: light-dark(var(--gray-1), var(--gray-4));
5
- --theme-form-input-bg-underlined: light-dark(var(--gray-1), var(--gray-4));
6
- --theme-input-border: var(--red-8);
7
- --theme-input-border-active: var(--red-2);
8
- --theme-input-border-focus: var(--red-2);
9
- --theme-form-input-outline: white;
10
- --theme-form-input-outline-active: var(--red-6);
11
- --theme-form-input-outline-focus: var(--red-6);
12
- --theme-form-input-text-color-normal: light-dark(var(--gray-10), var(--gray-11));
13
- --theme-form-input-text-color-outlined: light-dark(var(--gray-10), var(--gray-1));
14
- --theme-form-input-text-color-underlined: light-dark(var(--gray-11), var(--gray-1));
15
-
16
- --theme-form-input-text-label-color-normal: light-dark(var(--gray-11), var(--gray-1));
17
- --theme-form-input-text-label-color-outlined: light-dark(var(--gray-10), var(--gray-11));
18
- --theme-form-input-text-label-color-underlined: light-dark(var(--gray-11), var(--gray-1));
19
-
20
- --theme-form-focus-box-shadow: light-dark(var(--red-12), var(--red-2));
21
-
22
- --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
23
- --theme-form-checkbox-border: light-dark(var(--red-12), var(--red-12));
24
- --theme-form-checkbox-outline: light-dark(var(--red-1), var(--red-1));
25
- --theme-form-checkbox-shadow: transparent;
26
- --theme-form-checkbox-shadow-focus: var(--red-6);
27
- --theme-form-checkbox-symbol: var(--red-12);
28
-
29
- --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
30
- --theme-form-radio-border: light-dark(var(--red-12), var(--red-12));
31
- --theme-form-radio-outline: light-dark(var(--red-1), var(--red-1));
32
- --theme-form-radio-shadow: transparent;
33
- --theme-form-radio-shadow-focus: var(--red-6);
34
- --theme-form-radio-symbol: var(--red-12);
35
-
36
- --theme-form-range-accent-color: light-dark(var(--red-12), var(--red-3));
37
-
38
- /*
39
- * ToggleSwitch
40
- **/
41
- --theme-form-toggle-bg-off: light-dark(var(--gray-1), var(--gray-4));
42
- --theme-form-toggle-bg-on: light-dark(var(--gray-1), var(--gray-6));
43
-
44
- --theme-form-toggle-border: var(--form-element-border-width) solid light-dark(var(--red-12), var(--red-1));
45
-
46
- --theme-form-toggle-outline: var(--form-element-outline-width) solid light-dark(var(--red-12), var(--red-12));
47
- --theme-form-toggle-symbol-off: var(--orange-12);
48
- --theme-form-toggle-symbol-on: var(--gray-12);
49
- --theme-form-toggle-icon-stroke-colour-off: var(--gray-1);
50
- --theme-form-toggle-icon-stroke-colour-on: var(--gray-1);
51
-
52
- /*
53
- * Checkbox as button
54
- **/
55
-
56
- --theme-checkbox-radio-button-bg-default: light-dark(var(--red-1), var(--red-1));
57
-
58
- --theme-checkbox-radio-button-border-default: light-dark(var(--red-12), var(--red-12));
59
- --theme-checkbox-radio-button-border-width: 0.1rem;
60
-
61
- --theme-checkbox-radio-button-outline-default: light-dark(var(--red-5), var(--red-5));
62
- --theme-checkbox-radio-button-outline-width: 0.1rem;
63
-
64
- --theme-checkbox-radio-button-label-default: light-dark(var(--red-12), var(--red-12));
65
- }
66
-
67
- [data-theme='error'] {
68
- --theme-button-surface: var(--red-12);
69
- --theme-input-border: var(--red-0);
70
- --theme-btn-outline: var(--red-12);
71
- --theme-btn-text: var(--red-0);
72
-
73
- --theme-button-surface-hover: var(--red-0);
74
- --theme-input-border-hover: var(--red-12);
75
- --theme-btn-outline-hover: var(--red-0);
76
- --theme-btn-text-hover: var(--red-12);
77
-
78
- --theme-button-surface-focus: var(--red-0);
79
- --theme-input-border-focus: var(--red-12);
80
- --theme-btn-outline-focus: var(--red-0);
81
- --theme-btn-text-focus: var(--red-12);
82
-
83
- --theme-form-focus-box-shadow: light-dark(var(--red-12), var(--red-2));
84
- }
85
- }
@@ -1,85 +0,0 @@
1
- :root {
2
- [data-theme-old='ghost'] {
3
- --theme-button-surface: light-dark(var(--gray-1), var(--gray-4));
4
- --theme-form-input-bg-outlined: light-dark(var(--gray-1), var(--gray-4));
5
- --theme-form-input-bg-underlined: light-dark(var(--gray-1), var(--gray-4));
6
- --theme-input-border: var(--gray-8);
7
- --theme-input-border-active: var(--gray-2);
8
- --theme-input-border-focus: var(--gray-2);
9
- --theme-form-input-outline: white;
10
- --theme-form-input-outline-active: var(--gray-6);
11
- --theme-form-input-outline-focus: var(--gray-6);
12
- --theme-form-input-text-color-normal: light-dark(var(--gray-10), var(--gray-11));
13
- --theme-form-input-text-color-outlined: light-dark(var(--gray-10), var(--gray-1));
14
- --theme-form-input-text-color-underlined: light-dark(var(--gray-11), var(--gray-1));
15
-
16
- --theme-form-input-text-label-color-normal: light-dark(var(--gray-11), var(--gray-1));
17
- --theme-form-input-text-label-color-outlined: light-dark(var(--gray-10), var(--gray-11));
18
- --theme-form-input-text-label-color-underlined: light-dark(var(--gray-11), var(--gray-1));
19
-
20
- --theme-form-focus-box-shadow: light-dark(var(--gray-12), var(--gray-2));
21
-
22
- --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
23
- --theme-form-checkbox-border: light-dark(var(--gray-12), var(--gray-12));
24
- --theme-form-checkbox-outline: light-dark(var(--gray-1), var(--gray-1));
25
- --theme-form-checkbox-shadow: transparent;
26
- --theme-form-checkbox-shadow-focus: var(--gray-6);
27
- --theme-form-checkbox-symbol: var(--gray-12);
28
-
29
- --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
30
- --theme-form-radio-border: light-dark(var(--gray-12), var(--gray-12));
31
- --theme-form-radio-outline: light-dark(var(--gray-1), var(--gray-1));
32
- --theme-form-radio-shadow: transparent;
33
- --theme-form-radio-shadow-focus: var(--gray-6);
34
- --theme-form-radio-symbol: var(--gray-12);
35
-
36
- --theme-form-range-accent-color: light-dark(var(--gray-12), var(--gray-3));
37
-
38
- /*
39
- * ToggleSwitch
40
- **/
41
- --theme-form-toggle-bg-off: light-dark(var(--gray-1), var(--gray-4));
42
- --theme-form-toggle-bg-on: light-dark(var(--gray-1), var(--gray-6));
43
- --form-element-border-width: 0.1rem;
44
- --theme-form-toggle-border: var(--form-element-border-width) solid light-dark(var(--gray-12), var(--gray-1));
45
- --form-element-border-width: 0.1rem;
46
- --theme-form-toggle-outline: var(--form-element-outline-width) solid light-dark(var(--gray-12), var(--gray-12));
47
- --theme-form-toggle-symbol-off: var(--gray-4);
48
- --theme-form-toggle-symbol-on: var(--gray-12);
49
- --theme-form-toggle-icon-stroke-colour-off: var(--gray-1);
50
- --theme-form-toggle-icon-stroke-colour-on: var(--gray-1);
51
-
52
- /*
53
- * Checkbox as button
54
- **/
55
-
56
- --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
57
-
58
- --theme-checkbox-radio-button-border-default: light-dark(var(--gray-12), var(--gray-12));
59
- --theme-checkbox-radio-button-border-width: 0.1rem;
60
-
61
- --theme-checkbox-radio-button-outline-default: light-dark(var(--gray-5), var(--gray-5));
62
- --theme-checkbox-radio-button-outline-width: 0.1rem;
63
-
64
- --theme-checkbox-radio-button-label-default: light-dark(var(--gray-12), var(--gray-12));
65
- }
66
-
67
- [data-theme='ghost'] {
68
- --theme-button-surface: transparent;
69
- --theme-input-border: var(--gray-0);
70
- --theme-btn-outline: var(--gray-12);
71
- --theme-btn-text: light-dark(var(--gray-12), var(--gray-0));
72
-
73
- --theme-button-surface-hover: light-dark(var(--gray-2), var(--gray-8));
74
- --theme-input-border-hover: light-dark(var(--gray-12), var(--gray-0));
75
- --theme-btn-outline-hover: light-dark(var(--gray-12), var(--gray-0));
76
- --theme-btn-text-hover: light-dark(var(--gray-12), var(--gray-0));
77
-
78
- --theme-button-surface-focus: light-dark(var(--gray-2), var(--gray-8));
79
- --theme-input-border-focus: light-dark(var(--gray-12), var(--gray-0));
80
- --theme-btn-outline-focus: light-dark(var(--gray-12), var(--gray-0));
81
- --theme-btn-text-focus: light-dark(var(--gray-12), var(--gray-0));
82
-
83
- --theme-form-focus-box-shadow: light-dark(var(--gray-12), var(--gray-2));
84
- }
85
- }
@@ -1,20 +0,0 @@
1
- :root {
2
- [data-theme-old='input-action-underlined'] {
3
- --theme-button-surface: transparent;
4
- --theme-input-border: transparent;
5
- --theme-btn-outline: transparent;
6
- --theme-btn-text: var(--_input-text-core-color);
7
-
8
- --theme-button-surface-hover: var(--blue-8);
9
- --theme-input-border-hover: var(--blue-8);
10
- --theme-btn-outline-hover: var(--blue-8);
11
- --theme-btn-text-hover: var(--gray-00);
12
-
13
- --theme-button-surface-focus: var(--blue-8);
14
- --theme-input-border-focus: var(--blue-8);
15
- --theme-btn-outline-focus: var(--blue-8);
16
- --theme-btn-text-focus: var(--gray-00);
17
-
18
- --theme-form-focus-box-shadow: transparent;
19
- }
20
- }
@@ -1,20 +0,0 @@
1
- :root {
2
- [data-theme-old='input-action'] {
3
- --theme-button-surface: transparent;
4
- --theme-input-border: transparent;
5
- --theme-btn-outline: transparent;
6
- --theme-btn-text: var(--theme-form-input-text-color-normal);
7
-
8
- --theme-button-surface-hover: var(--blue-8);
9
- --theme-input-border-hover: var(--blue-8);
10
- --theme-btn-outline-hover: var(--blue-8);
11
- --theme-btn-text-hover: var(--gray-00);
12
-
13
- --theme-button-surface-focus: var(--blue-8);
14
- --theme-input-border-focus: var(--blue-8);
15
- --theme-btn-outline-focus: var(--blue-8);
16
- --theme-btn-text-focus: var(--gray-00);
17
-
18
- --theme-form-focus-box-shadow: transparent;
19
- }
20
- }
@@ -1,92 +0,0 @@
1
- :root {
2
- [data-theme-old='primary'] {
3
- --theme-button-surface: light-dark(var(--gray-1), var(--gray-4));
4
- --theme-form-input-bg-outlined: light-dark(var(--gray-1), var(--gray-4));
5
- --theme-form-input-bg-underlined: light-dark(var(--gray-0), var(--gray-9));
6
- --theme-input-border: var(--blue-8);
7
- --theme-input-border-active: var(--blue-2);
8
- --theme-input-border-focus: var(--blue-2);
9
- --theme-form-input-outline: white;
10
- --theme-form-input-outline-active: var(--blue-6);
11
- --theme-form-input-outline-focus: var(--blue-6);
12
- --theme-form-input-text-color-normal: light-dark(var(--gray-11), var(--gray-11));
13
- --theme-form-input-text-color-outlined: light-dark(var(--gray-10), var(--gray-11));
14
- --theme-form-input-text-color-underlined: light-dark(var(--gray-11), var(--gray-1));
15
-
16
- --theme-form-input-text-label-color-normal: light-dark(var(--gray-11), var(--gray-1));
17
- --theme-form-input-text-label-color-outlined: light-dark(var(--gray-10), var(--gray-11));
18
- --theme-form-input-text-label-color-underlined: light-dark(var(--gray-11), var(--gray-1));
19
-
20
- /* --theme-form-focus-box-shadow: light-dark(var(--blue-12), var(--blue-2)); */
21
- --theme-form-focus-box-shadow: light-dark(red, yellowgreen);
22
-
23
- --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
24
- --theme-form-checkbox-border: light-dark(var(--blue-12), var(--blue-12));
25
- --theme-form-checkbox-outline: light-dark(var(--blue-1), var(--blue-1));
26
- --theme-form-checkbox-shadow: transparent;
27
- --theme-form-checkbox-shadow-focus: var(--blue-6);
28
- --theme-form-checkbox-symbol: var(--blue-12);
29
-
30
- --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
31
- --theme-form-radio-border: light-dark(var(--blue-12), var(--blue-12));
32
- --theme-form-radio-outline: light-dark(var(--blue-1), var(--blue-1));
33
- --theme-form-radio-shadow: transparent;
34
- --theme-form-radio-shadow-focus: var(--blue-6);
35
- --theme-form-radio-symbol: var(--blue-12);
36
-
37
- --theme-form-range-accent-color: light-dark(var(--blue-12), var(--blue-1));
38
-
39
- /*
40
- * ToggleSwitch
41
- **/
42
- --theme-form-toggle-bg-off: light-dark(var(--gray-1), var(--gray-4));
43
- --theme-form-toggle-bg-on: light-dark(var(--gray-1), var(--gray-6));
44
-
45
- --theme-form-toggle-border-color: light-dark(var(--blue-12), var(--blue-1));
46
- --theme-form-toggle-border-width: 0.2rem;
47
- --theme-form-toggle-border: var(--form-element-border-width) solid light-dark(var(--blue-12), var(--blue-1));
48
-
49
- --theme-form-toggle-outline: var(--form-element-outline-width) solid light-dark(var(--blue-1), var(--blue-1));
50
- --theme-form-toggle-symbol-off: var(--blue-7);
51
- --theme-form-toggle-symbol-on: var(--gray-12);
52
- --theme-form-toggle-icon-stroke-colour-off: var(--gray-1);
53
- --theme-form-toggle-icon-stroke-colour-on: var(--gray-1);
54
-
55
- /*
56
- * Checkbox as button
57
- **/
58
-
59
- --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
60
-
61
- --theme-checkbox-radio-button-border-default: light-dark(var(--blue-12), var(--blue-12));
62
- --theme-checkbox-radio-button-border-width: 0.1rem;
63
-
64
- --theme-checkbox-radio-button-outline-default: light-dark(var(--blue-5), var(--blue-5));
65
- --theme-checkbox-radio-button-outline-focus: light-dark(var(--blue-12), var(--blue-12));
66
- --theme-checkbox-radio-button-outline-width: 0.1rem;
67
-
68
- --theme-checkbox-radio-button-shadow: transparent;
69
- --theme-checkbox-radio-button-shadow-focus: light-dark(var(--blue-6), var(--blue-1));
70
-
71
- --theme-checkbox-radio-button-label-default: light-dark(var(--blue-12), var(--blue-12));
72
- }
73
-
74
- [data-theme='primary'] {
75
- --theme-button-surface: var(--blue-12);
76
- --theme-input-border: var(--blue-0);
77
- --theme-btn-outline: var(--blue-12);
78
- --theme-btn-text: var(--blue-0);
79
-
80
- --theme-button-surface-hover: var(--blue-0);
81
- --theme-input-border-hover: var(--blue-12);
82
- --theme-btn-outline-hover: var(--blue-0);
83
- --theme-btn-text-hover: var(--blue-12);
84
-
85
- --theme-button-surface-focus: var(--blue-0);
86
- --theme-input-border-focus: var(--blue-12);
87
- --theme-btn-outline-focus: var(--blue-0);
88
- --theme-btn-text-focus: var(--blue-12);
89
-
90
- --theme-form-focus-box-shadow: light-dark(var(--blue-12), var(--blue-2));
91
- }
92
- }
@@ -1,85 +0,0 @@
1
- :root {
2
- [data-theme-old='secondary'] {
3
- --theme-button-surface: light-dark(var(--gray-1), var(--gray-4));
4
- --theme-form-input-bg-outlined: light-dark(var(--gray-1), var(--gray-4));
5
- --theme-form-input-bg-underlined: light-dark(var(--gray-1), var(--gray-4));
6
- --theme-input-border: var(--gray-8);
7
- --theme-input-border-active: var(--gray-2);
8
- --theme-input-border-focus: var(--gray-2);
9
- --theme-form-input-outline: white;
10
- --theme-form-input-outline-active: var(--gray-6);
11
- --theme-form-input-outline-focus: var(--gray-6);
12
- --theme-form-input-text-color-normal: light-dark(var(--gray-10), var(--gray-11));
13
- --theme-form-input-text-color-outlined: light-dark(var(--gray-10), var(--gray-1));
14
- --theme-form-input-text-color-underlined: light-dark(var(--gray-11), var(--gray-1));
15
-
16
- --theme-form-input-text-label-color-normal: light-dark(var(--gray-11), var(--gray-1));
17
- --theme-form-input-text-label-color-outlined: light-dark(var(--gray-10), var(--gray-11));
18
- --theme-form-input-text-label-color-underlined: light-dark(var(--gray-11), var(--gray-1));
19
-
20
- --theme-form-focus-box-shadow: light-dark(var(--gray-12), var(--gray-2));
21
-
22
- --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
23
- --theme-form-checkbox-border: light-dark(var(--gray-12), var(--gray-12));
24
- --theme-form-checkbox-outline: light-dark(var(--gray-1), var(--gray-1));
25
- --theme-form-checkbox-shadow: transparent;
26
- --theme-form-checkbox-shadow-focus: var(--gray-6);
27
- --theme-form-checkbox-symbol: var(--gray-12);
28
-
29
- --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
30
- --theme-form-radio-border: light-dark(var(--gray-12), var(--gray-12));
31
- --theme-form-radio-outline: light-dark(var(--gray-1), var(--gray-1));
32
- --theme-form-radio-shadow: transparent;
33
- --theme-form-radio-shadow-focus: var(--gray-6);
34
- --theme-form-radio-symbol: var(--gray-12);
35
-
36
- --theme-form-range-accent-color: light-dark(var(--gray-12), var(--gray-3));
37
-
38
- /*
39
- * ToggleSwitch
40
- **/
41
- --theme-form-toggle-bg-off: light-dark(var(--gray-1), var(--gray-4));
42
- --theme-form-toggle-bg-on: light-dark(var(--gray-1), var(--gray-6));
43
-
44
- --theme-form-toggle-border: var(--form-element-border-width) solid light-dark(var(--gray-12), var(--gray-1));
45
-
46
- --theme-form-toggle-outline: var(--form-element-outline-width) solid light-dark(var(--gray-12), var(--gray-12));
47
- --theme-form-toggle-symbol-off: var(--gray-4);
48
- --theme-form-toggle-symbol-on: var(--gray-12);
49
- --theme-form-toggle-icon-stroke-colour-off: var(--gray-1);
50
- --theme-form-toggle-icon-stroke-colour-on: var(--gray-1);
51
-
52
- /*
53
- * Checkbox as button
54
- **/
55
-
56
- --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
57
-
58
- --theme-checkbox-radio-button-border-default: light-dark(var(--gray-12), var(--gray-12));
59
- --theme-checkbox-radio-button-border-width: 0.1rem;
60
-
61
- --theme-checkbox-radio-button-outline-default: light-dark(var(--gray-5), var(--gray-5));
62
- --theme-checkbox-radio-button-outline-width: 0.1rem;
63
-
64
- --theme-checkbox-radio-button-label-default: light-dark(var(--gray-12), var(--gray-12));
65
- }
66
-
67
- [data-theme='secondary'] {
68
- --theme-button-surface: var(--gray-12);
69
- --theme-input-border: var(--gray-0);
70
- --theme-btn-outline: var(--gray-12);
71
- --theme-btn-text: var(--gray-0);
72
-
73
- --theme-button-surface-hover: var(--gray-0);
74
- --theme-input-border-hover: var(--gray-12);
75
- --theme-btn-outline-hover: var(--gray-0);
76
- --theme-btn-text-hover: var(--gray-12);
77
-
78
- --theme-button-surface-focus: var(--gray-0);
79
- --theme-input-border-focus: var(--gray-12);
80
- --theme-btn-outline-focus: var(--gray-0);
81
- --theme-btn-text-focus: var(--gray-12);
82
-
83
- --theme-form-focus-box-shadow: light-dark(var(--gray-12), var(--gray-2));
84
- }
85
- }
@@ -1,85 +0,0 @@
1
- :root {
2
- [data-theme-old='success'] {
3
- --theme-button-surface: light-dark(var(--gray-1), var(--gray-4));
4
- --theme-form-input-bg-outlined: light-dark(var(--gray-1), var(--gray-4));
5
- --theme-form-input-bg-underlined: light-dark(var(--gray-1), var(--gray-4));
6
- --theme-input-border: var(--green-8);
7
- --theme-input-border-active: var(--green-2);
8
- --theme-input-border-focus: var(--green-2);
9
- --theme-form-input-outline: white;
10
- --theme-form-input-outline-active: var(--green-6);
11
- --theme-form-input-outline-focus: var(--green-6);
12
- --theme-form-input-text-color-normal: light-dark(var(--gray-10), var(--gray-11));
13
- --theme-form-input-text-color-outlined: light-dark(var(--gray-10), var(--gray-1));
14
- --theme-form-input-text-color-underlined: light-dark(var(--gray-11), var(--gray-1));
15
-
16
- --theme-form-input-text-label-color-normal: light-dark(var(--gray-11), var(--gray-1));
17
- --theme-form-input-text-label-color-outlined: light-dark(var(--gray-10), var(--gray-11));
18
- --theme-form-input-text-label-color-underlined: light-dark(var(--gray-11), var(--gray-1));
19
-
20
- --theme-form-focus-box-shadow: light-dark(var(--green-12), var(--green-2));
21
-
22
- --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
23
- --theme-form-checkbox-border: light-dark(var(--green-12), var(--green-12));
24
- --theme-form-checkbox-outline: light-dark(var(--green-1), var(--green-1));
25
- --theme-form-checkbox-shadow: transparent;
26
- --theme-form-checkbox-shadow-focus: var(--green-6);
27
- --theme-form-checkbox-symbol: var(--green-12);
28
-
29
- --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
30
- --theme-form-radio-border: light-dark(var(--green-12), var(--green-12));
31
- --theme-form-radio-outline: light-dark(var(--green-1), var(--green-1));
32
- --theme-form-radio-shadow: transparent;
33
- --theme-form-radio-shadow-focus: var(--green-6);
34
- --theme-form-radio-symbol: var(--green-12);
35
-
36
- --theme-form-range-accent-color: light-dark(var(--green-12), var(--green-3));
37
-
38
- /*
39
- * ToggleSwitch
40
- **/
41
- --theme-form-toggle-bg-off: light-dark(var(--gray-1), var(--gray-4));
42
- --theme-form-toggle-bg-on: light-dark(var(--gray-1), var(--gray-6));
43
-
44
- --theme-form-toggle-border: var(--form-element-border-width) solid light-dark(var(--green-12), var(--green-1));
45
-
46
- --theme-form-toggle-outline: var(--form-element-outline-width) solid light-dark(var(--green-12), var(--green-12));
47
- --theme-form-toggle-symbol-off: var(--green-4);
48
- --theme-form-toggle-symbol-on: var(--green-12);
49
- --theme-form-toggle-icon-stroke-colour-off: var(--gray-1);
50
- --theme-form-toggle-icon-stroke-colour-on: var(--gray-1);
51
-
52
- /*
53
- * Checkbox as button
54
- **/
55
-
56
- --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
57
-
58
- --theme-checkbox-radio-button-border-default: light-dark(var(--green-12), var(--green-12));
59
- --theme-checkbox-radio-button-border-width: 0.1rem;
60
-
61
- --theme-checkbox-radio-button-outline-default: light-dark(var(--green-5), var(--green-5));
62
- --theme-checkbox-radio-button-outline-width: 0.1rem;
63
-
64
- --theme-checkbox-radio-button-label-default: light-dark(var(--green-12), var(--green-12));
65
- }
66
-
67
- [data-theme='success'] {
68
- --theme-button-surface: var(--green-12);
69
- --theme-input-border: var(--green-0);
70
- --theme-btn-outline: var(--green-12);
71
- --theme-btn-text: var(--green-0);
72
-
73
- --theme-button-surface-hover: var(--green-0);
74
- --theme-input-border-hover: var(--green-12);
75
- --theme-btn-outline-hover: var(--green-0);
76
- --theme-btn-text-hover: var(--green-12);
77
-
78
- --theme-button-surface-focus: var(--green-0);
79
- --theme-input-border-focus: var(--green-12);
80
- --theme-btn-outline-focus: var(--green-0);
81
- --theme-btn-text-focus: var(--green-12);
82
-
83
- --theme-form-focus-box-shadow: light-dark(var(--green-12), var(--green-2));
84
- }
85
- }
@@ -1,85 +0,0 @@
1
- :root {
2
- [data-theme-old='tertiary'] {
3
- --theme-button-surface: light-dark(var(--gray-1), var(--gray-4));
4
- --theme-form-input-bg-outlined: light-dark(var(--gray-1), var(--gray-4));
5
- --theme-form-input-bg-underlined: light-dark(var(--gray-1), var(--gray-4));
6
- --theme-input-border: var(--gray-8);
7
- --theme-input-border-active: var(--gray-2);
8
- --theme-input-border-focus: var(--gray-2);
9
- --theme-form-input-outline: white;
10
- --theme-form-input-outline-active: var(--gray-6);
11
- --theme-form-input-outline-focus: var(--gray-6);
12
- --theme-form-input-text-color-normal: light-dark(var(--gray-10), var(--gray-11));
13
- --theme-form-input-text-color-outlined: light-dark(var(--gray-10), var(--gray-1));
14
- --theme-form-input-text-color-underlined: light-dark(var(--gray-11), var(--gray-1));
15
-
16
- --theme-form-input-text-label-color-normal: light-dark(var(--gray-11), var(--gray-1));
17
- --theme-form-input-text-label-color-outlined: light-dark(var(--gray-10), var(--gray-11));
18
- --theme-form-input-text-label-color-underlined: light-dark(var(--gray-11), var(--gray-1));
19
-
20
- --theme-form-focus-box-shadow: light-dark(var(--gray-12), var(--gray-2));
21
-
22
- --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
23
- --theme-form-checkbox-border: light-dark(var(--gray-12), var(--gray-12));
24
- --theme-form-checkbox-outline: light-dark(var(--gray-1), var(--gray-1));
25
- --theme-form-checkbox-shadow: transparent;
26
- --theme-form-checkbox-shadow-focus: var(--gray-6);
27
- --theme-form-checkbox-symbol: var(--gray-12);
28
-
29
- --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
30
- --theme-form-radio-border: light-dark(var(--gray-12), var(--gray-12));
31
- --theme-form-radio-outline: light-dark(var(--gray-1), var(--gray-1));
32
- --theme-form-radio-shadow: transparent;
33
- --theme-form-radio-shadow-focus: var(--gray-6);
34
- --theme-form-radio-symbol: var(--gray-12);
35
-
36
- --theme-form-range-accent-color: light-dark(var(--gray-12), var(--gray-3));
37
-
38
- /*
39
- * ToggleSwitch
40
- **/
41
- --theme-form-toggle-bg-off: light-dark(var(--gray-1), var(--gray-4));
42
- --theme-form-toggle-bg-on: light-dark(var(--gray-1), var(--gray-6));
43
-
44
- --theme-form-toggle-border: var(--form-element-border-width) solid light-dark(var(--gray-12), var(--gray-1));
45
-
46
- --theme-form-toggle-outline: var(--form-element-outline-width) solid light-dark(var(--gray-12), var(--gray-12));
47
- --theme-form-toggle-symbol-off: var(--gray-4);
48
- --theme-form-toggle-symbol-on: var(--gray-12);
49
- --theme-form-toggle-icon-stroke-colour-off: var(--gray-1);
50
- --theme-form-toggle-icon-stroke-colour-on: var(--gray-1);
51
-
52
- /*
53
- * Checkbox as button
54
- **/
55
-
56
- --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
57
-
58
- --theme-checkbox-radio-button-border-default: light-dark(var(--green-12), var(--green-12));
59
- --theme-checkbox-radio-button-border-width: 0.1rem;
60
-
61
- --theme-checkbox-radio-button-outline-default: light-dark(var(--green-5), var(--green-5));
62
- --theme-checkbox-radio-button-outline-width: 0.1rem;
63
-
64
- --theme-checkbox-radio-button-label-default: light-dark(var(--green-12), var(--green-12));
65
- }
66
-
67
- [data-theme='tertiary'] {
68
- --theme-button-surface: var(--gray-0);
69
- --theme-input-border: var(--gray-0);
70
- --theme-btn-outline: var(--gray-12);
71
- --theme-btn-text: var(--gray-12);
72
-
73
- --theme-button-surface-hover: var(--gray-12);
74
- --theme-input-border-hover: var(--gray-0);
75
- --theme-btn-outline-hover: var(--gray-12);
76
- --theme-btn-text-hover: var(--gray-0);
77
-
78
- --theme-button-surface-focus: var(--gray-12);
79
- --theme-input-border-focus: var(--gray-0);
80
- --theme-btn-outline-focus: var(--gray-12);
81
- --theme-btn-text-focus: var(--gray-0);
82
-
83
- --theme-form-focus-box-shadow: 0.1rem 0.1rem 0.8rem 0.1rem var(--gray-12);
84
- }
85
- }
@@ -1,85 +0,0 @@
1
- :root {
2
- [data-theme-old='warning'] {
3
- --theme-button-surface: light-dark(var(--gray-1), var(--gray-4));
4
- --theme-form-input-bg-outlined: light-dark(var(--gray-1), var(--gray-4));
5
- --theme-form-input-bg-underlined: light-dark(var(--gray-1), var(--gray-4));
6
- --theme-input-border: var(--orange-8);
7
- --theme-input-border-active: var(--orange-2);
8
- --theme-input-border-focus: var(--orange-2);
9
- --theme-form-input-outline: white;
10
- --theme-form-input-outline-active: var(--orange-6);
11
- --theme-form-input-outline-focus: var(--orange-6);
12
- --theme-form-input-text-color-normal: light-dark(var(--gray-10), var(--gray-11));
13
- --theme-form-input-text-color-outlined: light-dark(var(--gray-10), var(--gray-1));
14
- --theme-form-input-text-color-underlined: light-dark(var(--gray-11), var(--gray-1));
15
-
16
- --theme-form-input-text-label-color-normal: light-dark(var(--gray-11), var(--gray-1));
17
- --theme-form-input-text-label-color-outlined: light-dark(var(--gray-10), var(--gray-11));
18
- --theme-form-input-text-label-color-underlined: light-dark(var(--gray-11), var(--gray-1));
19
-
20
- --theme-form-focus-box-shadow: light-dark(var(--orange-12), var(--orange-2));
21
-
22
- --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
23
- --theme-form-checkbox-border: light-dark(var(--orange-12), var(--orange-12));
24
- --theme-form-checkbox-outline: light-dark(var(--orange-1), var(--orange-1));
25
- --theme-form-checkbox-shadow: transparent;
26
- --theme-form-checkbox-shadow-focus: var(--orange-6);
27
- --theme-form-checkbox-symbol: var(--orange-12);
28
-
29
- --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
30
- --theme-form-radio-border: light-dark(var(--orange-12), var(--orange-12));
31
- --theme-form-radio-outline: light-dark(var(--orange-1), var(--orange-1));
32
- --theme-form-radio-shadow: transparent;
33
- --theme-form-radio-shadow-focus: var(--orange-6);
34
- --theme-form-radio-symbol: var(--orange-12);
35
-
36
- --theme-form-range-accent-color: light-dark(var(--orange-12), var(--orange-3));
37
-
38
- /*
39
- * ToggleSwitch
40
- **/
41
- --theme-form-toggle-bg-off: light-dark(var(--gray-1), var(--gray-4));
42
- --theme-form-toggle-bg-on: light-dark(var(--gray-1), var(--gray-6));
43
-
44
- --theme-form-toggle-border: var(--form-element-border-width) solid light-dark(var(--orange-12), var(--orange-1));
45
-
46
- --theme-form-toggle-outline: var(--form-element-outline-width) solid light-dark(var(--orange-12), var(--orange-12));
47
- --theme-form-toggle-symbol-off: var(--orange-12);
48
- --theme-form-toggle-symbol-on: var(--gray-12);
49
- --theme-form-toggle-icon-stroke-colour-off: var(--gray-1);
50
- --theme-form-toggle-icon-stroke-colour-on: var(--gray-1);
51
-
52
- /*
53
- * Checkbox as button
54
- **/
55
-
56
- --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
57
-
58
- --theme-checkbox-radio-button-border-default: light-dark(var(--orange-12), var(--orange-12));
59
- --theme-checkbox-radio-button-border-width: 0.1rem;
60
-
61
- --theme-checkbox-radio-button-outline-default: light-dark(var(--orange-5), var(--orange-5));
62
- --theme-checkbox-radio-button-outline-width: 0.1rem;
63
-
64
- --theme-checkbox-radio-button-label-default: light-dark(var(--orange-12), var(--orange-12));
65
- }
66
-
67
- [data-theme='warning'] {
68
- --theme-button-surface: var(--orange-12);
69
- --theme-input-border: var(--orange-0);
70
- --theme-btn-outline: var(--orange-12);
71
- --theme-btn-text: var(--orange-0);
72
-
73
- --theme-button-surface-hover: var(--orange-0);
74
- --theme-input-border-hover: var(--orange-12);
75
- --theme-btn-outline-hover: var(--orange-0);
76
- --theme-btn-text-hover: var(--orange-12);
77
-
78
- --theme-button-surface-focus: var(--orange-0);
79
- --theme-input-border-focus: var(--orange-12);
80
- --theme-btn-outline-focus: var(--orange-0);
81
- --theme-btn-text-focus: var(--orange-12);
82
-
83
- --theme-form-focus-box-shadow: light-dark(var(--orange-12), var(--orange-2));
84
- }
85
- }
@@ -1,9 +0,0 @@
1
- @import './_primary';
2
- @import './_secondary';
3
- @import './_tertiary';
4
- @import './_ghost';
5
- @import './_error';
6
- @import './_success';
7
- @import './_warning';
8
- @import './_input-action';
9
- @import './_input-action-underlined';
@@ -1,7 +0,0 @@
1
- :root {
2
- --theme-focus-visible-outline: 1px solid var(--theme-focus-visible-outline);
3
-
4
- --theme-focus-visible-shadow-soft: 0 1px 2px rgba(var(--theme-focus-visible-shadow-soft), 0.05);
5
- --theme-focus-visible-shadow-medium: 0 3px 6px rgba(var(--theme-focus-visible-shadow-medium), 0.1);
6
- --theme-focus-visible-shadow-strong: 0 6px 12px rgba(var(--theme-focus-visible-shadow-strong), 0.15);
7
- }