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,16 +0,0 @@
1
- :root {
2
- --gray-00: #ffffff;
3
- --gray-0: #f8f9fa;
4
- --gray-1: #f1f3f5;
5
- --gray-2: #e9ecef;
6
- --gray-3: #dee2e6;
7
- --gray-4: #ced4da;
8
- --gray-5: #adb5bd;
9
- --gray-6: #868e96;
10
- --gray-7: #495057;
11
- --gray-8: #343a40;
12
- --gray-9: #212529;
13
- --gray-10: #16191d;
14
- --gray-11: #0d0f12;
15
- --gray-12: #030507;
16
- }
@@ -1,15 +0,0 @@
1
- :root {
2
- --green-0: #ebfbee;
3
- --green-1: #d3f9d8;
4
- --green-2: #b2f2bb;
5
- --green-3: #8ce99a;
6
- --green-4: #69db7c;
7
- --green-5: #51cf66;
8
- --green-6: #40c057;
9
- --green-7: #37b24d;
10
- --green-8: #2f9e44;
11
- --green-9: #2b8a3e;
12
- --green-10: #237032;
13
- --green-11: #1b5727;
14
- --green-12: #017f18;
15
- }
@@ -1,15 +0,0 @@
1
- :root {
2
- --orange-0: #fff4e6;
3
- --orange-1: #ffe8cc;
4
- --orange-2: #ffd8a8;
5
- --orange-3: #ffc078;
6
- --orange-4: #ffa94d;
7
- --orange-5: #ff922b;
8
- --orange-6: #ff7400;
9
- --orange-7: #f76707;
10
- --orange-8: #e8590c;
11
- --orange-9: #d9480f;
12
- --orange-10: #bf400d;
13
- --orange-11: #99330b;
14
- --orange-12: #c23903;
15
- }
@@ -1,15 +0,0 @@
1
- :root {
2
- --red-0: #fff5f5;
3
- --red-1: #ffe3e3;
4
- --red-2: #ffc9c9;
5
- --red-3: #ffa8a8;
6
- --red-4: #ff8787;
7
- --red-5: #ff6b6b;
8
- --red-6: #fa5252;
9
- --red-7: #f03e3e;
10
- --red-8: #e03131;
11
- --red-9: #ff0b0b;
12
- --red-10: #b02525;
13
- --red-11: #962020;
14
- --red-12: #cc0000;
15
- }
@@ -1,15 +0,0 @@
1
- :root {
2
- --yellow-0: #fff9db;
3
- --yellow-1: #fff3bf;
4
- --yellow-2: #ffec99;
5
- --yellow-3: #ffe066;
6
- --yellow-4: #ffd43b;
7
- --yellow-5: #fcc419;
8
- --yellow-6: #fab005;
9
- --yellow-7: #f59f00;
10
- --yellow-8: #f08c00;
11
- --yellow-9: #e67700;
12
- --yellow-10: #b35c00;
13
- --yellow-11: #804200;
14
- --yellow-12: #663500;
15
- }
@@ -1,6 +0,0 @@
1
- @import './_blue.css';
2
- @import './_gray.css';
3
- @import './_green.css';
4
- @import './_orange.css';
5
- @import './_red.css';
6
- @import './_yellow.css';
@@ -1,2 +0,0 @@
1
- @import './colors/';
2
- @import './themes/';
@@ -1,69 +0,0 @@
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
- /* Description */
25
- --form-description-color: light-dark(var(--gray-12), var(--gray-1));
26
-
27
- /* Input Elements */
28
- --theme-input-surface: light-dark(var(--gray-1), var(--gray-8));
29
- --theme-input-surface-hover: light-dark(var(--gray-1), var(--gray-5));
30
-
31
- --theme-input-border: light-dark(var(--gray-9), var(--gray-4));
32
- --theme-input-border-hover: light-dark(var(--gray-10), var(--gray-5));
33
- --theme-input-border-focus: light-dark(var(--gray-10), var(--gray-5));
34
-
35
- --theme-input-outline: transparent;
36
- --theme-input-outline-hover: light-dark(var(--gray-10), var(--gray-5));
37
- --theme-input-outline-focus: light-dark(var(--gray-10), var(--gray-5));
38
-
39
- --theme-input-text: var(--gray-0);
40
- --theme-input-text-hover: var(--gray-0);
41
- --theme-input-text-focus: var(--gray-0);
42
- --theme-input-placeholder: light-dark(var(--gray-7), var(--gray-5));
43
-
44
- /* Checkboxes & Radio buttons */
45
- --theme-checkbox-label-text-color: light-dark(var(--gray-11), var(--gray-1));
46
- --theme-checkbox-decorator-color: light-dark(var(--gray-11), var(--gray-1));
47
- --theme-checkbox-symbol-surface: var(--colour-theme-2);
48
- --theme-checkbox-symbol-color: light-dark(var(--gray-11), var(--gray-1));
49
-
50
- /* a11y */
51
- --theme-focus-visible-shadow: var(--colour-theme-12);
52
- --theme-focus-visible-outline: var(--colour-theme-12);
53
-
54
- /* Buttons */
55
- --theme-button-surface: light-dark(var(--gray-5), var(--gray-4));
56
- --theme-button-surface-hover: light-dark(var(--gray-6), var(--gray-5));
57
-
58
- --theme-button-border: light-dark(var(--gray-9), var(--gray-4));
59
- --theme-button-border-hover: light-dark(var(--gray-10), var(--gray-5));
60
- --theme-button-border-focus: light-dark(var(--gray-10), var(--gray-5));
61
-
62
- --theme-button-outline: transparent;
63
- --theme-button-outline-hover: light-dark(var(--gray-10), var(--gray-5));
64
- --theme-button-outline-focus: light-dark(var(--gray-10), var(--gray-5));
65
-
66
- --theme-button-text: var(--gray-0);
67
- --theme-button-text-hover: var(--gray-0);
68
- --theme-button-text-focus: var(--gray-0);
69
- }
@@ -1,69 +0,0 @@
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
- /* Description */
24
- --form-description-color: light-dark(var(--gray-12), var(--gray-1));
25
-
26
- /* Input Elements */
27
- --theme-input-surface: light-dark(var(--gray-1), var(--gray-8));
28
- --theme-input-surface-hover: light-dark(var(--gray-1), var(--gray-10));
29
- --theme-input-surface-focus: light-dark(var(--gray-1), var(--gray-10));
30
-
31
- --theme-input-border: var(--red-12);
32
- --theme-input-border-hover: light-dark(var(--gray-10), var(--gray-5));
33
- --theme-input-border-focus: light-dark(var(--gray-10), var(--gray-5));
34
-
35
- --theme-input-outline: transparent;
36
- --theme-input-outline-hover: light-dark(var(--gray-10), var(--gray-1));
37
- --theme-input-outline-focus: light-dark(var(--gray-10), var(--gray-1));
38
-
39
- --theme-input-text: var(--gray-0);
40
- --theme-input-text-hover: var(--gray-0);
41
- --theme-input-text-focus: var(--gray-0);
42
- --theme-input-placeholder: light-dark(var(--gray-7), var(--gray-5));
43
-
44
- /* Checkboxes & Radio buttons */
45
- --theme-checkbox-label-text-color: light-dark(var(--gray-11), var(--gray-1));
46
- --theme-checkbox-decorator-color: var(--red-10);
47
- --theme-checkbox-symbol-surface: var(--gray-12);
48
- --theme-checkbox-symbol-color: light-dark(var(--gray-11), var(--gray-1));
49
-
50
- /* a11y */
51
- --theme-focus-visible-shadow: var(--colour-theme-1);
52
- --theme-focus-visible-outline: var(--colour-theme-1);
53
-
54
- /* Buttons */
55
- --theme-button-surface: light-dark(var(--red-5), var(--red-10));
56
- --theme-button-surface-hover: light-dark(var(--red-6), var(--red-12));
57
-
58
- --theme-button-border: light-dark(var(--red-9), var(--red-4));
59
- --theme-button-border-hover: light-dark(var(--red-10), var(--red-5));
60
- --theme-button-border-focus: light-dark(var(--red-10), var(--red-5));
61
-
62
- --theme-button-outline: transparent;
63
- --theme-button-outline-hover: light-dark(var(--red-10), var(--red-7));
64
- --theme-button-outline-focus: light-dark(var(--red-10), var(--red-7));
65
-
66
- --theme-button-text: var(--red-0);
67
- --theme-button-text-hover: var(--red-0);
68
- --theme-button-text-focus: var(--red-0);
69
- }
@@ -1,31 +0,0 @@
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
- }
@@ -1,31 +0,0 @@
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
- }
@@ -1,41 +0,0 @@
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
- }
@@ -1,69 +0,0 @@
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
- /* Description */
24
- --form-description-color: light-dark(var(--gray-12), var(--gray-1));
25
-
26
- /* Input Elements */
27
- --theme-input-surface: light-dark(var(--gray-1), var(--gray-8));
28
- --theme-input-surface-hover: light-dark(var(--gray-1), var(--gray-10));
29
- --theme-input-surface-focus: light-dark(var(--gray-1), var(--gray-10));
30
-
31
- --theme-input-border: light-dark(var(--gray-9), var(--gray-4));
32
- --theme-input-border-hover: light-dark(var(--gray-10), var(--gray-5));
33
- --theme-input-border-focus: light-dark(var(--gray-10), var(--gray-5));
34
-
35
- --theme-input-outline: transparent;
36
- --theme-input-outline-hover: light-dark(var(--gray-10), var(--gray-1));
37
- --theme-input-outline-focus: light-dark(var(--gray-10), var(--gray-1));
38
-
39
- --theme-input-text: var(--gray-0);
40
- --theme-input-text-hover: var(--gray-0);
41
- --theme-input-text-focus: var(--gray-0);
42
- --theme-input-placeholder: light-dark(var(--gray-7), var(--gray-5));
43
-
44
- /* Checkboxes & Radio buttons */
45
- /* --theme-checkbox-label-text-color: light-dark(var(--gray-11), var(--gray-1)); */
46
- /* --theme-checkbox-decorator-color: light-dark(var(--gray-11), var(--gray-1)); */
47
- /* --theme-checkbox-symbol-surface: var(--colour-theme-12); */
48
- /* --theme-checkbox-symbol-color: light-dark(var(--gray-11), var(--gray-1)); */
49
-
50
- /* a11y */
51
- --theme-focus-visible-shadow: var(--colour-theme-1);
52
- --theme-focus-visible-outline: var(--colour-theme-1);
53
-
54
- /* Buttons */
55
- --theme-button-surface: light-dark(var(--gray-9), var(--gray-10));
56
- --theme-button-surface-hover: light-dark(var(--gray-10), var(--gray-11));
57
-
58
- --theme-button-border: light-dark(var(--gray-9), var(--gray-2));
59
- --theme-button-border-hover: light-dark(var(--gray-10), var(--gray-1));
60
- --theme-button-border-focus: light-dark(var(--gray-10), var(--gray-5));
61
-
62
- --theme-button-outline: transparent;
63
- --theme-button-outline-hover: light-dark(var(--gray-10), var(--gray-1));
64
- --theme-button-outline-focus: light-dark(var(--gray-10), var(--gray-1));
65
-
66
- --theme-button-text: var(--gray-0);
67
- --theme-button-text-hover: var(--gray-0);
68
- --theme-button-text-focus: var(--gray-0);
69
- }
@@ -1,69 +0,0 @@
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
- /* Description */
24
- --form-description-color: light-dark(var(--gray-12), var(--gray-1));
25
-
26
- /* Input Elements */
27
- --theme-input-surface: light-dark(var(--gray-1), var(--gray-8));
28
- --theme-input-surface-hover: light-dark(var(--gray-1), var(--gray-10));
29
- --theme-input-surface-focus: light-dark(var(--gray-1), var(--gray-10));
30
-
31
- --theme-input-border: var(--green-10);
32
- --theme-input-border-hover: light-dark(var(--gray-10), var(--gray-5));
33
- --theme-input-border-focus: light-dark(var(--gray-10), var(--gray-5));
34
-
35
- --theme-input-outline: transparent;
36
- --theme-input-outline-hover: light-dark(var(--gray-10), var(--gray-1));
37
- --theme-input-outline-focus: light-dark(var(--gray-10), var(--gray-1));
38
-
39
- --theme-input-text: var(--gray-0);
40
- --theme-input-text-hover: var(--gray-0);
41
- --theme-input-text-focus: var(--gray-0);
42
- --theme-input-placeholder: light-dark(var(--gray-7), var(--gray-5));
43
-
44
- /* Checkboxes & Radio buttons */
45
- /* --theme-checkbox-label-text-color: light-dark(var(--gray-11), var(--gray-1)); */
46
- /* --theme-checkbox-decorator-color: var(--green-10); */
47
- /* --theme-checkbox-symbol-surface: var(--green-10); */
48
- /* --theme-checkbox-symbol-color: light-dark(var(--gray-11), var(--gray-1)); */
49
-
50
- /* a11y */
51
- --theme-focus-visible-shadow: var(--colour-theme-1);
52
- --theme-focus-visible-outline: var(--colour-theme-1);
53
-
54
- /* Buttons */
55
- --theme-button-surface: light-dark(var(--green-5), var(--green-10));
56
- --theme-button-surface-hover: light-dark(var(--green-6), var(--green-12));
57
-
58
- --theme-button-border: light-dark(var(--green-9), var(--green-4));
59
- --theme-button-border-hover: light-dark(var(--green-10), var(--green-5));
60
- --theme-button-border-focus: light-dark(var(--green-10), var(--green-5));
61
-
62
- --theme-button-outline: transparent;
63
- --theme-button-outline-hover: light-dark(var(--green-10), var(--green-5));
64
- --theme-button-outline-focus: light-dark(var(--green-10), var(--green-5));
65
-
66
- --theme-button-text: var(--green-0);
67
- --theme-button-text-hover: var(--green-0);
68
- --theme-button-text-focus: var(--green-0);
69
- }
@@ -1,31 +0,0 @@
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
- }
@@ -1,71 +0,0 @@
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
- /* Description */
25
- --form-description-color: light-dark(var(--gray-12), var(--gray-1));
26
-
27
- /* Input Elements */
28
- --theme-input-surface: light-dark(var(--gray-1), var(--gray-8));
29
- --theme-input-surface-hover: light-dark(var(--gray-1), var(--gray-10));
30
- --theme-input-surface-focus: light-dark(var(--gray-1), var(--gray-10));
31
-
32
- --theme-input-border: var(--orange-10);
33
- --theme-input-border-hover: light-dark(var(--gray-10), var(--gray-5));
34
- --theme-input-border-focus: light-dark(var(--gray-10), var(--gray-5));
35
-
36
- --theme-input-outline: transparent;
37
- --theme-input-outline-hover: light-dark(var(--gray-10), var(--gray-1));
38
- --theme-input-outline-focus: light-dark(var(--gray-10), var(--gray-1));
39
-
40
- --theme-input-text: var(--gray-0);
41
- --theme-input-text-hover: var(--gray-0);
42
- --theme-input-text-focus: var(--gray-0);
43
- --theme-input-placeholder: light-dark(var(--gray-7), var(--gray-5));
44
-
45
- /* Checkboxes & Radio buttons */
46
- /* --theme-checkbox-label-text-color: light-dark(var(--gray-11), var(--gray-1)); */
47
- /* --theme-checkbox-decorator-color: var(--orange-10); */
48
- /* --theme-checkbox-symbol-surface: var(--orange-10); */
49
- /* --theme-checkbox-symbol-color: light-dark(var(--gray-11), var(--gray-1)); */
50
-
51
- /* a11y */
52
- --theme-focus-visible-shadow: var(--colour-theme-1);
53
- --theme-focus-visible-outline: var(--colour-theme-1);
54
-
55
- /* Buttons */
56
- --theme-button-surface: light-dark(var(--orange-5), var(--orange-10));
57
- --theme-button-surface-hover: light-dark(var(--orange-6), var(--orange-12));
58
-
59
- --theme-button-border: light-dark(var(--orange-9), var(--orange-4));
60
- --theme-button-border-hover: light-dark(var(--orange-10), var(--orange-5));
61
- --theme-button-border-focus: light-dark(var(--orange-10), var(--orange-5));
62
-
63
- --theme-button-outline: transparent;
64
- --theme-button-outline-hover: light-dark(var(--orange-10), var(--orange-5));
65
- --theme-button-outline-focus: light-dark(var(--orange-10), var(--orange-5));
66
-
67
- --theme-button-text: var(--orange-0);
68
- --theme-button-text-hover: var(--orange-0);
69
- --theme-button-text-focus: var(--orange-0);
70
- }
71
- }
@@ -1,9 +0,0 @@
1
- @import './_default';
2
- @import './_primary';
3
- @import './_secondary';
4
- @import './_tertiary';
5
- @import './_error';
6
- @import './_success';
7
- @import './_warning';
8
- @import './_info';
9
- @import './_ghost';
@@ -1,2 +0,0 @@
1
- @import './utility-classes';
2
- @import './vars';