srcdev-nuxt-components 9.1.55 → 9.1.57

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 (104) hide show
  1. package/.claude/settings.json +30 -2
  2. package/.claude/skills/components/alert-content-inner.md +60 -0
  3. package/.claude/skills/components/display-dialog.md +80 -0
  4. package/.claude/skills/components/display-prompt.md +163 -0
  5. package/.claude/skills/components/display-toast.md +235 -0
  6. package/.claude/skills/index.md +7 -3
  7. package/.claude/skills/theming-colour-ramps.md +328 -0
  8. package/.claude/skills/theming-override-default.md +115 -186
  9. package/.claude/skills/theming-partial-override.md +88 -75
  10. package/README.md +166 -0
  11. package/app/app.config.ts +44 -0
  12. package/app/assets/styles/setup/01.config/_head.css +3 -3
  13. package/app/assets/styles/setup/02.colours/_amber.css +12 -10
  14. package/app/assets/styles/setup/02.colours/_blue.css +10 -9
  15. package/app/assets/styles/setup/02.colours/_green.css +12 -11
  16. package/app/assets/styles/setup/02.colours/_orange.css +12 -10
  17. package/app/assets/styles/setup/02.colours/_red.css +10 -9
  18. package/app/assets/styles/setup/02.colours/_slate.css +12 -11
  19. package/app/assets/styles/setup/02.colours/_sunset.css +12 -10
  20. package/app/assets/styles/setup/02.colours/_theme-params.css +18 -0
  21. package/app/assets/styles/setup/02.colours/index.css +1 -0
  22. package/app/assets/styles/setup/03.theming/_default.css +87 -0
  23. package/app/assets/styles/setup/03.theming/_error.css +14 -0
  24. package/app/assets/styles/setup/03.theming/_success.css +4 -0
  25. package/app/assets/styles/setup/03.theming/_theme-slots.css +16 -0
  26. package/app/assets/styles/setup/03.theming/_warning.css +13 -0
  27. package/app/assets/styles/setup/03.theming/index.css +6 -4
  28. package/app/assets/styles/setup/03.theming/theme-ramp.css +19 -0
  29. package/app/assets/styles/setup/04.elements/forms/00.element-defaults.css +0 -7
  30. package/app/assets/styles/setup/04.elements/forms/06.button-geometry.css +1 -1
  31. package/app/assets/styles/setup/index.css +1 -1
  32. package/app/components/01.atoms/display-dialog/DisplayDialog.vue +74 -24
  33. package/app/components/01.atoms/display-dialog/tests/DisplayDialog.spec.ts +148 -14
  34. package/app/components/01.atoms/display-dialog/tests/__snapshots__/DisplayDialog.spec.ts.snap +3 -3
  35. package/app/components/01.atoms/prompt/DisplayPrompt.vue +113 -0
  36. package/app/components/01.atoms/prompt/stories/DisplayPrompt.stories.ts +112 -0
  37. package/app/components/01.atoms/prompt/tests/DisplayPrompt.spec.ts +205 -0
  38. package/app/components/01.atoms/toast/DisplayToast.vue +327 -0
  39. package/app/components/01.atoms/toast/DisplayToastProvider.vue +362 -0
  40. package/app/components/01.atoms/toast/stories/DisplayToast.stories.ts +195 -0
  41. package/app/components/01.atoms/toast/stories/DisplayToastProvider.stories.ts +142 -0
  42. package/app/components/01.atoms/toast/tests/DisplayToast.spec.ts +266 -0
  43. package/app/components/01.atoms/toast/tests/DisplayToastProvider.spec.ts +256 -0
  44. package/app/components/02.molecules/action-menu/ActionMenu.vue +8 -1
  45. package/app/components/02.molecules/action-menu/ActionMenuItemCore.vue +11 -3
  46. package/app/components/02.molecules/alert-content/AlertContent.vue +67 -0
  47. package/app/components/02.molecules/alert-content/AlertContentInner.vue +153 -0
  48. package/app/components/02.molecules/alert-content/stories/AlertContent.stories.ts +131 -0
  49. package/app/components/02.molecules/alert-content/tests/AlertContent.spec.ts +135 -0
  50. package/app/components/02.molecules/alert-content/tests/AlertContentInner.spec.ts +135 -0
  51. package/app/components/02.molecules/alert-masked-content/AlertMaskedContent.vue +78 -0
  52. package/app/components/02.molecules/alert-masked-content/stories/AlertMaskedContent.stories.ts +132 -0
  53. package/app/components/02.molecules/alert-masked-content/tests/AlertMaskedContent.spec.ts +149 -0
  54. package/app/components/05.forms/input-button/InputButtonCore.vue +35 -39
  55. package/app/components/05.forms/input-checkbox-radio/InputCheckboxRadioButton.vue +8 -8
  56. package/app/components/05.forms/input-checkbox-radio/InputCheckboxRadioCore.vue +5 -5
  57. package/app/components/05.forms/input-copy/InputCopyCore.vue +7 -7
  58. package/app/components/05.forms/input-number/InputNumberCore.vue +5 -5
  59. package/app/components/05.forms/input-select/InputSelectCore.vue +6 -6
  60. package/app/components/05.forms/input-text/InputTextCore.vue +6 -6
  61. package/app/components/05.forms/input-text/variants/InputTextAsNumberWithLabel.vue +2 -2
  62. package/app/components/05.forms/input-textarea/InputTextareaCore.vue +5 -5
  63. package/app/components/05.forms/pending-effect/PendingEffect.vue +60 -60
  64. package/app/components/05.forms/toggle-switch/ToggleSwitchCore.vue +10 -10
  65. package/app/components/05.forms/triple-toggle-switch/TripleToggleSwitchCore.vue +4 -4
  66. package/app/components/display-theme-switch/DisplayThemeSwitch.vue +4 -4
  67. package/app/components/display-tooltip/DisplayTooltip.vue +4 -4
  68. package/app/composables/useBodyLock.ts +21 -0
  69. package/app/composables/useDialogControls.ts +11 -11
  70. package/app/composables/useToastQueue.ts +39 -0
  71. package/app/layouts/default.vue +1 -1
  72. package/app/pages/ui/display-dialog.vue +275 -127
  73. package/app/pages/ui/display-prompt.vue +255 -52
  74. package/app/pages/ui/display-toast.vue +278 -299
  75. package/app/pages/ui/mask-element.vue +25 -3
  76. package/app/pages/ui/settings.vue +9 -35
  77. package/app/types/app-config.d.ts +41 -0
  78. package/app/types/components/display-prompt.d.ts +11 -0
  79. package/app/types/components/display-toast.d.ts +11 -9
  80. package/app/types/components/index.ts +2 -0
  81. package/app/types/components/semantic-theme.d.ts +1 -0
  82. package/nuxt.config.ts +16 -0
  83. package/package.json +8 -4
  84. package/ramps.config.mjs +28 -0
  85. package/scripts/check-ramps.mjs +50 -0
  86. package/scripts/generate-consumer-ramps.mjs +100 -0
  87. package/scripts/generate-ramps.mjs +92 -0
  88. package/app/assets/styles/setup/03.theming/default/_dark.css +0 -156
  89. package/app/assets/styles/setup/03.theming/default/_light.css +0 -166
  90. package/app/assets/styles/setup/03.theming/default/index.css +0 -2
  91. package/app/assets/styles/setup/03.theming/error/_dark.css +0 -56
  92. package/app/assets/styles/setup/03.theming/error/_light.css +0 -74
  93. package/app/assets/styles/setup/03.theming/error/index.css +0 -2
  94. package/app/assets/styles/setup/03.theming/success/_dark.css +0 -50
  95. package/app/assets/styles/setup/03.theming/success/_light.css +0 -65
  96. package/app/assets/styles/setup/03.theming/success/index.css +0 -2
  97. package/app/assets/styles/setup/03.theming/warning/_dark.css +0 -50
  98. package/app/assets/styles/setup/03.theming/warning/_light.css +0 -64
  99. package/app/assets/styles/setup/03.theming/warning/index.css +0 -2
  100. package/app/components/display-prompt/DisplayPromptCore.vue +0 -228
  101. package/app/components/display-prompt/variants/DisplayPromptError.vue +0 -53
  102. package/app/components/display-toast/DisplayToast.vue +0 -447
  103. package/app/components/display-toast/molecules/DefaultToastContent.vue +0 -163
  104. package/app/components/display-toast/stories/DisplayToast.stories.ts +0 -380
