srcdev-nuxt-components 4.0.6 → 5.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 (93) hide show
  1. package/README.md +171 -2
  2. package/assets/styles/extends-layer/srcdev-components/display-prompt-core/index.css +70 -0
  3. package/assets/styles/extends-layer/srcdev-components/index.css +2 -0
  4. package/assets/styles/extends-layer/srcdev-components/themes/_error.css +15 -0
  5. package/assets/styles/extends-layer/srcdev-components/themes/_info.css +15 -0
  6. package/assets/styles/extends-layer/srcdev-components/themes/_success.css +15 -0
  7. package/assets/styles/extends-layer/srcdev-components/themes/_warning.css +15 -0
  8. package/assets/styles/main.css +2 -5
  9. package/assets/styles/{forms/variables/_theme.css → setup/_head.css} +0 -6
  10. package/assets/styles/{a11y → setup/a11y}/_variables.css +2 -0
  11. package/assets/styles/setup/a11y/index.css +2 -0
  12. package/assets/styles/setup/index.css +5 -0
  13. package/assets/styles/setup/typography/index.css +2 -0
  14. package/assets/styles/setup/typography/utility-classes/_generic-font-classes.css +192 -0
  15. package/assets/styles/setup/typography/utility-classes/_generic-font-variation-settings.css +29 -0
  16. package/assets/styles/setup/typography/utility-classes/_generic-font-weights.css +41 -0
  17. package/assets/styles/setup/typography/utility-classes/index.css +3 -0
  18. package/assets/styles/setup/typography/vars/index.css +1 -0
  19. package/assets/styles/setup/utility-classes/_page.css +49 -0
  20. package/assets/styles/setup/utility-classes/index.css +3 -0
  21. package/assets/styles/setup/variables/index.css +1 -0
  22. package/components/accordian/AccordianCore.vue +46 -0
  23. package/components/{presentation/container-glow → container-glow}/ContainerGlowCore.vue +80 -80
  24. package/components/display-details/DisplayDetailsCore.vue +49 -60
  25. package/components/{functional/display-dialog → display-dialog}/DisplayDialogCore.vue +49 -38
  26. package/components/display-prompt/DisplayPromptCore.vue +187 -0
  27. package/components/expanding-panel/ExpandingPanel.vue +124 -0
  28. package/components/responsive-header/NavigationItems.vue +23 -18
  29. package/components/responsive-header/ResponsiveHeader.vue +345 -278
  30. package/components/{presentation/tabs → tabs}/TabsCore.vue +27 -58
  31. package/composables/useDialogControls.ts +22 -1
  32. package/package.json +1 -1
  33. package/assets/styles/a11y/index.css +0 -2
  34. package/assets/styles/forms/index.css +0 -2
  35. package/assets/styles/forms/themes/_error.css +0 -77
  36. package/assets/styles/forms/themes/_ghost.css +0 -77
  37. package/assets/styles/forms/themes/_input-action.css +0 -20
  38. package/assets/styles/forms/themes/_primary.css +0 -82
  39. package/assets/styles/forms/themes/_secondary.css +0 -77
  40. package/assets/styles/forms/themes/_success.css +0 -77
  41. package/assets/styles/forms/themes/_tertiary.css +0 -77
  42. package/assets/styles/forms/themes/_warning.css +0 -77
  43. package/assets/styles/forms/themes/index.css +0 -8
  44. package/assets/styles/forms/variables/_sizes.css +0 -82
  45. package/assets/styles/forms/variables/index.css +0 -2
  46. package/assets/styles/typography/index.css +0 -2
  47. package/assets/styles/typography/utils/_font-classes.css +0 -160
  48. package/assets/styles/typography/utils/_weights.css +0 -69
  49. package/assets/styles/typography/utils/index.css +0 -2
  50. package/assets/styles/typography/variables/_colors.css +0 -14
  51. package/assets/styles/typography/variables/index.css +0 -2
  52. package/assets/styles/utils/_animations.css +0 -42
  53. package/assets/styles/utils/_canvasWidths.css +0 -18
  54. package/assets/styles/utils/_display.css +0 -7
  55. package/assets/styles/utils/_page.css +0 -27
  56. package/assets/styles/utils/_placement.css +0 -73
  57. package/assets/styles/utils/index.css +0 -7
  58. package/assets/styles/variables/components/_accordian.css +0 -7
  59. package/assets/styles/variables/components/_container-glow-core.css +0 -16
  60. package/assets/styles/variables/components/_display-dialog-core.css +0 -35
  61. package/assets/styles/variables/components/_tabs.css +0 -18
  62. package/assets/styles/variables/components/display-prompt-core/_scaffolding.css +0 -57
  63. package/assets/styles/variables/components/display-prompt-core/index.css +0 -2
  64. package/assets/styles/variables/components/display-prompt-core/themes/_error.css +0 -39
  65. package/assets/styles/variables/components/display-prompt-core/themes/_info.css +0 -39
  66. package/assets/styles/variables/components/display-prompt-core/themes/_success.css +0 -39
  67. package/assets/styles/variables/components/display-prompt-core/themes/_warning.css +0 -39
  68. package/assets/styles/variables/components/index.css +0 -5
  69. package/assets/styles/variables/index.css +0 -2
  70. package/components/functional/accordian/AccordianCore.vue +0 -138
  71. package/components/presentation/display-prompt/DisplayPromptCore.vue +0 -150
  72. /package/assets/styles/{variables/components/display-prompt-core → extends-layer/srcdev-components}/themes/index.css +0 -0
  73. /package/assets/styles/{a11y → setup/a11y}/_utils.css +0 -0
  74. /package/assets/styles/{typography/variables/_reponsive-font-size.css → setup/typography/vars/_reponsive-font-sizes.css} +0 -0
  75. /package/assets/styles/{utils → setup/utility-classes}/_margin-helpers.css +0 -0
  76. /package/assets/styles/{utils → setup/utility-classes}/_padding-helpers.css +0 -0
  77. /package/assets/styles/{variables → setup/variables}/colors/_blue.css +0 -0
  78. /package/assets/styles/{variables → setup/variables}/colors/_gray.css +0 -0
  79. /package/assets/styles/{variables → setup/variables}/colors/_green.css +0 -0
  80. /package/assets/styles/{variables → setup/variables}/colors/_orange.css +0 -0
  81. /package/assets/styles/{variables → setup/variables}/colors/_red.css +0 -0
  82. /package/assets/styles/{variables → setup/variables}/colors/_yellow.css +0 -0
  83. /package/assets/styles/{variables/colors/colors.css → setup/variables/colors/index.css} +0 -0
  84. /package/components/{functional/display-dialog → display-dialog}/variants/DisplayDialogConfirm.vue +0 -0
  85. /package/components/{functional/display-dialog → display-dialog}/variants/DisplayDialogScrollableContent.vue +0 -0
  86. /package/components/{presentation/display-grid → display-grid}/DisplayGridCore.vue +0 -0
  87. /package/components/{presentation/display-prompt → display-prompt}/variants/DisplayPromptError.vue +0 -0
  88. /package/components/{presentation/layout-grids → layout-grids}/LayoutGridA.vue +0 -0
  89. /package/components/{presentation/layout-grids → layout-grids}/LayoutGridB.vue +0 -0
  90. /package/components/{presentation/layout-row → layout-row}/LayoutRow.vue +0 -0
  91. /package/components/{presentation/masonry-grid → masonry-grid}/MasonryGrid.vue +0 -0
  92. /package/components/{presentation/masonry-grid-sorted → masonry-grid-sorted}/MasonryGridSorted.vue +0 -0
  93. /package/components/{functional/pop-over → pop-over}/PopOver.vue +0 -0
