srcdev-nuxt-components 4.0.6 → 5.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/README.md +171 -2
- package/assets/styles/extends-layer/srcdev-components/display-prompt-core/index.css +70 -0
- package/assets/styles/extends-layer/srcdev-components/index.css +2 -0
- package/assets/styles/extends-layer/srcdev-components/themes/_error.css +15 -0
- package/assets/styles/extends-layer/srcdev-components/themes/_info.css +15 -0
- package/assets/styles/extends-layer/srcdev-components/themes/_success.css +15 -0
- package/assets/styles/extends-layer/srcdev-components/themes/_warning.css +15 -0
- package/assets/styles/main.css +2 -5
- package/assets/styles/{forms/variables/_theme.css → setup/_head.css} +0 -6
- package/assets/styles/{a11y → setup/a11y}/_variables.css +2 -0
- package/assets/styles/setup/a11y/index.css +2 -0
- package/assets/styles/setup/index.css +5 -0
- package/assets/styles/setup/typography/index.css +2 -0
- package/assets/styles/setup/typography/utility-classes/_generic-font-classes.css +192 -0
- package/assets/styles/setup/typography/utility-classes/_generic-font-variation-settings.css +29 -0
- package/assets/styles/setup/typography/utility-classes/_generic-font-weights.css +41 -0
- package/assets/styles/setup/typography/utility-classes/index.css +3 -0
- package/assets/styles/setup/typography/vars/index.css +1 -0
- package/assets/styles/setup/utility-classes/_page.css +50 -0
- package/assets/styles/setup/utility-classes/index.css +3 -0
- package/assets/styles/setup/variables/index.css +1 -0
- package/components/accordian/AccordianCore.vue +46 -0
- package/components/{presentation/container-glow → container-glow}/ContainerGlowCore.vue +80 -80
- package/components/display-details/DisplayDetailsCore.vue +49 -60
- package/components/{functional/display-dialog → display-dialog}/DisplayDialogCore.vue +49 -38
- package/components/display-prompt/DisplayPromptCore.vue +187 -0
- package/components/expanding-panel/ExpandingPanel.vue +124 -0
- package/components/{presentation/layout-row → layout-row}/LayoutRow.vue +12 -4
- package/components/responsive-header/NavigationItems.vue +23 -18
- package/components/responsive-header/ResponsiveHeader.vue +376 -276
- package/components/skip-links/SkipLinks.vue +85 -0
- package/components/{presentation/tabs → tabs}/TabsCore.vue +27 -58
- package/composables/useDialogControls.ts +22 -1
- package/package.json +1 -1
- package/assets/styles/a11y/index.css +0 -2
- package/assets/styles/forms/index.css +0 -2
- package/assets/styles/forms/themes/_error.css +0 -77
- package/assets/styles/forms/themes/_ghost.css +0 -77
- package/assets/styles/forms/themes/_input-action.css +0 -20
- package/assets/styles/forms/themes/_primary.css +0 -82
- package/assets/styles/forms/themes/_secondary.css +0 -77
- package/assets/styles/forms/themes/_success.css +0 -77
- package/assets/styles/forms/themes/_tertiary.css +0 -77
- package/assets/styles/forms/themes/_warning.css +0 -77
- package/assets/styles/forms/themes/index.css +0 -8
- package/assets/styles/forms/variables/_sizes.css +0 -82
- package/assets/styles/forms/variables/index.css +0 -2
- package/assets/styles/typography/index.css +0 -2
- package/assets/styles/typography/utils/_font-classes.css +0 -160
- package/assets/styles/typography/utils/_weights.css +0 -69
- package/assets/styles/typography/utils/index.css +0 -2
- package/assets/styles/typography/variables/_colors.css +0 -14
- package/assets/styles/typography/variables/index.css +0 -2
- package/assets/styles/utils/_animations.css +0 -42
- package/assets/styles/utils/_canvasWidths.css +0 -18
- package/assets/styles/utils/_display.css +0 -7
- package/assets/styles/utils/_page.css +0 -27
- package/assets/styles/utils/_placement.css +0 -73
- package/assets/styles/utils/index.css +0 -7
- package/assets/styles/variables/components/_accordian.css +0 -7
- package/assets/styles/variables/components/_container-glow-core.css +0 -16
- package/assets/styles/variables/components/_display-dialog-core.css +0 -35
- package/assets/styles/variables/components/_tabs.css +0 -18
- package/assets/styles/variables/components/display-prompt-core/_scaffolding.css +0 -57
- package/assets/styles/variables/components/display-prompt-core/index.css +0 -2
- package/assets/styles/variables/components/display-prompt-core/themes/_error.css +0 -39
- package/assets/styles/variables/components/display-prompt-core/themes/_info.css +0 -39
- package/assets/styles/variables/components/display-prompt-core/themes/_success.css +0 -39
- package/assets/styles/variables/components/display-prompt-core/themes/_warning.css +0 -39
- package/assets/styles/variables/components/index.css +0 -5
- package/assets/styles/variables/index.css +0 -2
- package/components/functional/accordian/AccordianCore.vue +0 -138
- package/components/presentation/display-prompt/DisplayPromptCore.vue +0 -150
- /package/assets/styles/{variables/components/display-prompt-core → extends-layer/srcdev-components}/themes/index.css +0 -0
- /package/assets/styles/{a11y → setup/a11y}/_utils.css +0 -0
- /package/assets/styles/{typography/variables/_reponsive-font-size.css → setup/typography/vars/_reponsive-font-sizes.css} +0 -0
- /package/assets/styles/{utils → setup/utility-classes}/_margin-helpers.css +0 -0
- /package/assets/styles/{utils → setup/utility-classes}/_padding-helpers.css +0 -0
- /package/assets/styles/{variables → setup/variables}/colors/_blue.css +0 -0
- /package/assets/styles/{variables → setup/variables}/colors/_gray.css +0 -0
- /package/assets/styles/{variables → setup/variables}/colors/_green.css +0 -0
- /package/assets/styles/{variables → setup/variables}/colors/_orange.css +0 -0
- /package/assets/styles/{variables → setup/variables}/colors/_red.css +0 -0
- /package/assets/styles/{variables → setup/variables}/colors/_yellow.css +0 -0
- /package/assets/styles/{variables/colors/colors.css → setup/variables/colors/index.css} +0 -0
- /package/components/{functional/display-dialog → display-dialog}/variants/DisplayDialogConfirm.vue +0 -0
- /package/components/{functional/display-dialog → display-dialog}/variants/DisplayDialogScrollableContent.vue +0 -0
- /package/components/{presentation/display-grid → display-grid}/DisplayGridCore.vue +0 -0
- /package/components/{presentation/display-prompt → display-prompt}/variants/DisplayPromptError.vue +0 -0
- /package/components/{presentation/layout-grids → layout-grids}/LayoutGridA.vue +0 -0
- /package/components/{presentation/layout-grids → layout-grids}/LayoutGridB.vue +0 -0
- /package/components/{presentation/masonry-grid → masonry-grid}/MasonryGrid.vue +0 -0
- /package/components/{presentation/masonry-grid-sorted → masonry-grid-sorted}/MasonryGridSorted.vue +0 -0
- /package/components/{functional/pop-over → pop-over}/PopOver.vue +0 -0
|
@@ -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,82 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--form-element-padding-block-start: 0.4lh;
|
|
3
|
-
--form-element-padding-block-end: 0.4lh;
|
|
4
|
-
--form-element-border-width: 0.2rem;
|
|
5
|
-
--form-element-outline-width: 0.1rem;
|
|
6
|
-
|
|
7
|
-
[data-size='x-small'] {
|
|
8
|
-
--form-element-font-size: var(--step-0);
|
|
9
|
-
--form-placeholder-font-size: calc(var(--step-0) * 0.65);
|
|
10
|
-
--form-element-line-height: var(--step-0);
|
|
11
|
-
--form-icon-size: var(--step-0);
|
|
12
|
-
--form-button-padding-inline: calc(var(--step-0) * 1.65);
|
|
13
|
-
--form-text-padding-inline: calc(var(--step-0) * 0.25);
|
|
14
|
-
--form-button-icon-gap: calc(var(--step-0) * 0.65);
|
|
15
|
-
--form-input-border-radius: 0.4rem;
|
|
16
|
-
--form-icon-only-button-size: calc(var(--step-1) * 2);
|
|
17
|
-
--form-toggle-symbol-size: calc(var(--step-0) * 1.55);
|
|
18
|
-
--form-toggle-switch-width-adjustment: 0.5rem;
|
|
19
|
-
|
|
20
|
-
--form-input-checkbox-radio-button-size: var(--step-0);
|
|
21
|
-
}
|
|
22
|
-
[data-size='small'] {
|
|
23
|
-
--form-element-font-size: var(--step-1);
|
|
24
|
-
--form-placeholder-font-size: calc(var(--step-1) * 0.65);
|
|
25
|
-
--form-element-line-height: var(--step-1);
|
|
26
|
-
--form-icon-size: var(--step-1);
|
|
27
|
-
--form-button-padding-inline: calc(var(--step-0) * 1.65);
|
|
28
|
-
--form-text-padding-inline: calc(var(--step-0) * 0.25);
|
|
29
|
-
--form-button-icon-gap: calc(var(--step-0) * 0.65);
|
|
30
|
-
--form-input-border-radius: 0.4rem;
|
|
31
|
-
--form-icon-only-button-size: calc(var(--step-1) * 2.25);
|
|
32
|
-
--form-toggle-symbol-size: calc(var(--step-1) * 1.635);
|
|
33
|
-
--form-toggle-switch-width-adjustment: 0.3rem;
|
|
34
|
-
|
|
35
|
-
--form-input-checkbox-radio-button-size: var(--step-1);
|
|
36
|
-
}
|
|
37
|
-
[data-size='normal'] {
|
|
38
|
-
--form-element-font-size: var(--step-2);
|
|
39
|
-
--form-placeholder-font-size: calc(var(--step-2) * 0.65);
|
|
40
|
-
--form-element-line-height: var(--step-2);
|
|
41
|
-
--form-icon-size: var(--step-2);
|
|
42
|
-
--form-button-padding-inline: calc(var(--step-0) * 1.65);
|
|
43
|
-
--form-text-padding-inline: calc(var(--step-0) * 0.25);
|
|
44
|
-
--form-button-icon-gap: calc(var(--step-0) * 0.65);
|
|
45
|
-
--form-input-border-radius: 0.4rem;
|
|
46
|
-
--form-icon-only-button-size: calc(var(--step-1) * 2.5);
|
|
47
|
-
--form-toggle-symbol-size: calc(var(--step-2) * 1.72);
|
|
48
|
-
--form-toggle-switch-width-adjustment: 0.2rem;
|
|
49
|
-
|
|
50
|
-
--form-input-checkbox-radio-button-size: var(--step-2);
|
|
51
|
-
}
|
|
52
|
-
[data-size='medium'] {
|
|
53
|
-
--form-element-font-size: var(--step-3);
|
|
54
|
-
--form-placeholder-font-size: calc(var(--step-3) * 0.65);
|
|
55
|
-
--form-element-line-height: var(--step-3);
|
|
56
|
-
--form-icon-size: var(--step-3);
|
|
57
|
-
--form-button-padding-inline: calc(var(--step-0) * 1.65);
|
|
58
|
-
--form-text-padding-inline: calc(var(--step-0) * 0.25);
|
|
59
|
-
--form-button-icon-gap: calc(var(--step-0) * 0.65);
|
|
60
|
-
--form-input-border-radius: 0.4rem;
|
|
61
|
-
--form-icon-only-button-size: calc(var(--step-1) * 2.75);
|
|
62
|
-
--form-toggle-symbol-size: calc(var(--step-3) * 1.78);
|
|
63
|
-
--form-toggle-switch-width-adjustment: 0rem;
|
|
64
|
-
|
|
65
|
-
--form-input-checkbox-radio-button-size: var(--step-3);
|
|
66
|
-
}
|
|
67
|
-
[data-size='large'] {
|
|
68
|
-
--form-element-font-size: var(--step-4);
|
|
69
|
-
--form-placeholder-font-size: calc(var(--step-4) * 0.65);
|
|
70
|
-
--form-element-line-height: var(--step-4);
|
|
71
|
-
--form-icon-size: var(--step-4);
|
|
72
|
-
--form-button-padding-inline: calc(var(--step-0) * 1.75);
|
|
73
|
-
--form-text-padding-inline: calc(var(--step-0) * 0.25);
|
|
74
|
-
--form-button-icon-gap: calc(var(--step-0) * 0.75);
|
|
75
|
-
--form-input-border-radius: 0.4rem;
|
|
76
|
-
--form-icon-only-button-size: calc(var(--step-1) * 3);
|
|
77
|
-
--form-toggle-symbol-size: calc(var(--step-4) * 1.816);
|
|
78
|
-
--form-toggle-switch-width-adjustment: -0.2rem;
|
|
79
|
-
|
|
80
|
-
--form-input-checkbox-radio-button-size: var(--step-4);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
.heading-1 {
|
|
2
|
-
font-size: var(--step-5);
|
|
3
|
-
font-weight: bold;
|
|
4
|
-
line-height: 1.3;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.heading-2 {
|
|
8
|
-
font-size: var(--step-4);
|
|
9
|
-
font-weight: bold;
|
|
10
|
-
line-height: 1.3;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.heading-3 {
|
|
14
|
-
font-size: var(--step-3);
|
|
15
|
-
font-weight: bold;
|
|
16
|
-
line-height: 1.3;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.heading-4 {
|
|
20
|
-
font-size: var(--step-2);
|
|
21
|
-
font-weight: bold;
|
|
22
|
-
line-height: 1.3;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.heading-5 {
|
|
26
|
-
font-size: var(--step-1);
|
|
27
|
-
font-weight: bold;
|
|
28
|
-
line-height: 1.3;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.heading-6 {
|
|
32
|
-
font-size: var(--step-0);
|
|
33
|
-
font-weight: bold;
|
|
34
|
-
line-height: 1.3;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/* Body text */
|
|
38
|
-
|
|
39
|
-
.body-large {
|
|
40
|
-
font-size: var(--step-2);
|
|
41
|
-
font-weight: normal;
|
|
42
|
-
line-height: 1.5;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.body-normal {
|
|
46
|
-
font-size: var(--step-1);
|
|
47
|
-
font-weight: normal;
|
|
48
|
-
line-height: 1.5;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.body-small {
|
|
52
|
-
font-size: var(--step--0);
|
|
53
|
-
font-weight: normal;
|
|
54
|
-
line-height: 1.5;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.body-xsmall {
|
|
58
|
-
font-size: var(--step--1);
|
|
59
|
-
font-weight: normal;
|
|
60
|
-
line-height: 1.5;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.body-large-semibold {
|
|
64
|
-
font-size: var(--step-2);
|
|
65
|
-
font-weight: 500;
|
|
66
|
-
line-height: 1.5;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.body-normal-semibold {
|
|
70
|
-
font-size: var(--step-1);
|
|
71
|
-
font-weight: 500;
|
|
72
|
-
line-height: 1.5;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.body-small-semibold {
|
|
76
|
-
font-size: var(--step-0);
|
|
77
|
-
font-weight: 500;
|
|
78
|
-
line-height: 1.5;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.body-xsmall-semibold {
|
|
82
|
-
font-size: var(--step--1);
|
|
83
|
-
font-weight: 500;
|
|
84
|
-
line-height: 1.5;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.body-large-bold {
|
|
88
|
-
font-size: var(--step-2);
|
|
89
|
-
font-weight: bold;
|
|
90
|
-
line-height: 1.5;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.body-normal-bold {
|
|
94
|
-
font-size: var(--step-1);
|
|
95
|
-
font-weight: bold;
|
|
96
|
-
line-height: 1.5;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.body-small-bold {
|
|
100
|
-
font-size: var(--step-0);
|
|
101
|
-
font-weight: bold;
|
|
102
|
-
line-height: 1.5;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.body-xsmall-bold {
|
|
106
|
-
font-size: var(--step--1);
|
|
107
|
-
font-weight: bold;
|
|
108
|
-
line-height: 1.5;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/* Links */
|
|
112
|
-
|
|
113
|
-
.link-large {
|
|
114
|
-
color: var(--theme-link-default);
|
|
115
|
-
font-size: var(--step-2);
|
|
116
|
-
font-weight: 600;
|
|
117
|
-
line-height: 1.5;
|
|
118
|
-
text-decoration: underline;
|
|
119
|
-
|
|
120
|
-
&:visited {
|
|
121
|
-
color: var(--theme-link-default);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.link-normal {
|
|
126
|
-
color: var(--theme-link-default);
|
|
127
|
-
font-size: var(--step-1);
|
|
128
|
-
font-weight: 600;
|
|
129
|
-
line-height: 1.5;
|
|
130
|
-
text-decoration: underline;
|
|
131
|
-
|
|
132
|
-
&:visited,
|
|
133
|
-
&:active {
|
|
134
|
-
color: var(--theme-link-default);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.link-small {
|
|
139
|
-
color: var(--theme-link-default);
|
|
140
|
-
font-size: var(--step-0);
|
|
141
|
-
font-weight: 600;
|
|
142
|
-
line-height: 1.5;
|
|
143
|
-
text-decoration: underline;
|
|
144
|
-
|
|
145
|
-
&:visited {
|
|
146
|
-
color: var(--theme-link-default);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.link-xsmall {
|
|
151
|
-
color: var(--theme-link-default);
|
|
152
|
-
font-size: var(--step--1);
|
|
153
|
-
font-weight: 600;
|
|
154
|
-
line-height: 1.5;
|
|
155
|
-
text-decoration: underline;
|
|
156
|
-
|
|
157
|
-
&:visited {
|
|
158
|
-
color: var(--theme-link-default);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/* By numeric step */
|
|
2
|
-
.wght-100 {
|
|
3
|
-
font-weight: 100;
|
|
4
|
-
}
|
|
5
|
-
.wght-200 {
|
|
6
|
-
font-weight: 200;
|
|
7
|
-
}
|
|
8
|
-
.wght-300 {
|
|
9
|
-
font-weight: 300;
|
|
10
|
-
}
|
|
11
|
-
.wght-400 {
|
|
12
|
-
font-weight: 400;
|
|
13
|
-
}
|
|
14
|
-
.wght-500 {
|
|
15
|
-
font-weight: 500;
|
|
16
|
-
}
|
|
17
|
-
.wght-600 {
|
|
18
|
-
font-weight: 600;
|
|
19
|
-
}
|
|
20
|
-
.wght-700 {
|
|
21
|
-
font-weight: 700;
|
|
22
|
-
}
|
|
23
|
-
.wght-800 {
|
|
24
|
-
font-weight: 800;
|
|
25
|
-
}
|
|
26
|
-
.wght-900 {
|
|
27
|
-
font-weight: 900;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/* By named weight */
|
|
31
|
-
.light {
|
|
32
|
-
font-weight: light;
|
|
33
|
-
}
|
|
34
|
-
.normal {
|
|
35
|
-
font-weight: normal;
|
|
36
|
-
}
|
|
37
|
-
.bold {
|
|
38
|
-
font-weight: bold;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/* Using the font-variation-settings property. */
|
|
42
|
-
|
|
43
|
-
.fvs-wght-100 {
|
|
44
|
-
font-variation-settings: 'wght' 100;
|
|
45
|
-
}
|
|
46
|
-
.fvs-wght-200 {
|
|
47
|
-
font-variation-settings: 'wght' 200;
|
|
48
|
-
}
|
|
49
|
-
.fvs-wght-300 {
|
|
50
|
-
font-variation-settings: 'wght' 300;
|
|
51
|
-
}
|
|
52
|
-
.fvs-wght-400 {
|
|
53
|
-
font-variation-settings: 'wght' 400;
|
|
54
|
-
}
|
|
55
|
-
.fvs-wght-500 {
|
|
56
|
-
font-variation-settings: 'wght' 500;
|
|
57
|
-
}
|
|
58
|
-
.fvs-wght-600 {
|
|
59
|
-
font-variation-settings: 'wght' 600;
|
|
60
|
-
}
|
|
61
|
-
.fvs-wght-700 {
|
|
62
|
-
font-variation-settings: 'wght' 700;
|
|
63
|
-
}
|
|
64
|
-
.fvs-wght-800 {
|
|
65
|
-
font-variation-settings: 'wght' 800;
|
|
66
|
-
}
|
|
67
|
-
.fvs-wght-900 {
|
|
68
|
-
font-variation-settings: 'wght' 900;
|
|
69
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--theme-link-default: light-dark(var(--blue-12), var(--blue-4));
|
|
3
|
-
|
|
4
|
-
--page-bg: light-dark(var(--gray-0), var(--gray-9));
|
|
5
|
-
|
|
6
|
-
--surface-subtle: light-dark(var(--gray-1), var(--gray-8));
|
|
7
|
-
|
|
8
|
-
--grayscale-text-title: light-dark(var(--gray-12), var(--gray-2));
|
|
9
|
-
--grayscale-text-body: light-dark(var(--gray-12), var(--gray-3));
|
|
10
|
-
--grayscale-text-subtitle: light-dark(var(--gray-12), var(--gray-2));
|
|
11
|
-
--grayscale-text-caption: light-dark(var(--gray-12), var(--gray-2));
|
|
12
|
-
--grayscale-text-negative: light-dark(var(--gray-12), var(--gray-2));
|
|
13
|
-
--grayscale-text-disabled: light-dark(var(--gray-12), var(--gray-2));
|
|
14
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
.auto-rotate {
|
|
2
|
-
animation: autoRotateAnimation;
|
|
3
|
-
animation-timeline: view();
|
|
4
|
-
}
|
|
5
|
-
@keyframes autoRotateAnimation {
|
|
6
|
-
from {
|
|
7
|
-
transform: rotate(0deg);
|
|
8
|
-
}
|
|
9
|
-
to {
|
|
10
|
-
transform: rotate(360deg);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
.auto-show {
|
|
14
|
-
animation: autoShowAnimation both;
|
|
15
|
-
animation-timeline: view(70% 5%);
|
|
16
|
-
}
|
|
17
|
-
@keyframes autoShowAnimation {
|
|
18
|
-
from {
|
|
19
|
-
opacity: 0;
|
|
20
|
-
transform: translateY(200px) scale(0.3);
|
|
21
|
-
}
|
|
22
|
-
to {
|
|
23
|
-
opacity: 1;
|
|
24
|
-
transform: translateY(0) scale(1);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
.auto-bLur {
|
|
28
|
-
animation: autoBlurAnimation linear both;
|
|
29
|
-
animation-timeline: view();
|
|
30
|
-
}
|
|
31
|
-
@keyframes autoBlurAnimation {
|
|
32
|
-
0% {
|
|
33
|
-
filter: blur(40px);
|
|
34
|
-
}
|
|
35
|
-
45%,
|
|
36
|
-
55% {
|
|
37
|
-
filter: blur(0px);
|
|
38
|
-
}
|
|
39
|
-
100% {
|
|
40
|
-
filter: blur(40px);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Used for testing the responsiveness of components
|
|
3
|
-
* by setting the max-width of the canvas to the desired width
|
|
4
|
-
* See: useCanvasSwitcher()
|
|
5
|
-
**/
|
|
6
|
-
|
|
7
|
-
.mobileCanvas {
|
|
8
|
-
max-width: 412px;
|
|
9
|
-
}
|
|
10
|
-
.tabletCanvas {
|
|
11
|
-
max-width: 768px;
|
|
12
|
-
}
|
|
13
|
-
.laptopCanvas {
|
|
14
|
-
max-width: 1024px;
|
|
15
|
-
}
|
|
16
|
-
.desktopCanvas {
|
|
17
|
-
max-width: 1280px;
|
|
18
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
color-scheme: light dark;
|
|
3
|
-
interpolate-size: allow-keywords; /* can also be set within html {} */
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
html {
|
|
7
|
-
/* background-color: var(--body-background-color); */
|
|
8
|
-
background-color: var(--page-bg);
|
|
9
|
-
|
|
10
|
-
font-size: 62.5%;
|
|
11
|
-
scrollbar-gutter: stable;
|
|
12
|
-
overflow-x: hidden;
|
|
13
|
-
}
|
|
14
|
-
body {
|
|
15
|
-
color: var(--grayscale-text-body);
|
|
16
|
-
font-family: var(--font-family);
|
|
17
|
-
font-size: var(--step-1);
|
|
18
|
-
min-height: 100vh;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
body {
|
|
22
|
-
overflow-x: hidden;
|
|
23
|
-
|
|
24
|
-
&.lock {
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
}
|
|
27
|
-
}
|