procode-vs-theme 1.0.3 → 1.0.5

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 (96) hide show
  1. package/dist/index.esm.js +48 -11
  2. package/dist/index.esm.js.map +1 -1
  3. package/dist/index.js +48 -11
  4. package/dist/index.js.map +1 -1
  5. package/dist/src/{_border.scss → base/_border.scss} +11 -8
  6. package/dist/src/base/_color.scss +41 -0
  7. package/dist/src/base/_custom-properties.scss +102 -0
  8. package/dist/src/base/_font.scss +37 -0
  9. package/dist/src/base/_size.scss +7 -0
  10. package/dist/src/base/_space.scss +27 -0
  11. package/dist/src/base/mixins/_breakpoints.scss +27 -0
  12. package/dist/src/baseExports.ts +35 -0
  13. package/dist/src/components/_buttons.scss +393 -0
  14. package/dist/src/components.ts +20 -0
  15. package/dist/src/index.scss +71 -24
  16. package/dist/src/index.ts +52 -0
  17. package/dist/src/layout.ts +23 -0
  18. package/dist/src/utilities/_cursor.scss +7 -0
  19. package/dist/src/utilities/_display.scss +20 -0
  20. package/dist/src/utilities/_flex.scss +82 -0
  21. package/dist/src/utilities/_opacity.scss +7 -0
  22. package/dist/src/utilities/_overflow.scss +7 -0
  23. package/dist/src/utilities/_position.scss +26 -0
  24. package/dist/src/utilities/_sizing.scss +13 -0
  25. package/dist/src/utilities/_text.scss +49 -0
  26. package/dist/src/utilities/_visibility.scss +2 -0
  27. package/dist/src/utilities/background-color/index.scss +37 -0
  28. package/dist/src/{_border-radius.scss → utilities/border/_border-radius.scss} +29 -17
  29. package/dist/src/utilities/box-shadow/index.scss +17 -0
  30. package/dist/src/utilities/size/index.scss +9 -0
  31. package/dist/src/utilities/spaces/_gap.scss +15 -0
  32. package/dist/src/utilities/spaces/_margin.scss +46 -0
  33. package/dist/src/utilities/spaces/_padding.scss +37 -0
  34. package/dist/src/utilities/typography/_color.scss +51 -0
  35. package/dist/src/utilities.ts +112 -0
  36. package/dist/src/variables.ts +36 -0
  37. package/dist/types/baseExports.d.ts +0 -2
  38. package/dist/types/utilities.d.ts +18 -0
  39. package/dist/types/variables.d.ts +0 -2
  40. package/dist/utilities.esm.js +39 -3
  41. package/dist/utilities.esm.js.map +1 -1
  42. package/dist/utilities.js +47 -2
  43. package/dist/utilities.js.map +1 -1
  44. package/dist/variables.esm.js +1 -4
  45. package/dist/variables.esm.js.map +1 -1
  46. package/dist/variables.js +0 -4
  47. package/dist/variables.js.map +1 -1
  48. package/package.json +2 -2
  49. package/src/base/_border.scss +11 -8
  50. package/src/base/_color.scss +3 -1
  51. package/src/base/_custom-properties.scss +102 -0
  52. package/src/base/_font.scss +37 -26
  53. package/src/base/_size.scss +7 -4
  54. package/src/base/_space.scss +27 -4
  55. package/src/base/mixins/_breakpoints.scss +27 -0
  56. package/src/baseExports.ts +0 -4
  57. package/src/components/_buttons.scss +393 -38
  58. package/src/index.scss +71 -24
  59. package/src/utilities/_cursor.scss +7 -0
  60. package/src/utilities/_display.scss +20 -0
  61. package/src/utilities/_flex.scss +82 -0
  62. package/src/utilities/_opacity.scss +7 -0
  63. package/src/utilities/_overflow.scss +7 -0
  64. package/src/utilities/_position.scss +26 -0
  65. package/src/utilities/_sizing.scss +13 -0
  66. package/src/utilities/_text.scss +49 -0
  67. package/src/utilities/_visibility.scss +2 -0
  68. package/src/utilities/border/_border-radius.scss +29 -17
  69. package/src/utilities/box-shadow/index.scss +17 -8
  70. package/src/utilities/spaces/_gap.scss +15 -20
  71. package/src/utilities/spaces/_margin.scss +46 -69
  72. package/src/utilities/spaces/_padding.scss +37 -69
  73. package/src/utilities/typography/_color.scss +51 -35
  74. package/src/utilities.ts +112 -67
  75. package/src/variables.ts +1 -5
  76. package/dist/src/_apply-theme.scss +0 -28
  77. package/dist/src/_buttons.scss +0 -38
  78. package/dist/src/_color.scss +0 -35
  79. package/dist/src/_gap.scss +0 -20
  80. package/dist/src/_margin.scss +0 -69
  81. package/dist/src/_padding.scss +0 -69
  82. package/dist/src/_size.scss +0 -4
  83. package/dist/src/_space.scss +0 -4
  84. package/src/base/mixins/_apply-theme.scss +0 -28
  85. /package/dist/src/{_font_size-mx.scss → base/mixins/_font_size-mx.scss} +0 -0
  86. /package/dist/src/{_media-query-mx.scss → base/mixins/_media-query-mx.scss} +0 -0
  87. /package/dist/src/{_cards.scss → components/_cards.scss} +0 -0
  88. /package/dist/src/{_input.scss → components/_input.scss} +0 -0
  89. /package/dist/src/{_drawer.scss → layout/_drawer.scss} +0 -0
  90. /package/dist/src/{_footer.scss → layout/_footer.scss} +0 -0
  91. /package/dist/src/{_header.scss → layout/_header.scss} +0 -0
  92. /package/dist/src/{_sidebar.scss → layout/_sidebar.scss} +0 -0
  93. /package/dist/src/{_reset.scss → utilities/_reset.scss} +0 -0
  94. /package/dist/src/{_border-color.scss → utilities/border/_border-color.scss} +0 -0
  95. /package/dist/src/{_border-size.scss → utilities/border/_border-size.scss} +0 -0
  96. /package/dist/src/{_font.scss → utilities/typography/_font.scss} +0 -0
