procode-vs-theme 1.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 (86) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +201 -0
  3. package/dist/components.esm.js +20 -0
  4. package/dist/components.esm.js.map +1 -0
  5. package/dist/components.js +28 -0
  6. package/dist/components.js.map +1 -0
  7. package/dist/index.esm.js +267 -0
  8. package/dist/index.esm.js.map +1 -0
  9. package/dist/index.js +279 -0
  10. package/dist/index.js.map +1 -0
  11. package/dist/layout.esm.js +23 -0
  12. package/dist/layout.esm.js.map +1 -0
  13. package/dist/layout.js +32 -0
  14. package/dist/layout.js.map +1 -0
  15. package/dist/src/_apply-theme.scss +28 -0
  16. package/dist/src/_border-color.scss +33 -0
  17. package/dist/src/_border-radius.scss +17 -0
  18. package/dist/src/_border-size.scss +10 -0
  19. package/dist/src/_border.scss +8 -0
  20. package/dist/src/_buttons.scss +38 -0
  21. package/dist/src/_cards.scss +0 -0
  22. package/dist/src/_color.scss +35 -0
  23. package/dist/src/_drawer.scss +16 -0
  24. package/dist/src/_font.scss +63 -0
  25. package/dist/src/_font_size-mx.scss +4 -0
  26. package/dist/src/_footer.scss +0 -0
  27. package/dist/src/_gap.scss +20 -0
  28. package/dist/src/_header.scss +0 -0
  29. package/dist/src/_input.scss +32 -0
  30. package/dist/src/_margin.scss +69 -0
  31. package/dist/src/_media-query-mx.scss +35 -0
  32. package/dist/src/_padding.scss +69 -0
  33. package/dist/src/_reset.scss +68 -0
  34. package/dist/src/_sidebar.scss +0 -0
  35. package/dist/src/_size.scss +4 -0
  36. package/dist/src/_space.scss +4 -0
  37. package/dist/src/index.scss +24 -0
  38. package/dist/types/baseExports.d.ts +23 -0
  39. package/dist/types/components.d.ts +11 -0
  40. package/dist/types/index.d.ts +27 -0
  41. package/dist/types/layout.d.ts +13 -0
  42. package/dist/types/utilities.d.ts +41 -0
  43. package/dist/types/variables.d.ts +23 -0
  44. package/dist/utilities.esm.js +61 -0
  45. package/dist/utilities.esm.js.map +1 -0
  46. package/dist/utilities.js +81 -0
  47. package/dist/utilities.js.map +1 -0
  48. package/dist/variables.esm.js +39 -0
  49. package/dist/variables.esm.js.map +1 -0
  50. package/dist/variables.js +52 -0
  51. package/dist/variables.js.map +1 -0
  52. package/package.json +87 -0
  53. package/src/base/_border.scss +8 -0
  54. package/src/base/_color.scss +39 -0
  55. package/src/base/_font.scss +26 -0
  56. package/src/base/_size.scss +4 -0
  57. package/src/base/_space.scss +4 -0
  58. package/src/base/mixins/_apply-theme.scss +28 -0
  59. package/src/base/mixins/_font_size-mx.scss +4 -0
  60. package/src/base/mixins/_media-query-mx.scss +35 -0
  61. package/src/baseExports.ts +39 -0
  62. package/src/components/_buttons.scss +38 -0
  63. package/src/components/_cards.scss +0 -0
  64. package/src/components/_input.scss +32 -0
  65. package/src/components.ts +20 -0
  66. package/src/index.scss +24 -0
  67. package/src/index.ts +52 -0
  68. package/src/layout/_drawer.scss +16 -0
  69. package/src/layout/_footer.scss +0 -0
  70. package/src/layout/_header.scss +0 -0
  71. package/src/layout/_sidebar.scss +0 -0
  72. package/src/layout.ts +23 -0
  73. package/src/utilities/_reset.scss +68 -0
  74. package/src/utilities/background-color/index.scss +37 -0
  75. package/src/utilities/border/_border-color.scss +33 -0
  76. package/src/utilities/border/_border-radius.scss +17 -0
  77. package/src/utilities/border/_border-size.scss +10 -0
  78. package/src/utilities/box-shadow/index.scss +8 -0
  79. package/src/utilities/size/index.scss +9 -0
  80. package/src/utilities/spaces/_gap.scss +20 -0
  81. package/src/utilities/spaces/_margin.scss +69 -0
  82. package/src/utilities/spaces/_padding.scss +69 -0
  83. package/src/utilities/typography/_color.scss +35 -0
  84. package/src/utilities/typography/_font.scss +63 -0
  85. package/src/utilities.ts +67 -0
  86. package/src/variables.ts +40 -0