@@ -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';
@@ -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,2 +0,0 @@
1
- @import './_theme.css';
2
- @import './_sizes.css';
@@ -1,2 +0,0 @@
1
- @import './utils';
2
- @import './variables';
@@ -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,2 +0,0 @@
1
- @import './_font-classes.css';
2
- @import './_weights.css';
@@ -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,2 +0,0 @@
1
- @import './_colors.css';
2
- @import './_reponsive-font-size.css';
@@ -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,7 +0,0 @@
1
- .display-flex {
2
- display: flex;
3
- }
4
-
5
- .display-grid {
6
- display: grid;
7
- }
@@ -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
- }
@@ -1,73 +0,0 @@
1
- /*
2
- * <div placement="top-left"></siv>
3
- * <div placement="bottom-right"></siv>
4
- **/
5
-
6
- [placement^='top'] {
7
- align-self: start;
8
- }
9
-
10
- [placement^='bottom'] {
11
- align-self: end;
12
- }
13
-
14
- [placement^='center'] {
15
- align-self: center;
16
- }
17
-
18
- [placement$='left'] {
19
- justify-self: start;
20
- }
21
-
22
- [placement$='right'] {
23
- justify-self: start;
24
- }
25
-
26
- [placement$='center'] {
27
- align-self: center;
28
- }
29
-
30
- /*
31
- * <div align-content="top-left"></siv>
32
- * <div align-content="bottom-right"></siv>
33
- **/
34
-
35
- [align-content^='center'] {
36
- align-items: center;
37
- }
38
-
39
- [align-content^='top'] {
40
- align-items: start;
41
- }
42
-
43
- [align-content^='bottom'] {
44
- align-items: end;
45
- }
46
-
47
- [align-content$='center'] {
48
- justify-content: center;
49
- }
50
-
51
- [align-content$='left'] {
52
- justify-content: start;
53
- }
54
-
55
- [align-content$='right'] {
56
- justify-content: end;
57
- }
58
-
59
- [align-content$='space-around'] {
60
- justify-content: space-around;
61
- }
62
-
63
- [align-content$='space-between'] {
64
- justify-content: space-between;
65
- }
66
-
67
- [gap='12px'] {
68
- gap: 12px;
69
- }
70
-
71
- [flex-wrap='wrap'] {
72
- flex-wrap: wrap;
73
- }
@@ -1,7 +0,0 @@
1
- @import './_page';
2
- @import './_margin-helpers';
3
- @import './_padding-helpers';
4
- @import './_canvasWidths';
5
- @import './_display';
6
- @import './_placement';
7
- @import './_animations';
@@ -1,7 +0,0 @@
1
- :root {
2
- --accordian-panel-border: 0.1rem solid light-dark(var(--gray-3), var(--gray-6));
3
- --accordian-panel-border-radius: 0.4rem;
4
- --accordian-panel-mbe: 1.6rem;
5
-
6
- --accordion-trigger-bg: light-dark(var(--gray-3), var(--gray-6));
7
- }