@@ -0,0 +1,49 @@
1
+ @use "../base/mixins/breakpoints" as bp;
2
+
3
+ // Text alignment
4
+ .qo-text-start { text-align: left; }
5
+ .qo-text-end { text-align: right; }
6
+ .qo-text-center { text-align: center; }
7
+ .qo-text-justify { text-align: justify; }
8
+
9
+ // Text wrapping
10
+ .qo-text-nowrap { white-space: nowrap; }
11
+ .qo-text-wrap { white-space: normal; }
12
+ .qo-text-truncate {
13
+ overflow: hidden;
14
+ text-overflow: ellipsis;
15
+ white-space: nowrap;
16
+ }
17
+ .qo-text-break {
18
+ word-wrap: break-word;
19
+ word-break: break-word;
20
+ }
21
+
22
+ // Text transform
23
+ .qo-text-uppercase { text-transform: uppercase; }
24
+ .qo-text-lowercase { text-transform: lowercase; }
25
+ .qo-text-capitalize { text-transform: capitalize; }
26
+
27
+ // Text decoration
28
+ .qo-text-decoration-none { text-decoration: none; }
29
+ .qo-text-decoration-underline { text-decoration: underline; }
30
+ .qo-text-decoration-line-through { text-decoration: line-through; }
31
+
32
+ // Font style
33
+ .qo-fst-italic { font-style: italic; }
34
+ .qo-fst-normal { font-style: normal; }
35
+
36
+ // Line height
37
+ .qo-lh-1 { line-height: 1; }
38
+ .qo-lh-sm { line-height: 1.25; }
39
+ .qo-lh-base { line-height: 1.5; }
40
+ .qo-lh-lg { line-height: 2; }
41
+
42
+ // Responsive text alignment
43
+ @each $bp-name, $bp-value in bp.$breakpoints {
44
+ @media (min-width: $bp-value) {
45
+ .qo-text-#{$bp-name}-start { text-align: left; }
46
+ .qo-text-#{$bp-name}-end { text-align: right; }
47
+ .qo-text-#{$bp-name}-center { text-align: center; }
48
+ }
49
+ }
@@ -0,0 +1,2 @@
1
+ .qo-visible { visibility: visible; }
2
+ .qo-invisible { visibility: hidden; }
@@ -1,17 +1,29 @@
1
- @use "../../base/border" as bo;
2
-
3
- .qo-border-radius-sm {
4
- border-radius: bo.$border-radius-sm;
5
- }
6
-
7
- .qo-border-radius-md {
8
- border-radius: bo.$border-radius-md;
9
- }
10
-
11
- .qo-border-radius-lg {
12
- border-radius: bo.$border-radius-lg;
13
- }
14
-
15
- .qo-border-radius-full {
16
- border-radius: bo.$border-radius-full;
17
- }
1
+ @use "../../base/border" as bo;
2
+
3
+ .qo-border-radius-0 {
4
+ border-radius: bo.$border-radius-0;
5
+ }
6
+
7
+ .qo-border-radius-sm {
8
+ border-radius: bo.$border-radius-sm;
9
+ }
10
+
11
+ .qo-border-radius-md {
12
+ border-radius: bo.$border-radius-md;
13
+ }
14
+
15
+ .qo-border-radius-lg {
16
+ border-radius: bo.$border-radius-lg;
17
+ }
18
+
19
+ .qo-border-radius-xl {
20
+ border-radius: bo.$border-radius-xl;
21
+ }
22
+
23
+ .qo-border-radius-pill {
24
+ border-radius: bo.$border-radius-pill;
25
+ }
26
+
27
+ .qo-border-radius-full {
28
+ border-radius: bo.$border-radius-full;
29
+ }
@@ -1,8 +1,17 @@
1
- @use "../../base/color" as cl;
2
-
3
- .qo-boxshadow-sm {
4
- box-shadow: 0 1px 2px 0 cl.$boxshadow-primary;
5
- }
6
- .qo-boxshadow-md {
7
- box-shadow: 0 4px 8px 0 cl.$boxshadow-primary;
8
- }
1
+ @use "../../base/color" as cl;
2
+
3
+ .qo-boxshadow-none {
4
+ box-shadow: none;
5
+ }
6
+ .qo-boxshadow-sm {
7
+ box-shadow: 0 1px 2px 0 cl.$boxshadow-primary;
8
+ }
9
+ .qo-boxshadow-md {
10
+ box-shadow: 0 4px 8px 0 cl.$boxshadow-primary;
11
+ }
12
+ .qo-boxshadow-lg {
13
+ box-shadow: 0 8px 16px 0 cl.$boxshadow-primary;
14
+ }
15
+ .qo-boxshadow-xl {
16
+ box-shadow: 0 12px 24px 0 cl.$boxshadow-primary;
17
+ }
@@ -1,20 +1,15 @@
1
- @use "../../base/space" as sp;
2
-
3
- .qo-gap-sm {
4
- gap: sp.$space-sm;
5
- }
6
- .qo-gap-md {
7
- gap: sp.$space-md;
8
- }
9
- .qo-gap-md-y {
10
- gap: sp.$space-md 0;
11
- }
12
- .qo-gap-md-x {
13
- gap: 0 sp.$space-md;
14
- }
15
- .qo-gap-lg {
16
- gap: sp.$space-lg;
17
- }
18
- .qo-gap-xl {
19
- gap: sp.$space-xl;
20
- }
1
+ @use "../../base/space" as sp;
2
+
3
+ @each $key, $value in sp.$spacers {
4
+ .qo-gap-#{$key} {
5
+ gap: $value;
6
+ }
7
+
8
+ .qo-gap-x-#{$key} {
9
+ column-gap: $value;
10
+ }
11
+
12
+ .qo-gap-y-#{$key} {
13
+ row-gap: $value;
14
+ }
15
+ }
@@ -1,69 +1,46 @@
1
- @use "../../base/space" as sp;
2
-
3
- //small
4
- .qo-margin-sm {
5
- margin: sp.$space-sm;
6
- }
7
- .qo-margin-top-sm {
8
- margin-top: sp.$space-sm;
9
- }
10
- .qo-margin-right-sm {
11
- margin-right: sp.$space-sm;
12
- }
13
- .qo-margin-botttom-sm {
14
- margin-bottom: sp.$space-sm;
15
- }
16
- .qo-margin-left-sm {
17
- margin-left: sp.$space-sm;
18
- }
19
-
20
- //medium
21
- .qo-margin-md {
22
- margin: sp.$space-md;
23
- }
24
- .qo-margin-top-md {
25
- margin-top: sp.$space-md;
26
- }
27
- .qo-margin-right-md {
28
- margin-right: sp.$space-md;
29
- }
30
- .qo-margin-botttom-md {
31
- margin-bottom: sp.$space-md;
32
- }
33
- .qo-margin-left-md {
34
- margin-left: sp.$space-md;
35
- }
36
-
37
- //large
38
- .qo-margin-lg {
39
- margin: sp.$space-lg;
40
- }
41
- .qo-margin-top-lg {
42
- margin-top: sp.$space-lg;
43
- }
44
- .qo-margin-right-lg {
45
- margin-right: sp.$space-lg;
46
- }
47
- .qo-margin-botttom-lg {
48
- margin-bottom: sp.$space-lg;
49
- }
50
- .qo-margin-left-lg {
51
- margin-left: sp.$space-lg;
52
- }
53
-
54
- //extra large
55
- .qo-margin-xl {
56
- margin: sp.$space-xl;
57
- }
58
- .qo-margin-top-xl {
59
- margin-top: sp.$space-xl;
60
- }
61
- .qo-margin-right-xl {
62
- margin-right: sp.$space-xl;
63
- }
64
- .qo-margin-botttom-xl {
65
- margin-bottom: sp.$space-xl;
66
- }
67
- .qo-margin-left-xl {
68
- margin-left: sp.$space-xl;
69
- }
1
+ @use "../../base/space" as sp;
2
+
3
+ $_directions: (
4
+ "": "",
5
+ "top-": "top",
6
+ "right-": "right",
7
+ "bottom-": "bottom",
8
+ "left-": "left",
9
+ );
10
+
11
+ @each $key, $value in sp.$spacers {
12
+ @each $dir-name, $dir-prop in $_directions {
13
+ .qo-margin-#{$dir-name}#{$key} {
14
+ @if $dir-prop == "" {
15
+ margin: $value;
16
+ } @else {
17
+ margin-#{$dir-prop}: $value;
18
+ }
19
+ }
20
+ }
21
+
22
+ .qo-margin-x-#{$key} {
23
+ margin-left: $value;
24
+ margin-right: $value;
25
+ }
26
+
27
+ .qo-margin-y-#{$key} {
28
+ margin-top: $value;
29
+ margin-bottom: $value;
30
+ }
31
+ }
32
+
33
+ // Auto margins
34
+ .qo-margin-auto { margin: auto; }
35
+ .qo-margin-x-auto { margin-left: auto; margin-right: auto; }
36
+ .qo-margin-y-auto { margin-top: auto; margin-bottom: auto; }
37
+ .qo-margin-top-auto { margin-top: auto; }
38
+ .qo-margin-bottom-auto { margin-bottom: auto; }
39
+ .qo-margin-left-auto { margin-left: auto; }
40
+ .qo-margin-right-auto { margin-right: auto; }
41
+
42
+ // @deprecated — typo aliases kept for backwards compatibility
43
+ .qo-margin-botttom-sm { margin-bottom: sp.$space-sm; }
44
+ .qo-margin-botttom-md { margin-bottom: sp.$space-md; }
45
+ .qo-margin-botttom-lg { margin-bottom: sp.$space-lg; }
46
+ .qo-margin-botttom-xl { margin-bottom: sp.$space-xl; }
@@ -1,69 +1,37 @@
1
- @use "../../base/space" as sp;
2
-
3
- //small
4
- .qo-padding-sm {
5
- padding: sp.$space-sm;
6
- }
7
- .qo-padding-top-sm {
8
- padding-top: sp.$space-sm;
9
- }
10
- .qo-padding-right-sm {
11
- padding-right: sp.$space-sm;
12
- }
13
- .qo-padding-botttom-sm {
14
- padding-bottom: sp.$space-sm;
15
- }
16
- .qo-padding-left-sm {
17
- padding-left: sp.$space-sm;
18
- }
19
-
20
- //medium
21
- .qo-padding-md {
22
- padding: sp.$space-md;
23
- }
24
- .qo-padding-top-md {
25
- padding-top: sp.$space-md;
26
- }
27
- .qo-padding-right-md {
28
- padding-right: sp.$space-md;
29
- }
30
- .qo-padding-botttom-md {
31
- padding-bottom: sp.$space-md;
32
- }
33
- .qo-padding-left-md {
34
- padding-left: sp.$space-md;
35
- }
36
-
37
- //large
38
- .qo-padding-lg {
39
- padding: sp.$space-lg;
40
- }
41
- .qo-padding-top-lg {
42
- padding-top: sp.$space-lg;
43
- }
44
- .qo-padding-right-lg {
45
- padding-right: sp.$space-lg;
46
- }
47
- .qo-padding-botttom-lg {
48
- padding-bottom: sp.$space-lg;
49
- }
50
- .qo-padding-left-lg {
51
- padding-left: sp.$space-lg;
52
- }
53
-
54
- //extra large
55
- .qo-padding-xl {
56
- padding: sp.$space-xl;
57
- }
58
- .qo-padding-top-xl {
59
- padding-top: sp.$space-xl;
60
- }
61
- .qo-padding-right-xl {
62
- padding-right: sp.$space-xl;
63
- }
64
- .qo-padding-botttom-xl {
65
- padding-bottom: sp.$space-xl;
66
- }
67
- .qo-padding-left-xl {
68
- padding-left: sp.$space-xl;
69
- }
1
+ @use "../../base/space" as sp;
2
+
3
+ $_directions: (
4
+ "": "",
5
+ "top-": "top",
6
+ "right-": "right",
7
+ "bottom-": "bottom",
8
+ "left-": "left",
9
+ );
10
+
11
+ @each $key, $value in sp.$spacers {
12
+ @each $dir-name, $dir-prop in $_directions {
13
+ .qo-padding-#{$dir-name}#{$key} {
14
+ @if $dir-prop == "" {
15
+ padding: $value;
16
+ } @else {
17
+ padding-#{$dir-prop}: $value;
18
+ }
19
+ }
20
+ }
21
+
22
+ .qo-padding-x-#{$key} {
23
+ padding-left: $value;
24
+ padding-right: $value;
25
+ }
26
+
27
+ .qo-padding-y-#{$key} {
28
+ padding-top: $value;
29
+ padding-bottom: $value;
30
+ }
31
+ }
32
+
33
+ // @deprecated — typo aliases kept for backwards compatibility
34
+ .qo-padding-botttom-sm { padding-bottom: sp.$space-sm; }
35
+ .qo-padding-botttom-md { padding-bottom: sp.$space-md; }
36
+ .qo-padding-botttom-lg { padding-bottom: sp.$space-lg; }
37
+ .qo-padding-botttom-xl { padding-bottom: sp.$space-xl; }
@@ -1,35 +1,51 @@
1
- @use "../../base/color" as cl;
2
- .qo-text-primary {
3
- color: cl.$text-primary;
4
- }
5
- .qo-text-secondary {
6
- color: cl.$text-secondary;
7
- }
8
- .qo-text-success {
9
- color: cl.$text-success;
10
- }
11
- .qo-text-warning {
12
- color: cl.$text-warning;
13
- }
14
- .qo-text-danger {
15
- color: cl.$text-danger;
16
- }
17
- .qo-text-info {
18
- color: cl.$text-info;
19
- }
20
- .qo-text-default {
21
- color: cl.$text-default;
22
- }
23
- .qo-text-dark {
24
- color: cl.$text-dark;
25
- }
26
- .qo-text-light {
27
- color: cl.$text-light !important;
28
- }
29
- .qo-text-tertiary {
30
- color: cl.$text-tertiary;
31
- }
32
-
33
- .qo-validation{
34
- color: cl.$text-danger;
35
- }
1
+ @use "sass:color";
2
+ @use "../../base/color" as cl;
3
+
4
+ .qo-text-primary {
5
+ color: cl.$text-primary;
6
+ }
7
+ .qo-text-secondary {
8
+ color: cl.$text-secondary;
9
+ }
10
+ .qo-text-success {
11
+ color: cl.$text-success;
12
+ }
13
+ .qo-text-warning {
14
+ color: cl.$text-warning;
15
+ }
16
+ .qo-text-danger {
17
+ color: cl.$text-danger;
18
+ }
19
+ .qo-text-info {
20
+ color: cl.$text-info;
21
+ }
22
+ .qo-text-default {
23
+ color: cl.$text-default;
24
+ }
25
+ .qo-text-dark {
26
+ color: cl.$text-dark;
27
+ }
28
+ .qo-text-light {
29
+ color: cl.$text-light;
30
+ }
31
+ .qo-text-tertiary {
32
+ color: cl.$text-tertiary;
33
+ }
34
+
35
+ // Higher specificity variants when used with .qo-btn (beats Kendo .k-button-* selectors)
36
+ .qo-btn {
37
+ &.qo-text-primary { color: cl.$text-primary; &:hover, &:focus, &:active { color: cl.$text-primary-hover; } }
38
+ &.qo-text-secondary { color: cl.$text-secondary; &:hover, &:focus, &:active { color: cl.$text-dark; } }
39
+ &.qo-text-success { color: cl.$text-success; &:hover, &:focus, &:active { color: color.adjust(cl.$text-success, $lightness: -10%); } }
40
+ &.qo-text-warning { color: cl.$text-warning; &:hover, &:focus, &:active { color: color.adjust(cl.$text-warning, $lightness: -10%); } }
41
+ &.qo-text-danger { color: cl.$text-danger; &:hover, &:focus, &:active { color: cl.$text-danger-hover; } }
42
+ &.qo-text-info { color: cl.$text-info; &:hover, &:focus, &:active { color: color.adjust(cl.$text-info, $lightness: -10%); } }
43
+ &.qo-text-default { color: cl.$text-default; &:hover, &:focus, &:active { color: cl.$text-dark; } }
44
+ &.qo-text-dark { color: cl.$text-dark; &:hover, &:focus, &:active { color: color.adjust(cl.$text-dark, $lightness: -10%); } }
45
+ &.qo-text-light { color: cl.$text-light; &:hover, &:focus, &:active { color: cl.$text-light; } }
46
+ &.qo-text-tertiary { color: cl.$text-tertiary; &:hover, &:focus, &:active { color: color.adjust(cl.$text-tertiary, $lightness: -10%); } }
47
+ }
48
+
49
+ .qo-validation {
50
+ color: cl.$text-danger;
51
+ }
package/src/utilities.ts CHANGED
@@ -1,67 +1,112 @@
1
- // VS Theme Utilities Export
2
- // Provides access to all utility styles
3
-
4
- // Reset and base utilities
5
- export const reset = './utilities/_reset.scss';
6
-
7
- // Typography utilities
8
- export const typographyFont = './utilities/typography/_font.scss';
9
- export const typographyColor = './utilities/typography/_color.scss';
10
- export const typography = [typographyFont, typographyColor];
11
-
12
- // Background utilities
13
- export const backgroundColor = './utilities/background-color/index.scss';
14
-
15
- // Border utilities
16
- export const borderColor = './utilities/border/_border-color.scss';
17
- export const borderRadius = './utilities/border/_border-radius.scss';
18
- export const borderSize = './utilities/border/_border-size.scss';
19
- export const borders = [borderColor, borderRadius, borderSize];
20
-
21
- // Spacing utilities
22
- export const gap = './utilities/spaces/_gap.scss';
23
- export const margin = './utilities/spaces/_margin.scss';
24
- export const padding = './utilities/spaces/_padding.scss';
25
- export const spacing = [gap, margin, padding];
26
-
27
- // Box shadow utilities
28
- export const boxShadow = './utilities/box-shadow/index.scss';
29
-
30
- // Size utilities
31
- export const size = './utilities/size/index.scss';
32
-
33
- // All utilities combined
34
- export const allUtilities = [
35
- reset,
36
- ...typography,
37
- backgroundColor,
38
- ...borders,
39
- ...spacing,
40
- boxShadow,
41
- size
42
- ];
43
-
44
- export default {
45
- reset,
46
- typography: {
47
- font: typographyFont,
48
- color: typographyColor,
49
- all: typography
50
- },
51
- backgroundColor,
52
- borders: {
53
- color: borderColor,
54
- radius: borderRadius,
55
- size: borderSize,
56
- all: borders
57
- },
58
- spacing: {
59
- gap,
60
- margin,
61
- padding,
62
- all: spacing
63
- },
64
- boxShadow,
65
- size,
66
- all: allUtilities
67
- };
1
+ // VS Theme Utilities Export
2
+ // Provides access to all utility styles
3
+
4
+ // Reset and base utilities
5
+ export const reset = './utilities/_reset.scss';
6
+
7
+ // Typography utilities
8
+ export const typographyFont = './utilities/typography/_font.scss';
9
+ export const typographyColor = './utilities/typography/_color.scss';
10
+ export const typography = [typographyFont, typographyColor];
11
+
12
+ // Background utilities
13
+ export const backgroundColor = './utilities/background-color/index.scss';
14
+
15
+ // Border utilities
16
+ export const borderColor = './utilities/border/_border-color.scss';
17
+ export const borderRadius = './utilities/border/_border-radius.scss';
18
+ export const borderSize = './utilities/border/_border-size.scss';
19
+ export const borders = [borderColor, borderRadius, borderSize];
20
+
21
+ // Spacing utilities
22
+ export const gap = './utilities/spaces/_gap.scss';
23
+ export const margin = './utilities/spaces/_margin.scss';
24
+ export const padding = './utilities/spaces/_padding.scss';
25
+ export const spacing = [gap, margin, padding];
26
+
27
+ // Box shadow utilities
28
+ export const boxShadow = './utilities/box-shadow/index.scss';
29
+
30
+ // Size utilities
31
+ export const size = './utilities/size/index.scss';
32
+
33
+ // Display utilities
34
+ export const display = './utilities/_display.scss';
35
+
36
+ // Flex utilities
37
+ export const flex = './utilities/_flex.scss';
38
+
39
+ // Text utilities
40
+ export const text = './utilities/_text.scss';
41
+
42
+ // Position utilities
43
+ export const position = './utilities/_position.scss';
44
+
45
+ // Overflow utilities
46
+ export const overflow = './utilities/_overflow.scss';
47
+
48
+ // Opacity utilities
49
+ export const opacity = './utilities/_opacity.scss';
50
+
51
+ // Cursor utilities
52
+ export const cursor = './utilities/_cursor.scss';
53
+
54
+ // Sizing utilities (width/height)
55
+ export const sizing = './utilities/_sizing.scss';
56
+
57
+ // Visibility utilities
58
+ export const visibility = './utilities/_visibility.scss';
59
+
60
+ // All utilities combined
61
+ export const allUtilities = [
62
+ reset,
63
+ ...typography,
64
+ backgroundColor,
65
+ ...borders,
66
+ ...spacing,
67
+ boxShadow,
68
+ size,
69
+ display,
70
+ flex,
71
+ text,
72
+ position,
73
+ overflow,
74
+ opacity,
75
+ cursor,
76
+ sizing,
77
+ visibility,
78
+ ];
79
+
80
+ export default {
81
+ reset,
82
+ typography: {
83
+ font: typographyFont,
84
+ color: typographyColor,
85
+ all: typography
86
+ },
87
+ backgroundColor,
88
+ borders: {
89
+ color: borderColor,
90
+ radius: borderRadius,
91
+ size: borderSize,
92
+ all: borders
93
+ },
94
+ spacing: {
95
+ gap,
96
+ margin,
97
+ padding,
98
+ all: spacing
99
+ },
100
+ boxShadow,
101
+ size,
102
+ display,
103
+ flex,
104
+ text,
105
+ position,
106
+ overflow,
107
+ opacity,
108
+ cursor,
109
+ sizing,
110
+ visibility,
111
+ all: allUtilities
112
+ };