@@ -0,0 +1,8 @@
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
+ }
@@ -0,0 +1,9 @@
1
+ @use "../../base/size" as sz;
2
+
3
+ .qo-size-sm {
4
+ height: sz.$size-sm;
5
+ }
6
+
7
+ .qo-size-md {
8
+ height: sz.$size-md;
9
+ }
@@ -0,0 +1,20 @@
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
+ }
@@ -0,0 +1,69 @@
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
+ }
@@ -0,0 +1,69 @@
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
+ }
@@ -0,0 +1,35 @@
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
+ }
@@ -0,0 +1,63 @@
1
+ @use "../../base/font" as ft;
2
+ @use "../../base/mixins/font_size-mx" as mx;
3
+ @import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap");
4
+
5
+ .qo-font-family-primary {
6
+ font-family: ft.$font-family-primary;
7
+ }
8
+
9
+ .qo-font-family-secondary {
10
+ font-family: ft.$font-family-secondary;
11
+ }
12
+
13
+ .qo-font-xxs {
14
+ @include mx.font-size(ft.$font-size-xxs, ft.$line-height-xxs);
15
+ }
16
+ .qo-font-xs {
17
+ @include mx.font-size(ft.$font-size-xs, ft.$line-height-xs);
18
+ }
19
+ .qo-font-sm {
20
+ @include mx.font-size(ft.$font-size-sm, ft.$line-height-sm);
21
+ }
22
+ .qo-font-md {
23
+ @include mx.font-size(ft.$font-size-md, ft.$line-height-md);
24
+ }
25
+ .qo-font-lg {
26
+ @include mx.font-size(ft.$font-size-lg, ft.$line-height-lg);
27
+ }
28
+ .qo-font-xl {
29
+ @include mx.font-size(ft.$font-size-xl, ft.$line-height-xl);
30
+ }
31
+ .qo-font-xxl {
32
+ @include mx.font-size(ft.$font-size-xxl, ft.$line-height-xxl);
33
+ }
34
+
35
+ .qo-font-weight-light {
36
+ font-weight: ft.$font-weight-light;
37
+ }
38
+ .qo-font-weight-regular {
39
+ font-weight: ft.$font-weight-regular;
40
+ }
41
+ .qo-font-weight-medium {
42
+ font-weight: ft.$font-weight-medium;
43
+ }
44
+ .qo-font-weight-semibold {
45
+ font-weight: ft.$font-weight-semibold;
46
+ }
47
+ .qo-font-weight-bold {
48
+ font-weight: ft.$font-weight-bold;
49
+ }
50
+ .qo-font-weight-extrabold {
51
+ font-weight: ft.$font-weight-extrabold;
52
+ }
53
+ .qo-validation {
54
+ @include mx.font-size(ft.$font-size-md, ft.$line-height-md);
55
+ font-weight: ft.$font-weight-light;
56
+ margin-top: 2px;
57
+ }
58
+
59
+ h4 {
60
+ @include mx.font-size(ft.$font-size-md, ft.$line-height-md);
61
+ font-family: ft.$font-family-primary;
62
+ font-weight: ft.$font-weight-medium;
63
+ }
@@ -0,0 +1,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
+ // 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
+ };
@@ -0,0 +1,40 @@
1
+ // VS Theme Variables Export
2
+ // Provides access to all theme variables and base styles
3
+
4
+ // Base variables and mixins
5
+ export const colors = './base/_color.scss';
6
+ export const fonts = './base/_font.scss';
7
+ export const spacing = './base/_space.scss';
8
+ export const borders = './base/_border.scss';
9
+ export const sizes = './base/_size.scss';
10
+
11
+ // Mixins
12
+ export const mediaQueryMixins = './base/mixins/_media-query-mx.scss';
13
+ export const fontSizeMixins = './base/mixins/_font_size-mx.scss';
14
+ export const applyThemeMixins = './base/mixins/_apply-theme.scss';
15
+
16
+ // All base variables combined
17
+ export const allVariables = [
18
+ colors,
19
+ fonts,
20
+ spacing,
21
+ borders,
22
+ sizes,
23
+ mediaQueryMixins,
24
+ fontSizeMixins,
25
+ applyThemeMixins
26
+ ];
27
+
28
+ export default {
29
+ colors,
30
+ fonts,
31
+ spacing,
32
+ borders,
33
+ sizes,
34
+ mixins: {
35
+ mediaQuery: mediaQueryMixins,
36
+ fontSize: fontSizeMixins,
37
+ applyTheme: applyThemeMixins
38
+ },
39
+ all: allVariables
40
+ };