srcdev-nuxt-forms 6.1.2 → 6.1.4

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 (78) hide show
  1. package/app/components/forms/c12/prop-validators/index.ts +44 -34
  2. package/nuxt.config.ts +0 -1
  3. package/package.json +1 -1
  4. package/app/assets/styles/extends-layer/srcdev-forms/components/_form-fieldset.css +0 -38
  5. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-button.css +0 -66
  6. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-core.css +0 -66
  7. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-options-button.css +0 -76
  8. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-description.css +0 -13
  9. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-error.css +0 -54
  10. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-label.css +0 -21
  11. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-select.css +0 -140
  12. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-text.css +0 -190
  13. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-textarea.css +0 -96
  14. package/app/assets/styles/extends-layer/srcdev-forms/components/index.css +0 -10
  15. package/app/assets/styles/extends-layer/srcdev-forms/index.css +0 -2
  16. package/app/assets/styles/extends-layer/srcdev-forms/setup/_generic.css +0 -21
  17. package/app/assets/styles/extends-layer/srcdev-forms/setup/index.css +0 -4
  18. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_error.css +0 -85
  19. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_ghost.css +0 -85
  20. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_input-action-underlined.css +0 -20
  21. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_input-action.css +0 -20
  22. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_primary.css +0 -92
  23. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_secondary.css +0 -85
  24. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_success.css +0 -85
  25. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_tertiary.css +0 -85
  26. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_warning.css +0 -85
  27. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/index.css +0 -9
  28. package/app/assets/styles/extends-layer/srcdev-forms/setup/variables/_a11y.css +0 -7
  29. package/app/assets/styles/extends-layer/srcdev-forms/setup/variables/index.css +0 -1
  30. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/_normal.css +0 -48
  31. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/_underlined.css +0 -48
  32. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/index.css +0 -3
  33. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_default.css +0 -13
  34. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_large.css +0 -12
  35. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_medium.css +0 -12
  36. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_small.css +0 -12
  37. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/_x-small.css +0 -11
  38. package/app/assets/styles/extends-layer/srcdev-forms/setup/variants/sizes/index.css +0 -23
  39. package/app/assets/styles/main.css +0 -2
  40. package/app/assets/styles/setup/_head.css +0 -36
  41. package/app/assets/styles/setup/a11y/_utils.css +0 -20
  42. package/app/assets/styles/setup/a11y/_variables.css +0 -8
  43. package/app/assets/styles/setup/a11y/index.css +0 -2
  44. package/app/assets/styles/setup/index.css +0 -5
  45. package/app/assets/styles/setup/theming/colors/_blue.css +0 -15
  46. package/app/assets/styles/setup/theming/colors/_gray.css +0 -16
  47. package/app/assets/styles/setup/theming/colors/_green.css +0 -15
  48. package/app/assets/styles/setup/theming/colors/_orange.css +0 -15
  49. package/app/assets/styles/setup/theming/colors/_red.css +0 -15
  50. package/app/assets/styles/setup/theming/colors/_yellow.css +0 -15
  51. package/app/assets/styles/setup/theming/colors/index.css +0 -6
  52. package/app/assets/styles/setup/theming/index.css +0 -2
  53. package/app/assets/styles/setup/theming/themes/_default.css +0 -69
  54. package/app/assets/styles/setup/theming/themes/_error.css +0 -69
  55. package/app/assets/styles/setup/theming/themes/_ghost.css +0 -31
  56. package/app/assets/styles/setup/theming/themes/_info.css +0 -31
  57. package/app/assets/styles/setup/theming/themes/_primary.css +0 -41
  58. package/app/assets/styles/setup/theming/themes/_secondary.css +0 -69
  59. package/app/assets/styles/setup/theming/themes/_success.css +0 -69
  60. package/app/assets/styles/setup/theming/themes/_tertiary.css +0 -31
  61. package/app/assets/styles/setup/theming/themes/_warning.css +0 -71
  62. package/app/assets/styles/setup/theming/themes/index.css +0 -9
  63. package/app/assets/styles/setup/typography/index.css +0 -2
  64. package/app/assets/styles/setup/typography/utility-classes/_generic-font-classes.css +0 -217
  65. package/app/assets/styles/setup/typography/utility-classes/_generic-font-variation-settings.css +0 -29
  66. package/app/assets/styles/setup/typography/utility-classes/_generic-font-weights.css +0 -39
  67. package/app/assets/styles/setup/typography/utility-classes/index.css +0 -3
  68. package/app/assets/styles/setup/typography/vars/_reponsive-font-sizes.css +0 -12
  69. package/app/assets/styles/setup/typography/vars/index.css +0 -1
  70. package/app/assets/styles/setup/utility-classes/_fluid-spacing.css +0 -13
  71. package/app/assets/styles/setup/utility-classes/_margin.css +0 -334
  72. package/app/assets/styles/setup/utility-classes/_padding.css +0 -308
  73. package/app/assets/styles/setup/utility-classes/animations/_auto-rotate.css +0 -13
  74. package/app/assets/styles/setup/utility-classes/animations/_entry-exit-blur.css +0 -16
  75. package/app/assets/styles/setup/utility-classes/animations/_entry-slide-in.css +0 -15
  76. package/app/assets/styles/setup/utility-classes/animations/_entry-zoom-reveal.css +0 -15
  77. package/app/assets/styles/setup/utility-classes/animations/index.css +0 -4
  78. package/app/assets/styles/setup/utility-classes/index.css +0 -4
