srcdev-nuxt-components 3.0.0 → 4.0.1
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.
- package/assets/styles/a11y/_utils.css +20 -0
- package/assets/styles/a11y/_variables.css +8 -0
- package/assets/styles/a11y/index.css +2 -0
- package/assets/styles/forms/index.css +2 -0
- package/assets/styles/forms/themes/_error.css +77 -0
- package/assets/styles/forms/themes/_ghost.css +77 -0
- package/assets/styles/forms/themes/_input-action.css +20 -0
- package/assets/styles/forms/themes/_primary.css +82 -0
- package/assets/styles/forms/themes/_secondary.css +77 -0
- package/assets/styles/forms/themes/_success.css +77 -0
- package/assets/styles/forms/themes/_tertiary.css +77 -0
- package/assets/styles/forms/themes/_warning.css +77 -0
- package/assets/styles/forms/themes/index.css +8 -0
- package/assets/styles/forms/variables/_sizes.css +82 -0
- package/assets/styles/forms/variables/_theme.css +11 -0
- package/assets/styles/forms/variables/index.css +2 -0
- package/assets/styles/main.css +5 -0
- package/assets/styles/typography/index.css +2 -0
- package/assets/styles/typography/utils/_font-classes.css +160 -0
- package/assets/styles/typography/utils/_weights.css +69 -0
- package/assets/styles/typography/utils/index.css +2 -0
- package/assets/styles/typography/variables/_colors.css +14 -0
- package/assets/styles/typography/variables/_reponsive-font-size.css +10 -0
- package/assets/styles/typography/variables/index.css +2 -0
- package/assets/styles/utils/_animations.css +42 -0
- package/assets/styles/utils/_canvasWidths.css +18 -0
- package/assets/styles/utils/_display.css +7 -0
- package/assets/styles/utils/_margin-helpers.css +334 -0
- package/assets/styles/utils/_padding-helpers.css +308 -0
- package/assets/styles/utils/_page.css +24 -0
- package/assets/styles/utils/_placement.css +73 -0
- package/assets/styles/utils/index.css +7 -0
- package/assets/styles/variables/colors/_blue.css +15 -0
- package/assets/styles/variables/colors/_gray.css +16 -0
- package/assets/styles/variables/colors/_green.css +15 -0
- package/assets/styles/variables/colors/_orange.css +15 -0
- package/assets/styles/variables/colors/_red.css +15 -0
- package/assets/styles/variables/colors/_yellow.css +15 -0
- package/assets/styles/variables/colors/colors.css +6 -0
- package/assets/styles/variables/components/_accordian.css +7 -0
- package/assets/styles/variables/components/_container-glow-core.css +16 -0
- package/assets/styles/variables/components/_display-dialog-core.css +35 -0
- package/assets/styles/variables/components/_tabs.css +18 -0
- package/assets/styles/variables/components/display-prompt-core/_scaffolding.css +57 -0
- package/assets/styles/variables/components/display-prompt-core/index.css +2 -0
- package/assets/styles/variables/components/display-prompt-core/themes/_error.css +39 -0
- package/assets/styles/variables/components/display-prompt-core/themes/_info.css +39 -0
- package/assets/styles/variables/components/display-prompt-core/themes/_success.css +39 -0
- package/assets/styles/variables/components/display-prompt-core/themes/_warning.css +39 -0
- package/assets/styles/variables/components/display-prompt-core/themes/index.css +4 -0
- package/assets/styles/variables/components/index.css +5 -0
- package/assets/styles/variables/index.css +2 -0
- package/components/animated-svg-text/AnimatedSvgText.vue +87 -0
- package/components/canvas-switcher/CanvasSwitcher.vue +77 -0
- package/components/carousel-basic/CarouselBasic.vue +241 -0
- package/components/carousel-basic/CarouselFlip.vue +378 -0
- package/components/clip-element/ClipElement.vue +73 -0
- package/components/clipped-panels/ClippedPanel.vue +73 -0
- package/components/deep-expanding-menu/DeepExpandingMenu.vue +214 -0
- package/components/deep-expanding-menu/DeepExpandingMenuOld.vue +218 -0
- package/components/display-banner/DisplayBanner.vue +63 -0
- package/components/display-details/DisplayDetailsCore.vue +312 -0
- package/components/functional/accordian/AccordianCore.vue +138 -0
- package/components/functional/display-dialog/DisplayDialogCore.vue +244 -0
- package/components/functional/display-dialog/variants/DisplayDialogConfirm.vue +45 -0
- package/components/functional/display-dialog/variants/DisplayDialogScrollableContent.vue +49 -0
- package/components/functional/pop-over/PopOver.vue +88 -0
- package/components/image-galleries/SliderGallery.vue +784 -0
- package/components/masonry-grid-ordered/MasonryGridOrdered.vue +158 -0
- package/components/presentation/container-glow/ContainerGlowCore.vue +211 -0
- package/components/presentation/display-grid/DisplayGridCore.vue +22 -0
- package/components/presentation/display-prompt/DisplayPromptCore.vue +150 -0
- package/components/presentation/display-prompt/variants/DisplayPromptError.vue +53 -0
- package/components/presentation/layout-grids/LayoutGridA.vue +103 -0
- package/components/presentation/layout-grids/LayoutGridB.vue +132 -0
- package/components/presentation/layout-row/LayoutRow.vue +157 -0
- package/components/presentation/masonry-grid/MasonryGrid.vue +62 -0
- package/components/presentation/masonry-grid-sorted/MasonryGridSorted.vue +115 -0
- package/components/presentation/tabs/TabsCore.vue +308 -0
- package/components/responsive-header/NavigationItems.vue +164 -0
- package/components/responsive-header/ResponsiveHeader.vue +586 -0
- package/components/rotating-carousel/RotatingCarouselImage.vue +200 -0
- package/composables/useDialogControls.ts +23 -0
- package/composables/useStyleClassPassthrough.ts +35 -0
- package/composables/useTabs.ts +201 -0
- package/nuxt.config.ts +0 -3
- package/package.json +7 -7
- package/types/gallery-data.ts +13 -0
- package/types/responsiveHeader.ts +38 -0
- package/types/types.carousel-basic.ts +19 -0
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
} */
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
}
|