srcdev-nuxt-components 2.5.18 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/nuxt.config.ts +3 -1
  2. package/package.json +1 -1
  3. package/assets/styles/a11y/_utils.css +0 -20
  4. package/assets/styles/a11y/_variables.css +0 -8
  5. package/assets/styles/a11y/index.css +0 -2
  6. package/assets/styles/forms/index.css +0 -2
  7. package/assets/styles/forms/themes/_error.css +0 -77
  8. package/assets/styles/forms/themes/_ghost.css +0 -77
  9. package/assets/styles/forms/themes/_input-action.css +0 -20
  10. package/assets/styles/forms/themes/_primary.css +0 -82
  11. package/assets/styles/forms/themes/_secondary.css +0 -77
  12. package/assets/styles/forms/themes/_success.css +0 -77
  13. package/assets/styles/forms/themes/_tertiary.css +0 -77
  14. package/assets/styles/forms/themes/_warning.css +0 -77
  15. package/assets/styles/forms/themes/index.css +0 -8
  16. package/assets/styles/forms/variables/_sizes.css +0 -82
  17. package/assets/styles/forms/variables/_theme.css +0 -11
  18. package/assets/styles/forms/variables/index.css +0 -2
  19. package/assets/styles/main.css +0 -5
  20. package/assets/styles/typography/index.css +0 -2
  21. package/assets/styles/typography/utils/_font-classes.css +0 -160
  22. package/assets/styles/typography/utils/_weights.css +0 -69
  23. package/assets/styles/typography/utils/index.css +0 -2
  24. package/assets/styles/typography/variables/_colors.css +0 -14
  25. package/assets/styles/typography/variables/_reponsive-font-size.css +0 -10
  26. package/assets/styles/typography/variables/index.css +0 -2
  27. package/assets/styles/utils/_animations.css +0 -42
  28. package/assets/styles/utils/_canvasWidths.css +0 -18
  29. package/assets/styles/utils/_display.css +0 -7
  30. package/assets/styles/utils/_margin-helpers.css +0 -334
  31. package/assets/styles/utils/_padding-helpers.css +0 -308
  32. package/assets/styles/utils/_page.css +0 -24
  33. package/assets/styles/utils/_placement.css +0 -73
  34. package/assets/styles/utils/index.css +0 -7
  35. package/assets/styles/variables/colors/_blue.css +0 -15
  36. package/assets/styles/variables/colors/_gray.css +0 -16
  37. package/assets/styles/variables/colors/_green.css +0 -15
  38. package/assets/styles/variables/colors/_orange.css +0 -15
  39. package/assets/styles/variables/colors/_red.css +0 -15
  40. package/assets/styles/variables/colors/_yellow.css +0 -15
  41. package/assets/styles/variables/colors/colors.css +0 -6
  42. package/assets/styles/variables/components/_accordian.css +0 -7
  43. package/assets/styles/variables/components/_container-glow-core.css +0 -16
  44. package/assets/styles/variables/components/_display-dialog-core.css +0 -35
  45. package/assets/styles/variables/components/_tabs.css +0 -18
  46. package/assets/styles/variables/components/display-prompt-core/_scaffolding.css +0 -57
  47. package/assets/styles/variables/components/display-prompt-core/index.css +0 -2
  48. package/assets/styles/variables/components/display-prompt-core/themes/_error.css +0 -39
  49. package/assets/styles/variables/components/display-prompt-core/themes/_info.css +0 -39
  50. package/assets/styles/variables/components/display-prompt-core/themes/_success.css +0 -39
  51. package/assets/styles/variables/components/display-prompt-core/themes/_warning.css +0 -39
  52. package/assets/styles/variables/components/display-prompt-core/themes/index.css +0 -4
  53. package/assets/styles/variables/components/index.css +0 -5
  54. package/assets/styles/variables/index.css +0 -2
  55. package/components/animated-svg-text/AnimatedSvgText.vue +0 -87
  56. package/components/canvas-switcher/CanvasSwitcher.vue +0 -77
  57. package/components/clip-element/ClipElement.vue +0 -73
  58. package/components/clipped-panels/ClippedPanel.vue +0 -73
  59. package/components/deep-expanding-menu/DeepExpandingMenu.vue +0 -214
  60. package/components/deep-expanding-menu/DeepExpandingMenuOld.vue +0 -218
  61. package/components/display-banner/DisplayBanner.vue +0 -63
  62. package/components/display-details/DisplayDetailsCore.vue +0 -312
  63. package/components/functional/accordian/AccordianCore.vue +0 -138
  64. package/components/functional/display-dialog/DisplayDialogCore.vue +0 -244
  65. package/components/functional/display-dialog/variants/DisplayDialogConfirm.vue +0 -45
  66. package/components/functional/display-dialog/variants/DisplayDialogScrollableContent.vue +0 -49
  67. package/components/functional/pop-over/PopOver.vue +0 -88
  68. package/components/image-galleries/SliderGallery.vue +0 -778
  69. package/components/masonry-grid-ordered/MasonryGridOrdered.vue +0 -158
  70. package/components/presentation/container-glow/ContainerGlowCore.vue +0 -211
  71. package/components/presentation/display-grid/DisplayGridCore.vue +0 -22
  72. package/components/presentation/display-prompt/DisplayPromptCore.vue +0 -150
  73. package/components/presentation/display-prompt/variants/DisplayPromptError.vue +0 -53
  74. package/components/presentation/layout-grids/LayoutGridA.vue +0 -103
  75. package/components/presentation/layout-grids/LayoutGridB.vue +0 -132
  76. package/components/presentation/layout-row/LayoutRow.vue +0 -157
  77. package/components/presentation/masonry-grid/MasonryGrid.vue +0 -62
  78. package/components/presentation/masonry-grid-sorted/MasonryGridSorted.vue +0 -115
  79. package/components/presentation/tabs/TabsCore.vue +0 -308
  80. package/components/responsive-header/NavigationItems.vue +0 -164
  81. package/components/responsive-header/ResponsiveHeader.vue +0 -586
  82. package/components/rotating-carousel/RotatingCarouselImage.vue +0 -200
  83. package/composables/useDialogControls.ts +0 -23
  84. package/composables/useStyleClassPassthrough.ts +0 -35
  85. package/composables/useTabs.ts +0 -201
  86. package/types/gallery-data.ts +0 -13
  87. package/types/responsiveHeader.ts +0 -38