@@ -1,166 +0,0 @@
1
- :where(html) {
2
- /* ===========================================
3
- COLOR SCALE VARIABLES
4
- Base color tokens for the default theme
5
- =========================================== */
6
- --colour-theme-1: var(--blue-01);
7
- --colour-theme-2: var(--blue-02);
8
- --colour-theme-3: var(--blue-03);
9
- --colour-theme-4: var(--blue-04);
10
- --colour-theme-5: var(--blue-05);
11
- --colour-theme-6: var(--blue-06);
12
- --colour-theme-7: var(--blue-07);
13
- --colour-theme-8: var(--blue-08);
14
- --colour-theme-9: var(--blue-09);
15
- --colour-theme-10: var(--blue-10);
16
-
17
- /* ===========================================
18
- GENERIC BODY VARIABLES
19
- =========================================== */
20
- --page-bg: var(--slate-00);
21
- --colour-text-default: var(--slate-09);
22
- --colour-text-accent: var(--blue-09);
23
- --colour-text-eyebrow: var(--blue-09);
24
-
25
- /* ===========================================
26
- GLASS PANEL VARIABLES
27
- =========================================== */
28
- --glass-panel-bg: rgba(255, 255, 255, 0.55);
29
- --glass-panel-border-color: rgba(255, 255, 255, 0.8);
30
- --glass-panel-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
31
- --glass-panel-highlight: rgba(255, 255, 255, 0.9);
32
-
33
- /* ===========================================
34
- HERO TEXT VARIABLES
35
- =========================================== */
36
- --hero-text-bg-img: linear-gradient(135deg, #c2a770, #b4747e, #d1bd94);
37
-
38
- /* ===========================================
39
- EYEBROW TEXT VARIABLES
40
- =========================================== */
41
- --eyebrow-text-bg-img: linear-gradient(135deg, #c2a770, #b4747e, #d1bd94);
42
-
43
- /* ===========================================
44
- STEPPER LIST VARIABLES
45
- =========================================== */
46
- --stepper-list-counter-circle-background: transparent;
47
- --stepper-list-counter-circle-text: var(--blue-09);
48
- --stepper-list-counter-circle-border: var(--blue-09);
49
-
50
- --stepper-list-counter-disc-background: var(--blue-01);
51
- --stepper-list-counter-disc-text: var(--blue-09);
52
- --stepper-list-counter-disc-border: var(--blue-01);
53
-
54
- --stepper-list-counter-square-background: transparent;
55
- --stepper-list-counter-square-text: var(--blue-09);
56
- --stepper-list-counter-square-border: var(--blue-09);
57
-
58
- --stepper-list-connector-color: var(--blue-01);
59
-
60
- --stepper-list-icon: var(--blue-09);
61
-
62
- /* ===========================================
63
- COLOUR FINDER VARIABLES
64
- =========================================== */
65
- --colour-finder-primary-colour: var(--blue-03);
66
- --colour-finder-border-colour: var(--blue-02);
67
-
68
- --colour-finder-checked-surface-colour: var(--green-03);
69
- --colour-finder-checked-stroke-colour: var(--green-09);
70
-
71
- --colour-finder-conflict-surface-colour: var(--sunset-03);
72
- --colour-finder-conflict-stroke-colour: var(--sunset-09);
73
-
74
- /* ===========================================
75
- TREATMENT CONSULTANT VARIABLES
76
- =========================================== */
77
- --treatment-consultant-primary-colour: var(--amber-05);
78
- --treatment-consultant-border-colour: var(--blue-02);
79
-
80
- --treatment-consultant-checked-surface-colour: var(--green-03);
81
- --treatment-consultant-checked-stroke-colour: var(--green-09);
82
-
83
- --treatment-consultant-conflict-surface-colour: var(--sunset-03);
84
- --treatment-consultant-conflict-stroke-colour: var(--sunset-09);
85
-
86
- /* ===========================================
87
- ANCHOR LINK VARIABLES
88
- Styling for anchor links and interactive text
89
- =========================================== */
90
- --colour-link-default: var(--blue-10);
91
- --colour-link-hover: var(--blue-09);
92
-
93
- /* ===========================================
94
- FORM INPUT VARIABLES
95
- Styling for form inputs and controls
96
- =========================================== */
97
-
98
- /* Input surfaces and backgrounds */
99
- --theme-input-surface: var(--slate-00);
100
- --theme-input-surface-hover: var(--slate-01);
101
-
102
- /* Input borders */
103
- --theme-input-border: var(--blue-06);
104
- --theme-input-border-hover: var(--blue-05);
105
- --theme-input-border-focus: var(--blue-04);
106
-
107
- /* Input outlines and focus */
108
- --theme-input-outline: transparent;
109
- --theme-input-outline-focus: var(--blue-04);
110
- --theme-input-visible-outline: var(--blue-10);
111
- --theme-focus-visible-shadow: 0 0 0 2px var(--blue-02);
112
-
113
- /* ===========================================
114
- INPUT TEXT VARIABLES
115
- =========================================== */
116
- --theme-input-placeholder: var(--slate-05);
117
- --theme-input-text-color-normal: var(--slate-09);
118
-
119
- /* ===========================================
120
- CHECKBOX AND RADIO BUTTON VARIABLES
121
- =========================================== */
122
- --theme-checkbox-symbol-color: var(--blue-08);
123
- --theme-checkbox-symbol-surface: var(--theme-input-surface);
124
- --theme-checkbox-decorator-color: var(--blue-09);
125
-
126
- /* ===========================================
127
- TOGGLE SWITCH VARIABLES
128
- =========================================== */
129
- --theme-toggle-symbol-color-default: var(--blue-00);
130
- --theme-toggle-symbol-color-checked: var(--blue-08);
131
-
132
- --input-error-margin-block-start: 0.25rem;
133
-
134
- /* ===========================================
135
- FORM BUTTON VARIABLES
136
- Styling for form buttons and controls
137
- =========================================== */
138
-
139
- /* Variant Primary */
140
- --theme-button-primary-surface: var(--blue-09);
141
- --theme-button-primary-surface-hover: var(--blue-08);
142
- --theme-button-primary-surface-active: var(--blue-07);
143
- --theme-button-primary-border: var(--blue-09);
144
- --theme-button-primary-border-active: var(--blue-09);
145
- --theme-button-primary-outline: var(--blue-01);
146
- --theme-button-primary-outline-active: var(--blue-07);
147
- --theme-button-primary-text: var(--blue-00);
148
- --theme-button-primary-text-hover: var(--blue-00);
149
-
150
- /* Variant Secondary */
151
- --theme-button-secondary-surface: transparent;
152
- --theme-button-secondary-surface-hover: var(--blue-01);
153
- --theme-button-secondary-surface-active: var(--blue-01);
154
- --theme-button-secondary-border: var(--blue-09);
155
- --theme-button-secondary-border-active: var(--blue-09);
156
- --theme-button-secondary-outline: var(--blue-09);
157
- --theme-button-secondary-outline-active: var(--blue-09);
158
- --theme-button-secondary-text: var(--blue-09);
159
- --theme-button-secondary-text-hover: var(--blue-09);
160
-
161
- /* Variant Tertiary */
162
- --theme-button-tertiary-surface: var(--slate-01);
163
- --theme-button-tertiary-text: var(--blue-09);
164
- --theme-button-tertiary-border-active: var(--blue-09);
165
- --theme-button-tertiary-outline-active: var(--blue-09);
166
- }
@@ -1,2 +0,0 @@
1
- @import "./_light";
2
- @import "./_dark";
@@ -1,56 +0,0 @@
1
- :where(html.dark [data-invalid]),
2
- :where(html.dark [data-theme="error"]) {
3
- /* ===========================================
4
- COLOR SCALE VARIABLES
5
- Base color tokens for the error theme
6
- =========================================== */
7
- --colour-theme-1: var(--red-01);
8
- --colour-theme-2: var(--red-02);
9
- --colour-theme-3: var(--red-03);
10
- --colour-theme-4: var(--red-04);
11
- --colour-theme-5: var(--red-05);
12
- --colour-theme-6: var(--red-06);
13
- --colour-theme-7: var(--red-07);
14
- --colour-theme-8: var(--red-08);
15
- --colour-theme-9: var(--red-09);
16
- --colour-theme-10: var(--red-10);
17
- --colour-theme-11: var(--red-10);
18
- --colour-theme-12: var(--red-10);
19
-
20
- /* ===========================================
21
- FORM ERROR DISPLAY
22
- =========================================== */
23
- --theme-error-outline: var(--red-05);
24
-
25
- /* ===========================================
26
- FORM INPUT VARIABLES
27
- Styling for form inputs and controls
28
- =========================================== */
29
- --theme-input-border: var(--red-06);
30
- --theme-input-border-focus: var(--red-04);
31
-
32
- /* Input outlines and focus */
33
- --theme-input-outline: var(--red-05);
34
-
35
- /* ===========================================
36
- FORM BUTTON VARIABLES
37
- Styling for form buttons and controls
38
- =========================================== */
39
-
40
- /* Variant Primary */
41
- --theme-button-primary-border: var(--red-07);
42
- --theme-button-primary-border-active: var(--red-07);
43
- --theme-button-primary-text: var(--red-00);
44
- --theme-button-primary-text-hover: var(--red-00);
45
-
46
- /* Variant Secondary */
47
- --theme-button-secondary-surface: var(--red-01);
48
- --theme-button-secondary-border-active: var(--red-01);
49
- --theme-button-secondary-text: var(--red-09);
50
-
51
- /* Variant Tertiary */
52
- --theme-button-tertiary-surface: transparent;
53
- --theme-button-tertiary-text: var(--red-01);
54
- --theme-button-tertiary-border-active: var(--red-01);
55
- --theme-button-tertiary-outline-active: var(--red-09);
56
- }
@@ -1,74 +0,0 @@
1
- :where([data-invalid]),
2
- :where([data-theme="error"]) {
3
- /* ===========================================
4
- COLOR SCALE VARIABLES
5
- Base color tokens for the error theme
6
- =========================================== */
7
- --colour-theme-1: var(--red-01);
8
- --colour-theme-2: var(--red-02);
9
- --colour-theme-3: var(--red-03);
10
- --colour-theme-4: var(--red-04);
11
- --colour-theme-5: var(--red-05);
12
- --colour-theme-6: var(--red-06);
13
- --colour-theme-7: var(--red-07);
14
- --colour-theme-8: var(--red-08);
15
- --colour-theme-9: var(--red-09);
16
- --colour-theme-10: var(--red-10);
17
- --colour-theme-11: var(--red-10);
18
- --colour-theme-12: var(--red-10);
19
-
20
- /* ===========================================
21
- FORM ERROR DISPLAY
22
- =========================================== */
23
- --input-error-color: white;
24
- --theme-error-surface: var(--red-06);
25
- --theme-error-border: var(--red-06);
26
- --theme-error-outline: var(--red-01);
27
-
28
- /* ===========================================
29
- FORM INPUT VARIABLES
30
- Styling for form inputs and controls
31
- =========================================== */
32
- --theme-input-border: var(--red-06);
33
- --theme-input-border-focus: var(--red-04);
34
- --theme-input-border-hover: var(--red-04);
35
-
36
- /* Input outlines and focus */
37
- --theme-input-outline: var(--red-01);
38
- --theme-input-outline-focus: var(--red-04);
39
- --theme-input-visible-outline: var(--red-04);
40
- --theme-focus-visible-shadow: 0 0 0 2px var(--red-02);
41
-
42
- /* ===========================================
43
- FORM BUTTON VARIABLES
44
- Styling for form buttons and controls
45
- =========================================== */
46
-
47
- /* Variant Primary */
48
- --theme-button-primary-surface: var(--red-09);
49
- --theme-button-primary-surface-hover: var(--red-08);
50
- --theme-button-primary-surface-active: var(--red-07);
51
- --theme-button-primary-border: var(--red-09);
52
- --theme-button-primary-border-active: var(--red-09);
53
- --theme-button-primary-outline: var(--red-01);
54
- --theme-button-primary-outline-active: var(--red-07);
55
- --theme-button-primary-text: var(--red-00);
56
- --theme-button-primary-text-hover: var(--red-00);
57
-
58
- /* Variant Secondary */
59
- --theme-button-secondary-surface: transparent;
60
- --theme-button-secondary-surface-hover: var(--red-01);
61
- --theme-button-secondary-surface-active: var(--red-01);
62
- --theme-button-secondary-border: var(--red-09);
63
- --theme-button-secondary-border-active: var(--red-09);
64
- --theme-button-secondary-outline: var(--red-09);
65
- --theme-button-secondary-outline-active: var(--red-09);
66
- --theme-button-secondary-text: var(--red-09);
67
- --theme-button-secondary-text-hover: var(--red-09);
68
-
69
- /* Variant Tertiary */
70
- --theme-button-tertiary-surface: var(--slate-01);
71
- --theme-button-tertiary-text: var(--red-09);
72
- --theme-button-tertiary-border-active: var(--red-09);
73
- --theme-button-tertiary-outline-active: var(--red-09);
74
- }
@@ -1,2 +0,0 @@
1
- @import "./_light";
2
- @import "./_dark";
@@ -1,50 +0,0 @@
1
- :where(html.dark [data-theme="success"]) {
2
- /* ===========================================
3
- COLOR SCALE VARIABLES
4
- Base color tokens for the success theme
5
- =========================================== */
6
- --colour-theme-1: var(--green-01);
7
- --colour-theme-2: var(--green-02);
8
- --colour-theme-3: var(--green-03);
9
- --colour-theme-4: var(--green-04);
10
- --colour-theme-5: var(--green-05);
11
- --colour-theme-6: var(--green-06);
12
- --colour-theme-7: var(--green-07);
13
- --colour-theme-8: var(--green-08);
14
- --colour-theme-9: var(--green-09);
15
- --colour-theme-10: var(--green-10);
16
- --colour-theme-11: var(--green-10);
17
- --colour-theme-12: var(--green-10);
18
-
19
- /* ===========================================
20
- FORM INPUT VARIABLES
21
- Styling for form inputs and controls
22
- =========================================== */
23
- --theme-input-border: var(--green-05);
24
- --theme-input-border-focus: var(--green-04);
25
-
26
- /* Input outlines and focus */
27
- --theme-input-outline: var(--green-05);
28
-
29
- /* ===========================================
30
- FORM BUTTON VARIABLES
31
- Styling for form buttons and controls
32
- =========================================== */
33
-
34
- /* Variant Primary */
35
- --theme-button-primary-border: var(--green-07);
36
- --theme-button-primary-border-active: var(--green-07);
37
- --theme-button-primary-text: var(--green-00);
38
- --theme-button-primary-text-hover: var(--green-00);
39
-
40
- /* Variant Secondary */
41
- --theme-button-secondary-surface: var(--green-01);
42
- --theme-button-secondary-border-active: var(--green-01);
43
- --theme-button-secondary-text: var(--green-09);
44
-
45
- /* Variant Tertiary */
46
- --theme-button-tertiary-surface: transparent;
47
- --theme-button-tertiary-text: var(--green-01);
48
- --theme-button-tertiary-border-active: var(--green-01);
49
- --theme-button-tertiary-outline-active: var(--green-09);
50
- }
@@ -1,65 +0,0 @@
1
- :where([data-theme="success"]) {
2
- /* ===========================================
3
- COLOR SCALE VARIABLES
4
- Base color tokens for the success theme
5
- =========================================== */
6
- --colour-theme-1: var(--green-01);
7
- --colour-theme-2: var(--green-02);
8
- --colour-theme-3: var(--green-03);
9
- --colour-theme-4: var(--green-04);
10
- --colour-theme-5: var(--green-05);
11
- --colour-theme-6: var(--green-06);
12
- --colour-theme-7: var(--green-07);
13
- --colour-theme-8: var(--green-08);
14
- --colour-theme-9: var(--green-09);
15
- --colour-theme-10: var(--green-10);
16
- --colour-theme-11: var(--green-10);
17
- --colour-theme-12: var(--green-10);
18
-
19
- /* ===========================================
20
- FORM INPUT VARIABLES
21
- Styling for form inputs and controls
22
- =========================================== */
23
- --theme-input-border: var(--green-06);
24
- --theme-input-border-focus: var(--green-04);
25
- --theme-input-border-hover: var(--green-04);
26
-
27
- /* Input outlines and focus */
28
- --theme-input-outline: var(--green-01);
29
- --theme-input-outline-focus: var(--green-04);
30
- --theme-input-visible-outline: var(--green-04);
31
- --theme-focus-visible-shadow: 0 0 0 2px var(--green-02);
32
-
33
- /* ===========================================
34
- FORM BUTTON VARIABLES
35
- Styling for form buttons and controls
36
- =========================================== */
37
-
38
- /* Variant Primary */
39
- --theme-button-primary-surface: var(--green-09);
40
- --theme-button-primary-surface-hover: var(--green-08);
41
- --theme-button-primary-surface-active: var(--green-07);
42
- --theme-button-primary-border: var(--green-09);
43
- --theme-button-primary-border-active: var(--green-09);
44
- --theme-button-primary-outline: var(--green-01);
45
- --theme-button-primary-outline-active: var(--green-07);
46
- --theme-button-primary-text: var(--green-00);
47
- --theme-button-primary-text-hover: var(--green-00);
48
-
49
- /* Variant Secondary */
50
- --theme-button-secondary-surface: transparent;
51
- --theme-button-secondary-surface-hover: var(--green-01);
52
- --theme-button-secondary-surface-active: var(--green-01);
53
- --theme-button-secondary-border: var(--green-09);
54
- --theme-button-secondary-border-active: var(--green-09);
55
- --theme-button-secondary-outline: var(--green-09);
56
- --theme-button-secondary-outline-active: var(--green-09);
57
- --theme-button-secondary-text: var(--green-09);
58
- --theme-button-secondary-text-hover: var(--green-09);
59
-
60
- /* Variant Tertiary */
61
- --theme-button-tertiary-surface: var(--slate-01);
62
- --theme-button-tertiary-text: var(--green-09);
63
- --theme-button-tertiary-border-active: var(--green-09);
64
- --theme-button-tertiary-outline-active: var(--green-09);
65
- }
@@ -1,2 +0,0 @@
1
- @import "./_light";
2
- @import "./_dark";
@@ -1,50 +0,0 @@
1
- :where(html.dark [data-theme="warning"]) {
2
- /* ===========================================
3
- COLOR SCALE VARIABLES
4
- Base color tokens for the warning theme
5
- =========================================== */
6
- --colour-theme-1: var(--orange-01);
7
- --colour-theme-2: var(--orange-02);
8
- --colour-theme-3: var(--orange-03);
9
- --colour-theme-4: var(--orange-04);
10
- --colour-theme-5: var(--orange-05);
11
- --colour-theme-6: var(--orange-06);
12
- --colour-theme-7: var(--orange-07);
13
- --colour-theme-8: var(--orange-08);
14
- --colour-theme-9: var(--orange-09);
15
- --colour-theme-10: var(--orange-10);
16
- --colour-theme-11: var(--orange-10);
17
- --colour-theme-12: var(--orange-10);
18
-
19
- /* ===========================================
20
- FORM INPUT VARIABLES
21
- Styling for form inputs and controls
22
- =========================================== */
23
- --theme-input-border: var(--orange-05);
24
- --theme-input-border-focus: var(--orange-04);
25
-
26
- /* Input outlines and focus */
27
- --theme-input-outline: var(--orange-05);
28
-
29
- /* ===========================================
30
- FORM BUTTON VARIABLES
31
- Styling for form buttons and controls
32
- =========================================== */
33
-
34
- /* Variant Primary */
35
- --theme-button-primary-border: var(--sunset-07);
36
- --theme-button-primary-border-active: var(--sunset-07);
37
- --theme-button-primary-text: white;
38
- --theme-button-primary-text-hover: var(--sunset-00);
39
-
40
- /* Variant Secondary */
41
- /* --theme-button-secondary-surface: var(--sunset-01); */
42
- /* --theme-button-secondary-border-active: var(--sunset-01); */
43
- --theme-button-secondary-text: var(--sunset-05);
44
-
45
- /* Variant Tertiary */
46
- --theme-button-tertiary-surface: transparent;
47
- --theme-button-tertiary-text: var(--sunset-05);
48
- --theme-button-tertiary-border-active: var(--sunset-05);
49
- --theme-button-tertiary-outline-active: var(--sunset-05);
50
- }
@@ -1,64 +0,0 @@
1
- :where([data-theme="warning"]) {
2
- /* ===========================================
3
- COLOR SCALE VARIABLES
4
- Base color tokens for the warning theme
5
- =========================================== */
6
- --colour-theme-1: var(--orange-01);
7
- --colour-theme-2: var(--orange-02);
8
- --colour-theme-3: var(--orange-03);
9
- --colour-theme-4: var(--orange-04);
10
- --colour-theme-5: var(--orange-05);
11
- --colour-theme-6: var(--orange-06);
12
- --colour-theme-7: var(--orange-07);
13
- --colour-theme-8: var(--orange-08);
14
- --colour-theme-9: var(--orange-09);
15
- --colour-theme-10: var(--orange-10);
16
- --colour-theme-11: var(--orange-10);
17
- --colour-theme-12: var(--orange-10);
18
-
19
- /* ===========================================
20
- FORM INPUT VARIABLES
21
- Styling for form inputs and controls
22
- =========================================== */
23
- --theme-input-border: var(--orange-06);
24
- --theme-input-border-focus: var(--orange-04);
25
- --theme-input-border-hover: var(--orange-04);
26
-
27
- /* Input outlines and focus */
28
- --theme-input-outline: var(--orange-01);
29
- --theme-input-outline-focus: var(--orange-04);
30
- --theme-input-visible-outline: var(--orange-04);
31
- --theme-focus-visible-shadow: 0 0 0 2px var(--orange-02);
32
-
33
- /* ===========================================
34
- FORM BUTTON VARIABLES
35
- Styling for form buttons and controls
36
- =========================================== */
37
-
38
- /* Variant Primary */
39
- --theme-button-primary-surface: var(--sunset-05);
40
- --theme-button-primary-surface-hover: var(--sunset-08);
41
- --theme-button-primary-surface-active: var(--sunset-07);
42
- --theme-button-primary-border: var(--sunset-05);
43
- --theme-button-primary-border-active: var(--sunset-05);
44
- --theme-button-primary-outline: var(--sunset-01);
45
- --theme-button-primary-text: white;
46
- --theme-button-primary-text-hover: var(--sunset-01);
47
- --theme-button-primary-outline-active: var(--sunset-05);
48
-
49
- /* Variant Secondary */
50
- --theme-button-secondary-surface: transparent;
51
- --theme-button-secondary-surface-hover: var(--sunset-02);
52
- --theme-button-secondary-surface-active: var(--sunset-03);
53
- --theme-button-secondary-border: var(--sunset-05);
54
- --theme-button-secondary-border-active: var(--sunset-05);
55
- --theme-button-secondary-outline: var(--sunset-05);
56
- --theme-button-secondary-text: var(--sunset-05);
57
- --theme-button-secondary-text-hover: var(--sunset-05);
58
- --theme-button-secondary-outline-active: var(--sunset-05);
59
-
60
- /* Variant Tertiary */
61
- --theme-button-tertiary-text: var(--sunset-05);
62
- --theme-button-tertiary-border-active: var(--sunset-07);
63
- --theme-button-tertiary-outline-active: var(--sunset-04);
64
- }
@@ -1,2 +0,0 @@
1
- @import "./_light";
2
- @import "./_dark";