@@ -1,190 +0,0 @@
1
- .srcdev-forms-extended {
2
- .input-text-wrapper {
3
- display: flex;
4
- align-items: center;
5
- gap: 12px;
6
- background-color: var(--theme-input-surface);
7
- transition: all var(--theme-form-transition-duration) ease-in-out;
8
-
9
- &:hover {
10
- background-color: var(--theme-input-surface-hover);
11
- }
12
-
13
- &:focus-within {
14
- background-color: var(--theme-input-surface-hover);
15
- outline: var(--theme-focus-visible-outline);
16
- box-shadow: var(--theme-focus-visible-shadow);
17
- }
18
-
19
- &.normal {
20
- outline: var(--form-element-outline-width) solid var(--theme-input-outline);
21
-
22
- border-radius: var(--form-input-border-radius);
23
-
24
- border-top: var(--form-element-border-width) solid var(--theme-input-border);
25
- border-right: var(--form-element-border-width) solid var(--theme-input-border);
26
- border-bottom: var(--form-element-border-width) solid var(--theme-input-border);
27
- border-left: var(--form-element-border-width) solid var(--theme-input-border);
28
-
29
- padding-inline: 1rem;
30
-
31
- &:focus-within {
32
- outline-color: var(--theme-input-outline-focus);
33
- outline-offset: var(--form-element-outline-offset-focus);
34
- }
35
-
36
- &.error {
37
- border-color: var(--theme-error-surface);
38
- outline-color: var(--theme-error-surface);
39
- }
40
-
41
- .slot {
42
- display: flex;
43
- place-items: center;
44
- background-clip: padding-box;
45
-
46
- &.left-slot:not([data-theme='input-action']) {
47
- .icon {
48
- width: 2.2rem;
49
- height: 2.2rem;
50
- }
51
-
52
- [data-theme='input-action'] {
53
- width: initial;
54
- height: initial;
55
- padding: 0.5rem;
56
-
57
- .icon {
58
- width: 1.8rem;
59
- height: 1.8rem;
60
- }
61
- }
62
- }
63
- &.right-slot:not([data-theme='input-action']) {
64
- .icon {
65
- width: 2.2rem;
66
- height: 2.2rem;
67
- }
68
-
69
- [data-theme='input-action'] {
70
- width: initial;
71
- height: initial;
72
- padding: 0.5rem;
73
-
74
- .icon {
75
- width: 1.8rem;
76
- height: 1.8rem;
77
- }
78
- }
79
- }
80
- }
81
-
82
- &[data-inputmode='numeric'] {
83
- padding-block: 0rem;
84
- padding-inline: 0.75rem;
85
-
86
- .slot {
87
- [data-theme='input-action'] {
88
- width: initial;
89
- height: initial;
90
- padding: 0.5rem;
91
-
92
- .icon {
93
- width: 1.8rem;
94
- height: 1.8rem;
95
- }
96
- }
97
- }
98
- }
99
- }
100
-
101
- &.underlined {
102
- margin-block-start: 0;
103
- padding-block: 0;
104
- padding-inline: 1rem;
105
-
106
- outline: var(--form-element-outline-width) solid transparent;
107
-
108
- border-bottom-left-radius: var(--form-input-border-radius-underlined);
109
- border-bottom-right-radius: var(--form-input-border-radius-underlined);
110
-
111
- border-top: none;
112
- border-right: none;
113
- border-bottom: var(--form-element-border-width-underlined) solid var(--theme-input-border);
114
- border-left: none;
115
-
116
- overflow: hidden;
117
-
118
- &.error {
119
- outline-color: var(--theme-error-surface);
120
- border-bottom-right-radius: var(--form-input-border-radius-underlined);
121
- border-bottom-left-radius: var(--form-input-border-radius-underlined);
122
-
123
- border-top: var(--form-element-border-width) solid var(--theme-error-surface);
124
- border-right: var(--form-element-border-width) solid var(--theme-error-surface);
125
- border-bottom: var(--form-element-border-width) solid var(--theme-error-surface);
126
- border-left: var(--form-element-border-width) solid var(--theme-error-surface);
127
- }
128
-
129
- .slot {
130
- display: flex;
131
- place-items: center;
132
- background-clip: padding-box;
133
-
134
- &.left-slot:not([data-theme='input-action-underlined']) {
135
- .icon {
136
- width: 2.2rem;
137
- height: 2.2rem;
138
- }
139
-
140
- [data-theme='input-action-underlined'] {
141
- width: initial;
142
- height: initial;
143
- padding: 0.5rem;
144
-
145
- .icon {
146
- width: 1.8rem;
147
- height: 1.8rem;
148
- }
149
- }
150
- }
151
- &.right-slot:not([data-theme='input-action-underlined']) {
152
- .icon {
153
- width: 2.2rem;
154
- height: 2.2rem;
155
- }
156
-
157
- [data-theme='input-action-underlined'] {
158
- width: initial;
159
- height: initial;
160
- padding: 0.5rem;
161
-
162
- .icon {
163
- width: 1.8rem;
164
- height: 1.8rem;
165
- }
166
- }
167
- }
168
- }
169
- }
170
-
171
- .input-text-core {
172
- all: unset;
173
- flex-grow: 1;
174
-
175
- font-family: var(--font-family);
176
- font-size: var(--form-element-font-size);
177
- line-height: var(--form-element-line-height);
178
- padding-block: var(--input-element-padding-block);
179
- padding-inline: 1rem;
180
-
181
- &::placeholder {
182
- color: var(--theme-input-placeholder);
183
- font-size: var(--theme-input-placeholder-font-size);
184
- font-style: italic;
185
- line-height: 1;
186
- font-weight: normal;
187
- }
188
- }
189
- }
190
- }
@@ -1,96 +0,0 @@
1
- .srcdev-forms-extended {
2
- .input-textarea-wrapper {
3
- /* Custom placeholder styles */
4
- background-color: var(--theme-input-surface);
5
-
6
- &:hover {
7
- background-color: var(--theme-input-surface-hover);
8
- }
9
-
10
- &:focus-within {
11
- background-color: var(--theme-input-surface-hover);
12
- outline: var(--theme-focus-visible-outline);
13
- box-shadow: var(--theme-focus-visible-shadow);
14
- }
15
-
16
- &.normal {
17
- outline: var(--form-element-outline-width) solid var(--theme-input-outline);
18
-
19
- border-top-left-radius: var(--form-input-border-radius);
20
- border-top-right-radius: var(--form-input-border-radius);
21
- border-bottom-left-radius: var(--form-input-border-radius);
22
- border-bottom-right-radius: var(--form-input-border-radius);
23
-
24
- border-top: var(--form-element-border-width) solid var(--theme-input-border);
25
- border-right: var(--form-element-border-width) solid var(--theme-input-border);
26
- border-bottom: var(--form-element-border-width) solid var(--theme-input-border);
27
- border-left: var(--form-element-border-width) solid var(--theme-input-border);
28
-
29
- padding-inline: 1rem;
30
-
31
- &:focus-within {
32
- outline-color: var(--theme-input-outline-focus);
33
- outline-offset: var(--form-element-outline-offset-focus);
34
- }
35
-
36
- &.error {
37
- border-color: var(--theme-error-surface);
38
- border-bottom-right-radius: 0;
39
- border-bottom-left-radius: 0;
40
- }
41
- }
42
-
43
- &:hover {
44
- /* Custom placeholder styles */
45
- }
46
-
47
- .slot {
48
- /* Custom placeholder styles */
49
-
50
- &.left-slot {
51
- /* Custom placeholder styles */
52
- }
53
- &.right-slot {
54
- /* Custom placeholder styles */
55
- }
56
- }
57
-
58
- .input-textarea-core {
59
- min-height: 4rem;
60
-
61
- &::placeholder {
62
- color: var(--theme-input-placeholder);
63
- font-size: var(--theme-input-placeholder-font-size);
64
- font-style: italic;
65
- line-height: 1;
66
- font-weight: normal;
67
- }
68
- }
69
-
70
- &.underlined {
71
- margin-block-start: 0;
72
- padding-block: 0;
73
- padding-inline: 0.6rem;
74
-
75
- border-top-left-radius: 0;
76
- border-top-right-radius: 0;
77
- border-bottom-left-radius: var(--form-input-border-radius);
78
- border-bottom-right-radius: var(--form-input-border-radius);
79
-
80
- border-top: var(--form-element-border-width) solid transparent;
81
- border-right: var(--form-element-border-width) solid transparent;
82
- border-bottom: var(--form-element-border-width-underlined) solid var(--theme-input-border);
83
- border-left: var(--form-element-border-width) solid transparent;
84
-
85
- &.error {
86
- border-bottom-right-radius: 0;
87
- border-bottom-left-radius: 0;
88
-
89
- border-top: var(--form-element-border-width) solid var(--theme-error-surface);
90
- border-right: var(--form-element-border-width) solid var(--theme-error-surface);
91
- border-bottom: var(--form-element-border-width) solid var(--theme-error-surface);
92
- border-left: var(--form-element-border-width) solid var(--theme-error-surface);
93
- }
94
- }
95
- }
96
- }
@@ -1,10 +0,0 @@
1
- @import "./_input-error";
2
- @import "./_input-select";
3
- @import "./_input-label";
4
- @import "./_input-description";
5
- @import "./_input-textarea";
6
- @import "./_input-text";
7
- @import "./_input-checkbox-radio-core";
8
- @import "./_input-button";
9
- @import "./_input-checkbox-radio-options-button";
10
- @import "./_form-fieldset";
@@ -1,2 +0,0 @@
1
- @import './setup/';
2
- @import './components/';
@@ -1,21 +0,0 @@
1
- :root {
2
- --theme-form-font-familty: var(--font-family);
3
- --theme-error-surface: var(--red-12);
4
- --theme-error-text: var(--red-0);
5
- --theme-form-button-font-size-normal: var(--form-element-font-size);
6
- --theme-form-transition-duration: 0.2s;
7
- --theme-input-placeholder-font-size: var(--step-4);
8
-
9
- input:autofill,
10
- input:-internal-autofill-selected,
11
- input:-webkit-autofill-strong-password,
12
- input:-webkit-autofill-strong-password-viewable,
13
- input:-webkit-autofill-and-obscured {
14
- background-color: var(--theme-button-surface) !important;
15
- background-image: none !important;
16
- color: var(--_input-text-core-color) !important;
17
- -webkit-box-shadow: 0 0 0rem 1000px var(--theme-button-surface) inset;
18
- -webkit-text-fill-color: var(--_input-text-core-color);
19
- transition: background-color 5000s ease-in-out 0s;
20
- }
21
- }
@@ -1,4 +0,0 @@
1
- /* @import './themes/'; */
2
- @import './variables';
3
- @import './variants';
4
- @import './_generic';
@@ -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
- }