package/nuxt.config.ts CHANGED
@@ -1,5 +1,8 @@
1
1
  // https://nuxt.com/docs/api/configuration/nuxt-config
2
2
  export default defineNuxtConfig({
3
+ future: {
4
+ compatibilityVersion: 4,
5
+ },
3
6
  devtools: { enabled: true },
4
7
  css: ['modern-normalize', './assets/styles/main.css'],
5
8
  modules: ['@nuxt/icon', '@nuxt/image', '@nuxt/eslint'],
@@ -36,6 +39,5 @@ export default defineNuxtConfig({
36
39
  },
37
40
  eslint: {
38
41
  // Add any custom options here
39
-
40
42
  },
41
43
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "srcdev-nuxt-components",
3
3
  "type": "module",
4
- "version": "2.5.18",
4
+ "version": "3.0.0",
5
5
  "main": "nuxt.config.ts",
6
6
  "scripts": {
7
7
  "clean": "rm -rf .nuxt && rm -rf .output && rm -rf .playground/.nuxt && rm -rf .playground/.output",
@@ -1,20 +0,0 @@
1
- .sr-only {
2
- border-width: 0;
3
- clip: rect(1px, 0.1rem, 0.1rem, 0.1rem);
4
- clip-path: inset(50%);
5
- height: 0.1rem;
6
- overflow: hidden;
7
- position: absolute;
8
- white-space: nowrap;
9
- width: 0.1rem;
10
- }
11
- /* .sr-only {
12
- position: absolute;
13
- width: 0.1rem;
14
- height: 0.1rem;
15
- padding: 0;
16
- margin: -0.1rem;
17
- overflow: hidden;
18
- clip: rect(0, 0, 0, 0);
19
- white-space: nowrap;
20
- } */
@@ -1,8 +0,0 @@
1
- :root {
2
- --focus-box-shadow-colour-off: transparent;
3
- --focus-box-shadow-colour-on: light-dark(var(--blue-12), var(--gray-0));
4
- --form-focus-box-shadow: 0 0 0 0.3rem;
5
-
6
- --box-shadow-off: 0 0 0 0.3rem transparent;
7
- --box-shadow-on: 0 0 0 0.3rem light-dark(var(--blue-12), var(--gray-0));
8
- }
@@ -1,2 +0,0 @@
1
- @import './_variables';
2
- @import './_utils';
@@ -1,2 +0,0 @@
1
- @import './variables/index.css';
2
- @import './themes/index.css';
@@ -1,77 +0,0 @@
1
- :root {
2
- [data-form-theme='error'] {
3
- --theme-form-input-bg: light-dark(var(--gray-1), var(--gray-4));
4
- --theme-form-input-border: var(--red-8);
5
- --theme-form-input-border-active: var(--red-2);
6
- --theme-form-input-border-focus: var(--red-2);
7
- --theme-form-input-outline: white;
8
- --theme-form-input-outline-active: var(--red-6);
9
- --theme-form-input-outline-focus: var(--red-6);
10
- --theme-form-input-text: light-dark(var(--gray-10), var(--gray-11));
11
-
12
- --theme-form-focus-box-shadow: light-dark(var(--red-12), var(--red-2));
13
-
14
- --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
15
- --theme-form-checkbox-border: light-dark(var(--red-12), var(--red-12));
16
- --theme-form-checkbox-outline: light-dark(var(--red-1), var(--red-1));
17
- --theme-form-checkbox-shadow: transparent;
18
- --theme-form-checkbox-shadow-focus: var(--red-6);
19
- --theme-form-checkbox-symbol: var(--red-12);
20
-
21
- --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
22
- --theme-form-radio-border: light-dark(var(--red-12), var(--red-12));
23
- --theme-form-radio-outline: light-dark(var(--red-1), var(--red-1));
24
- --theme-form-radio-shadow: transparent;
25
- --theme-form-radio-shadow-focus: var(--red-6);
26
- --theme-form-radio-symbol: var(--red-12);
27
-
28
- --theme-form-range-accent-color: light-dark(var(--red-12), var(--red-3));
29
-
30
- /*
31
- * ToggleSwitch
32
- **/
33
- --theme-form-toggle-bg-off: light-dark(var(--gray-1), var(--gray-4));
34
- --theme-form-toggle-bg-on: light-dark(var(--gray-1), var(--gray-6));
35
-
36
- --theme-form-toggle-border: var(--form-element-border-width) solid light-dark(var(--red-12), var(--red-1));
37
-
38
- --theme-form-toggle-outline: var(--form-element-outline-width) solid light-dark(var(--red-12), var(--red-12));
39
- --theme-form-toggle-symbol-off: var(--orange-12);
40
- --theme-form-toggle-symbol-on: var(--gray-12);
41
- --theme-form-toggle-icon-stroke-colour-off: var(--gray-1);
42
- --theme-form-toggle-icon-stroke-colour-on: var(--gray-1);
43
-
44
- /*
45
- * Checkbox as button
46
- **/
47
-
48
- --theme-checkbox-radio-button-bg-default: light-dark(var(--red-1), var(--red-1));
49
-
50
- --theme-checkbox-radio-button-border-default: light-dark(var(--red-12), var(--red-12));
51
- --theme-checkbox-radio-button-border-width: 0.1rem;
52
-
53
- --theme-checkbox-radio-button-outline-default: light-dark(var(--red-5), var(--red-5));
54
- --theme-checkbox-radio-button-outline-width: 0.1rem;
55
-
56
- --theme-checkbox-radio-button-label-default: light-dark(var(--red-12), var(--red-12));
57
- }
58
-
59
- [data-btn-theme='error'] {
60
- --theme-btn-bg: var(--red-12);
61
- --theme-btn-border: var(--red-0);
62
- --theme-btn-outline: var(--red-12);
63
- --theme-btn-text: var(--red-0);
64
-
65
- --theme-btn-bg-hover: var(--red-0);
66
- --theme-btn-border-hover: var(--red-12);
67
- --theme-btn-outline-hover: var(--red-0);
68
- --theme-btn-text-hover: var(--red-12);
69
-
70
- --theme-btn-bg-focus: var(--red-0);
71
- --theme-btn-border-focus: var(--red-12);
72
- --theme-btn-outline-focus: var(--red-0);
73
- --theme-btn-text-focus: var(--red-12);
74
-
75
- --theme-form-focus-box-shadow: light-dark(var(--red-12), var(--red-2));
76
- }
77
- }
@@ -1,77 +0,0 @@
1
- :root {
2
- [data-form-theme='ghost'] {
3
- --theme-form-input-bg: light-dark(var(--gray-1), var(--gray-4));
4
- --theme-form-input-border: var(--gray-8);
5
- --theme-form-input-border-active: var(--gray-2);
6
- --theme-form-input-border-focus: var(--gray-2);
7
- --theme-form-input-outline: white;
8
- --theme-form-input-outline-active: var(--gray-6);
9
- --theme-form-input-outline-focus: var(--gray-6);
10
- --theme-form-input-text: light-dark(var(--gray-10), var(--gray-11));
11
-
12
- --theme-form-focus-box-shadow: light-dark(var(--gray-12), var(--gray-2));
13
-
14
- --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
15
- --theme-form-checkbox-border: light-dark(var(--gray-12), var(--gray-12));
16
- --theme-form-checkbox-outline: light-dark(var(--gray-1), var(--gray-1));
17
- --theme-form-checkbox-shadow: transparent;
18
- --theme-form-checkbox-shadow-focus: var(--gray-6);
19
- --theme-form-checkbox-symbol: var(--gray-12);
20
-
21
- --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
22
- --theme-form-radio-border: light-dark(var(--gray-12), var(--gray-12));
23
- --theme-form-radio-outline: light-dark(var(--gray-1), var(--gray-1));
24
- --theme-form-radio-shadow: transparent;
25
- --theme-form-radio-shadow-focus: var(--gray-6);
26
- --theme-form-radio-symbol: var(--gray-12);
27
-
28
- --theme-form-range-accent-color: light-dark(var(--gray-12), var(--gray-3));
29
-
30
- /*
31
- * ToggleSwitch
32
- **/
33
- --theme-form-toggle-bg-off: light-dark(var(--gray-1), var(--gray-4));
34
- --theme-form-toggle-bg-on: light-dark(var(--gray-1), var(--gray-6));
35
- --form-element-border-width: 0.1rem;
36
- --theme-form-toggle-border: var(--form-element-border-width) solid light-dark(var(--gray-12), var(--gray-1));
37
- --form-element-border-width: 0.1rem;
38
- --theme-form-toggle-outline: var(--form-element-outline-width) solid light-dark(var(--gray-12), var(--gray-12));
39
- --theme-form-toggle-symbol-off: var(--gray-4);
40
- --theme-form-toggle-symbol-on: var(--gray-12);
41
- --theme-form-toggle-icon-stroke-colour-off: var(--gray-1);
42
- --theme-form-toggle-icon-stroke-colour-on: var(--gray-1);
43
-
44
- /*
45
- * Checkbox as button
46
- **/
47
-
48
- --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
49
-
50
- --theme-checkbox-radio-button-border-default: light-dark(var(--gray-12), var(--gray-12));
51
- --theme-checkbox-radio-button-border-width: 0.1rem;
52
-
53
- --theme-checkbox-radio-button-outline-default: light-dark(var(--gray-5), var(--gray-5));
54
- --theme-checkbox-radio-button-outline-width: 0.1rem;
55
-
56
- --theme-checkbox-radio-button-label-default: light-dark(var(--gray-12), var(--gray-12));
57
- }
58
-
59
- [data-btn-theme='ghost'] {
60
- --theme-btn-bg: transparent;
61
- --theme-btn-border: var(--gray-0);
62
- --theme-btn-outline: var(--gray-12);
63
- --theme-btn-text: light-dark(var(--gray-12), var(--gray-0));
64
-
65
- --theme-btn-bg-hover: light-dark(var(--gray-2), var(--gray-8));
66
- --theme-btn-border-hover: light-dark(var(--gray-12), var(--gray-0));
67
- --theme-btn-outline-hover: light-dark(var(--gray-12), var(--gray-0));
68
- --theme-btn-text-hover: light-dark(var(--gray-12), var(--gray-0));
69
-
70
- --theme-btn-bg-focus: light-dark(var(--gray-2), var(--gray-8));
71
- --theme-btn-border-focus: light-dark(var(--gray-12), var(--gray-0));
72
- --theme-btn-outline-focus: light-dark(var(--gray-12), var(--gray-0));
73
- --theme-btn-text-focus: light-dark(var(--gray-12), var(--gray-0));
74
-
75
- --theme-form-focus-box-shadow: light-dark(var(--gray-12), var(--gray-2));
76
- }
77
- }
@@ -1,20 +0,0 @@
1
- :root {
2
- [data-btn-theme='input-action'] {
3
- --theme-btn-bg: transparent;
4
- --theme-btn-border: transparent;
5
- --theme-btn-outline: transparent;
6
- --theme-btn-text: var(--theme-form-input-text);
7
-
8
- --theme-btn-bg-hover: light-dark(var(--gray-2), var(--gray-3));
9
- --theme-btn-border-hover: transparent;
10
- --theme-btn-outline-hover: transparent;
11
- --theme-btn-text-hover: var(--theme-form-input-text);
12
-
13
- --theme-btn-bg-focus: transparent;
14
- --theme-btn-border-focus: transparent;
15
- --theme-btn-outline-focus: transparent;
16
- --theme-btn-text-focus: transparent;
17
-
18
- --theme-form-focus-box-shadow: light-dark(var(--gray-12), var(--gray-2));
19
- }
20
- }
@@ -1,82 +0,0 @@
1
- :root {
2
- [data-form-theme='primary'] {
3
- --theme-form-input-bg: light-dark(var(--gray-1), var(--gray-4));
4
- --theme-form-input-border: var(--blue-8);
5
- --theme-form-input-border-active: var(--blue-2);
6
- --theme-form-input-border-focus: var(--blue-2);
7
- --theme-form-input-outline: white;
8
- --theme-form-input-outline-active: var(--blue-6);
9
- --theme-form-input-outline-focus: var(--blue-6);
10
- --theme-form-input-text: light-dark(var(--gray-10), var(--gray-11));
11
-
12
- /* --theme-form-focus-box-shadow: light-dark(var(--blue-12), var(--blue-2)); */
13
- --theme-form-focus-box-shadow: light-dark(red, yellowgreen);
14
-
15
- --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
16
- --theme-form-checkbox-border: light-dark(var(--blue-12), var(--blue-12));
17
- --theme-form-checkbox-outline: light-dark(var(--blue-1), var(--blue-1));
18
- --theme-form-checkbox-shadow: transparent;
19
- --theme-form-checkbox-shadow-focus: var(--blue-6);
20
- --theme-form-checkbox-symbol: var(--blue-12);
21
-
22
- --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
23
- --theme-form-radio-border: light-dark(var(--blue-12), var(--blue-12));
24
- --theme-form-radio-outline: light-dark(var(--blue-1), var(--blue-1));
25
- --theme-form-radio-shadow: transparent;
26
- --theme-form-radio-shadow-focus: var(--blue-6);
27
- --theme-form-radio-symbol: var(--blue-12);
28
-
29
- --theme-form-range-accent-color: light-dark(var(--blue-12), var(--blue-));
30
-
31
- /*
32
- * ToggleSwitch
33
- **/
34
- --theme-form-toggle-bg-off: light-dark(var(--gray-1), var(--gray-4));
35
- --theme-form-toggle-bg-on: light-dark(var(--gray-1), var(--gray-6));
36
-
37
- --theme-form-toggle-border: var(--form-element-border-width) solid light-dark(var(--blue-12), var(--blue-1));
38
-
39
- --theme-form-toggle-outline: var(--form-element-outline-width) solid light-dark(var(--blue-1), var(--blue-1));
40
- --theme-form-toggle-symbol-off: var(--blue-7);
41
- --theme-form-toggle-symbol-on: var(--gray-12);
42
- --theme-form-toggle-icon-stroke-colour-off: var(--gray-1);
43
- --theme-form-toggle-icon-stroke-colour-on: var(--gray-1);
44
-
45
- /*
46
- * Checkbox as button
47
- **/
48
-
49
- --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
50
-
51
- --theme-checkbox-radio-button-border-default: light-dark(var(--blue-12), var(--blue-12));
52
- --theme-checkbox-radio-button-border-width: 0.1rem;
53
-
54
- --theme-checkbox-radio-button-outline-default: light-dark(var(--blue-5), var(--blue-5));
55
- --theme-checkbox-radio-button-outline-focus: light-dark(var(--blue-12), var(--blue-12));
56
- --theme-checkbox-radio-button-outline-width: 0.1rem;
57
-
58
- --theme-checkbox-radio-button-shadow: transparent;
59
- --theme-checkbox-radio-button-shadow-focus: light-dark(var(--blue-6), var(--blue-1));
60
-
61
- --theme-checkbox-radio-button-label-default: light-dark(var(--blue-12), var(--blue-12));
62
- }
63
-
64
- [data-btn-theme='primary'] {
65
- --theme-btn-bg: var(--blue-12);
66
- --theme-btn-border: var(--blue-0);
67
- --theme-btn-outline: var(--blue-12);
68
- --theme-btn-text: var(--blue-0);
69
-
70
- --theme-btn-bg-hover: var(--blue-0);
71
- --theme-btn-border-hover: var(--blue-12);
72
- --theme-btn-outline-hover: var(--blue-0);
73
- --theme-btn-text-hover: var(--blue-12);
74
-
75
- --theme-btn-bg-focus: var(--blue-0);
76
- --theme-btn-border-focus: var(--blue-12);
77
- --theme-btn-outline-focus: var(--blue-0);
78
- --theme-btn-text-focus: var(--blue-12);
79
-
80
- --theme-form-focus-box-shadow: light-dark(var(--blue-12), var(--blue-2));
81
- }
82
- }
@@ -1,77 +0,0 @@
1
- :root {
2
- [data-form-theme='secondary'] {
3
- --theme-form-input-bg: light-dark(var(--gray-1), var(--gray-4));
4
- --theme-form-input-border: var(--gray-8);
5
- --theme-form-input-border-active: var(--gray-2);
6
- --theme-form-input-border-focus: var(--gray-2);
7
- --theme-form-input-outline: white;
8
- --theme-form-input-outline-active: var(--gray-6);
9
- --theme-form-input-outline-focus: var(--gray-6);
10
- --theme-form-input-text: light-dark(var(--gray-10), var(--gray-11));
11
-
12
- --theme-form-focus-box-shadow: light-dark(var(--gray-12), var(--gray-2));
13
-
14
- --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
15
- --theme-form-checkbox-border: light-dark(var(--gray-12), var(--gray-12));
16
- --theme-form-checkbox-outline: light-dark(var(--gray-1), var(--gray-1));
17
- --theme-form-checkbox-shadow: transparent;
18
- --theme-form-checkbox-shadow-focus: var(--gray-6);
19
- --theme-form-checkbox-symbol: var(--gray-12);
20
-
21
- --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
22
- --theme-form-radio-border: light-dark(var(--gray-12), var(--gray-12));
23
- --theme-form-radio-outline: light-dark(var(--gray-1), var(--gray-1));
24
- --theme-form-radio-shadow: transparent;
25
- --theme-form-radio-shadow-focus: var(--gray-6);
26
- --theme-form-radio-symbol: var(--gray-12);
27
-
28
- --theme-form-range-accent-color: light-dark(var(--gray-12), var(--gray-3));
29
-
30
- /*
31
- * ToggleSwitch
32
- **/
33
- --theme-form-toggle-bg-off: light-dark(var(--gray-1), var(--gray-4));
34
- --theme-form-toggle-bg-on: light-dark(var(--gray-1), var(--gray-6));
35
-
36
- --theme-form-toggle-border: var(--form-element-border-width) solid light-dark(var(--gray-12), var(--gray-1));
37
-
38
- --theme-form-toggle-outline: var(--form-element-outline-width) solid light-dark(var(--gray-12), var(--gray-12));
39
- --theme-form-toggle-symbol-off: var(--gray-4);
40
- --theme-form-toggle-symbol-on: var(--gray-12);
41
- --theme-form-toggle-icon-stroke-colour-off: var(--gray-1);
42
- --theme-form-toggle-icon-stroke-colour-on: var(--gray-1);
43
-
44
- /*
45
- * Checkbox as button
46
- **/
47
-
48
- --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
49
-
50
- --theme-checkbox-radio-button-border-default: light-dark(var(--gray-12), var(--gray-12));
51
- --theme-checkbox-radio-button-border-width: 0.1rem;
52
-
53
- --theme-checkbox-radio-button-outline-default: light-dark(var(--gray-5), var(--gray-5));
54
- --theme-checkbox-radio-button-outline-width: 0.1rem;
55
-
56
- --theme-checkbox-radio-button-label-default: light-dark(var(--gray-12), var(--gray-12));
57
- }
58
-
59
- [data-btn-theme='secondary'] {
60
- --theme-btn-bg: var(--gray-12);
61
- --theme-btn-border: var(--gray-0);
62
- --theme-btn-outline: var(--gray-12);
63
- --theme-btn-text: var(--gray-0);
64
-
65
- --theme-btn-bg-hover: var(--gray-0);
66
- --theme-btn-border-hover: var(--gray-12);
67
- --theme-btn-outline-hover: var(--gray-0);
68
- --theme-btn-text-hover: var(--gray-12);
69
-
70
- --theme-btn-bg-focus: var(--gray-0);
71
- --theme-btn-border-focus: var(--gray-12);
72
- --theme-btn-outline-focus: var(--gray-0);
73
- --theme-btn-text-focus: var(--gray-12);
74
-
75
- --theme-form-focus-box-shadow: light-dark(var(--gray-12), var(--gray-2));
76
- }
77
- }
@@ -1,77 +0,0 @@
1
- :root {
2
- [data-form-theme='success'] {
3
- --theme-form-input-bg: light-dark(var(--gray-1), var(--gray-4));
4
- --theme-form-input-border: var(--green-8);
5
- --theme-form-input-border-active: var(--green-2);
6
- --theme-form-input-border-focus: var(--green-2);
7
- --theme-form-input-outline: white;
8
- --theme-form-input-outline-active: var(--green-6);
9
- --theme-form-input-outline-focus: var(--green-6);
10
- --theme-form-input-text: light-dark(var(--gray-10), var(--gray-11));
11
-
12
- --theme-form-focus-box-shadow: light-dark(var(--green-12), var(--green-2));
13
-
14
- --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
15
- --theme-form-checkbox-border: light-dark(var(--green-12), var(--green-12));
16
- --theme-form-checkbox-outline: light-dark(var(--green-1), var(--green-1));
17
- --theme-form-checkbox-shadow: transparent;
18
- --theme-form-checkbox-shadow-focus: var(--green-6);
19
- --theme-form-checkbox-symbol: var(--green-12);
20
-
21
- --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
22
- --theme-form-radio-border: light-dark(var(--green-12), var(--green-12));
23
- --theme-form-radio-outline: light-dark(var(--green-1), var(--green-1));
24
- --theme-form-radio-shadow: transparent;
25
- --theme-form-radio-shadow-focus: var(--green-6);
26
- --theme-form-radio-symbol: var(--green-12);
27
-
28
- --theme-form-range-accent-color: light-dark(var(--green-12), var(--green-3));
29
-
30
- /*
31
- * ToggleSwitch
32
- **/
33
- --theme-form-toggle-bg-off: light-dark(var(--gray-1), var(--gray-4));
34
- --theme-form-toggle-bg-on: light-dark(var(--gray-1), var(--gray-6));
35
-
36
- --theme-form-toggle-border: var(--form-element-border-width) solid light-dark(var(--green-12), var(--green-1));
37
-
38
- --theme-form-toggle-outline: var(--form-element-outline-width) solid light-dark(var(--green-12), var(--green-12));
39
- --theme-form-toggle-symbol-off: var(--green-4);
40
- --theme-form-toggle-symbol-on: var(--green-12);
41
- --theme-form-toggle-icon-stroke-colour-off: var(--gray-1);
42
- --theme-form-toggle-icon-stroke-colour-on: var(--gray-1);
43
-
44
- /*
45
- * Checkbox as button
46
- **/
47
-
48
- --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
49
-
50
- --theme-checkbox-radio-button-border-default: light-dark(var(--green-12), var(--green-12));
51
- --theme-checkbox-radio-button-border-width: 0.1rem;
52
-
53
- --theme-checkbox-radio-button-outline-default: light-dark(var(--green-5), var(--green-5));
54
- --theme-checkbox-radio-button-outline-width: 0.1rem;
55
-
56
- --theme-checkbox-radio-button-label-default: light-dark(var(--green-12), var(--green-12));
57
- }
58
-
59
- [data-btn-theme='success'] {
60
- --theme-btn-bg: var(--green-12);
61
- --theme-btn-border: var(--green-0);
62
- --theme-btn-outline: var(--green-12);
63
- --theme-btn-text: var(--green-0);
64
-
65
- --theme-btn-bg-hover: var(--green-0);
66
- --theme-btn-border-hover: var(--green-12);
67
- --theme-btn-outline-hover: var(--green-0);
68
- --theme-btn-text-hover: var(--green-12);
69
-
70
- --theme-btn-bg-focus: var(--green-0);
71
- --theme-btn-border-focus: var(--green-12);
72
- --theme-btn-outline-focus: var(--green-0);
73
- --theme-btn-text-focus: var(--green-12);
74
-
75
- --theme-form-focus-box-shadow: light-dark(var(--green-12), var(--green-2));
76
- }
77
- }
@@ -1,77 +0,0 @@
1
- :root {
2
- [data-form-theme='tertiary'] {
3
- --theme-form-input-bg: light-dark(var(--gray-1), var(--gray-4));
4
- --theme-form-input-border: var(--gray-8);
5
- --theme-form-input-border-active: var(--gray-2);
6
- --theme-form-input-border-focus: var(--gray-2);
7
- --theme-form-input-outline: white;
8
- --theme-form-input-outline-active: var(--gray-6);
9
- --theme-form-input-outline-focus: var(--gray-6);
10
- --theme-form-input-text: light-dark(var(--gray-10), var(--gray-11));
11
-
12
- --theme-form-focus-box-shadow: light-dark(var(--gray-12), var(--gray-2));
13
-
14
- --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
15
- --theme-form-checkbox-border: light-dark(var(--gray-12), var(--gray-12));
16
- --theme-form-checkbox-outline: light-dark(var(--gray-1), var(--gray-1));
17
- --theme-form-checkbox-shadow: transparent;
18
- --theme-form-checkbox-shadow-focus: var(--gray-6);
19
- --theme-form-checkbox-symbol: var(--gray-12);
20
-
21
- --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
22
- --theme-form-radio-border: light-dark(var(--gray-12), var(--gray-12));
23
- --theme-form-radio-outline: light-dark(var(--gray-1), var(--gray-1));
24
- --theme-form-radio-shadow: transparent;
25
- --theme-form-radio-shadow-focus: var(--gray-6);
26
- --theme-form-radio-symbol: var(--gray-12);
27
-
28
- --theme-form-range-accent-color: light-dark(var(--gray-12), var(--gray-3));
29
-
30
- /*
31
- * ToggleSwitch
32
- **/
33
- --theme-form-toggle-bg-off: light-dark(var(--gray-1), var(--gray-4));
34
- --theme-form-toggle-bg-on: light-dark(var(--gray-1), var(--gray-6));
35
-
36
- --theme-form-toggle-border: var(--form-element-border-width) solid light-dark(var(--gray-12), var(--gray-1));
37
-
38
- --theme-form-toggle-outline: var(--form-element-outline-width) solid light-dark(var(--gray-12), var(--gray-12));
39
- --theme-form-toggle-symbol-off: var(--gray-4);
40
- --theme-form-toggle-symbol-on: var(--gray-12);
41
- --theme-form-toggle-icon-stroke-colour-off: var(--gray-1);
42
- --theme-form-toggle-icon-stroke-colour-on: var(--gray-1);
43
-
44
- /*
45
- * Checkbox as button
46
- **/
47
-
48
- --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
49
-
50
- --theme-checkbox-radio-button-border-default: light-dark(var(--green-12), var(--green-12));
51
- --theme-checkbox-radio-button-border-width: 0.1rem;
52
-
53
- --theme-checkbox-radio-button-outline-default: light-dark(var(--green-5), var(--green-5));
54
- --theme-checkbox-radio-button-outline-width: 0.1rem;
55
-
56
- --theme-checkbox-radio-button-label-default: light-dark(var(--green-12), var(--green-12));
57
- }
58
-
59
- [data-btn-theme='tertiary'] {
60
- --theme-btn-bg: var(--gray-0);
61
- --theme-btn-border: var(--gray-0);
62
- --theme-btn-outline: var(--gray-12);
63
- --theme-btn-text: var(--gray-12);
64
-
65
- --theme-btn-bg-hover: var(--gray-12);
66
- --theme-btn-border-hover: var(--gray-0);
67
- --theme-btn-outline-hover: var(--gray-12);
68
- --theme-btn-text-hover: var(--gray-0);
69
-
70
- --theme-btn-bg-focus: var(--gray-12);
71
- --theme-btn-border-focus: var(--gray-0);
72
- --theme-btn-outline-focus: var(--gray-12);
73
- --theme-btn-text-focus: var(--gray-0);
74
-
75
- --theme-form-focus-box-shadow: 0.1rem 0.1rem 0.8rem 0.1rem var(--gray-12);
76
- }
77
- }
@@ -1,77 +0,0 @@
1
- :root {
2
- [data-form-theme='warning'] {
3
- --theme-form-input-bg: light-dark(var(--gray-1), var(--gray-4));
4
- --theme-form-input-border: var(--orange-8);
5
- --theme-form-input-border-active: var(--orange-2);
6
- --theme-form-input-border-focus: var(--orange-2);
7
- --theme-form-input-outline: white;
8
- --theme-form-input-outline-active: var(--orange-6);
9
- --theme-form-input-outline-focus: var(--orange-6);
10
- --theme-form-input-text: light-dark(var(--gray-10), var(--gray-11));
11
-
12
- --theme-form-focus-box-shadow: light-dark(var(--orange-12), var(--orange-2));
13
-
14
- --theme-form-checkbox-bg: light-dark(var(--gray-1), var(--gray-4));
15
- --theme-form-checkbox-border: light-dark(var(--orange-12), var(--orange-12));
16
- --theme-form-checkbox-outline: light-dark(var(--orange-1), var(--orange-1));
17
- --theme-form-checkbox-shadow: transparent;
18
- --theme-form-checkbox-shadow-focus: var(--orange-6);
19
- --theme-form-checkbox-symbol: var(--orange-12);
20
-
21
- --theme-form-radio-bg: light-dark(var(--gray-1), var(--gray-4));
22
- --theme-form-radio-border: light-dark(var(--orange-12), var(--orange-12));
23
- --theme-form-radio-outline: light-dark(var(--orange-1), var(--orange-1));
24
- --theme-form-radio-shadow: transparent;
25
- --theme-form-radio-shadow-focus: var(--orange-6);
26
- --theme-form-radio-symbol: var(--orange-12);
27
-
28
- --theme-form-range-accent-color: light-dark(var(--orange-12), var(--orange-3));
29
-
30
- /*
31
- * ToggleSwitch
32
- **/
33
- --theme-form-toggle-bg-off: light-dark(var(--gray-1), var(--gray-4));
34
- --theme-form-toggle-bg-on: light-dark(var(--gray-1), var(--gray-6));
35
-
36
- --theme-form-toggle-border: var(--form-element-border-width) solid light-dark(var(--orange-12), var(--orange-1));
37
-
38
- --theme-form-toggle-outline: var(--form-element-outline-width) solid light-dark(var(--orange-12), var(--orange-12));
39
- --theme-form-toggle-symbol-off: var(--orange-12);
40
- --theme-form-toggle-symbol-on: var(--gray-12);
41
- --theme-form-toggle-icon-stroke-colour-off: var(--gray-1);
42
- --theme-form-toggle-icon-stroke-colour-on: var(--gray-1);
43
-
44
- /*
45
- * Checkbox as button
46
- **/
47
-
48
- --theme-checkbox-radio-button-bg-default: light-dark(var(--gray-1), var(--gray-4));
49
-
50
- --theme-checkbox-radio-button-border-default: light-dark(var(--orange-12), var(--orange-12));
51
- --theme-checkbox-radio-button-border-width: 0.1rem;
52
-
53
- --theme-checkbox-radio-button-outline-default: light-dark(var(--orange-5), var(--orange-5));
54
- --theme-checkbox-radio-button-outline-width: 0.1rem;
55
-
56
- --theme-checkbox-radio-button-label-default: light-dark(var(--orange-12), var(--orange-12));
57
- }
58
-
59
- [data-btn-theme='warning'] {
60
- --theme-btn-bg: var(--orange-12);
61
- --theme-btn-border: var(--orange-0);
62
- --theme-btn-outline: var(--orange-12);
63
- --theme-btn-text: var(--orange-0);
64
-
65
- --theme-btn-bg-hover: var(--orange-0);
66
- --theme-btn-border-hover: var(--orange-12);
67
- --theme-btn-outline-hover: var(--orange-0);
68
- --theme-btn-text-hover: var(--orange-12);
69
-
70
- --theme-btn-bg-focus: var(--orange-0);
71
- --theme-btn-border-focus: var(--orange-12);
72
- --theme-btn-outline-focus: var(--orange-0);
73
- --theme-btn-text-focus: var(--orange-12);
74
-
75
- --theme-form-focus-box-shadow: light-dark(var(--orange-12), var(--orange-2));
76
- }
77
- }
@@ -1,8 +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';