procode-vs-theme 1.0.4 → 1.0.6
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/dist/src/base/_border.scss +1 -0
- package/dist/src/base/_color.scss +5 -2
- package/dist/src/base/_custom-properties.scss +5 -0
- package/dist/src/base/_size.scss +13 -3
- package/dist/src/base/_space.scss +2 -0
- package/dist/src/base/mixins/_meta-class.scss +26 -0
- package/dist/src/components/_buttons.scss +16 -10
- package/dist/src/components/_disabled.scss +8 -0
- package/dist/src/index.scss +1 -2
- package/dist/src/utilities/_cursor.scss +3 -3
- package/dist/src/utilities/_display.scss +3 -6
- package/dist/src/utilities/_flex.scss +60 -59
- package/dist/src/utilities/_opacity.scss +3 -3
- package/dist/src/utilities/_overflow.scss +5 -3
- package/dist/src/utilities/_position.scss +14 -18
- package/dist/src/utilities/_sizing.scss +21 -10
- package/dist/src/utilities/_text.scss +24 -30
- package/dist/src/utilities/_visibility.scss +4 -2
- package/dist/src/utilities/background-color/index.scss +16 -37
- package/dist/src/utilities/border/_border-color.scss +11 -33
- package/dist/src/utilities/border/_border-radius.scss +9 -28
- package/dist/src/utilities/border/_border-size.scss +8 -10
- package/dist/src/utilities/box-shadow/index.scss +6 -15
- package/dist/src/utilities/spaces/_gap.scss +4 -11
- package/dist/src/utilities/spaces/_margin.scss +14 -22
- package/dist/src/utilities/spaces/_padding.scss +7 -15
- package/dist/src/utilities/typography/_color.scss +12 -30
- package/dist/src/utilities/typography/_font.scss +35 -63
- package/package.json +2 -2
- package/src/base/_border.scss +1 -0
- package/src/base/_color.scss +5 -2
- package/src/base/_custom-properties.scss +5 -0
- package/src/base/_size.scss +13 -3
- package/src/base/_space.scss +2 -0
- package/src/base/mixins/_meta-class.scss +26 -0
- package/src/components/_buttons.scss +16 -10
- package/src/components/_disabled.scss +8 -0
- package/src/index.scss +1 -2
- package/src/utilities/_cursor.scss +3 -3
- package/src/utilities/_display.scss +3 -6
- package/src/utilities/_flex.scss +60 -59
- package/src/utilities/_opacity.scss +3 -3
- package/src/utilities/_overflow.scss +5 -3
- package/src/utilities/_position.scss +14 -18
- package/src/utilities/_sizing.scss +21 -10
- package/src/utilities/_text.scss +24 -30
- package/src/utilities/_visibility.scss +4 -2
- package/src/utilities/background-color/index.scss +16 -37
- package/src/utilities/border/_border-color.scss +11 -33
- package/src/utilities/border/_border-radius.scss +9 -28
- package/src/utilities/border/_border-size.scss +8 -10
- package/src/utilities/box-shadow/index.scss +6 -15
- package/src/utilities/spaces/_gap.scss +4 -11
- package/src/utilities/spaces/_margin.scss +14 -22
- package/src/utilities/spaces/_padding.scss +7 -15
- package/src/utilities/typography/_color.scss +12 -30
- package/src/utilities/typography/_font.scss +35 -63
- package/dist/src/utilities/size/index.scss +0 -9
- package/src/utilities/size/index.scss +0 -9
|
@@ -1,37 +1,16 @@
|
|
|
1
|
-
@use "../../base/color" as cl;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
.qo-bg-secondary
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
.qo-bg-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.qo-bg-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
.qo-bg-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.qo-bg-info {
|
|
18
|
-
background-color: cl.$background-info;
|
|
19
|
-
}
|
|
20
|
-
.qo-bg-default {
|
|
21
|
-
background-color: cl.$background-default;
|
|
22
|
-
}
|
|
23
|
-
.qo-bg-dark {
|
|
24
|
-
background-color: cl.$background-dark;
|
|
25
|
-
}
|
|
26
|
-
.qo-bg-dark-alt {
|
|
27
|
-
background-color: cl.$background-dark-a;
|
|
28
|
-
}
|
|
29
|
-
.qo-bg-light {
|
|
30
|
-
background-color: cl.$background-light;
|
|
31
|
-
}
|
|
32
|
-
.qo-bg-tertiary {
|
|
33
|
-
background-color: cl.$background-tertiary;
|
|
34
|
-
}
|
|
35
|
-
.qo-bg-lime {
|
|
36
|
-
background-color: cl.$background-lime;
|
|
37
|
-
}
|
|
1
|
+
@use "../../base/color" as cl;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
4
|
+
@include mc.meta("qo-bg-primary", (background-color: cl.$background-primary));
|
|
5
|
+
@include mc.meta("qo-bg-secondary", (background-color: cl.$background-secondary));
|
|
6
|
+
@include mc.meta("qo-bg-success", (background-color: cl.$background-success));
|
|
7
|
+
@include mc.meta("qo-bg-warning", (background-color: cl.$background-warning));
|
|
8
|
+
@include mc.meta("qo-bg-danger", (background-color: cl.$background-danger));
|
|
9
|
+
@include mc.meta("qo-bg-info", (background-color: cl.$background-info));
|
|
10
|
+
@include mc.meta("qo-bg-default", (background-color: cl.$background-default));
|
|
11
|
+
@include mc.meta("qo-bg-dark", (background-color: cl.$background-dark));
|
|
12
|
+
@include mc.meta("qo-bg-dark-alt", (background-color: cl.$background-dark-a));
|
|
13
|
+
@include mc.meta("qo-bg-medium", (background-color: cl.$background-medium));
|
|
14
|
+
@include mc.meta("qo-bg-light", (background-color: cl.$background-light));
|
|
15
|
+
@include mc.meta("qo-bg-tertiary", (background-color: cl.$background-tertiary));
|
|
16
|
+
@include mc.meta("qo-bg-lime", (background-color: cl.$background-lime));
|
|
@@ -1,33 +1,11 @@
|
|
|
1
|
-
@use "../../base/color" as cl;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.qo-border-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.qo-border-
|
|
12
|
-
border-color: cl.$border-success;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.qo-border-warning {
|
|
16
|
-
border-color: cl.$border-warning;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.qo-border-danger {
|
|
20
|
-
border-color: cl.$border-danger;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.qo-border-info {
|
|
24
|
-
border-color: cl.$border-info;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.qo-border-light {
|
|
28
|
-
border-color: cl.$border-light;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.qo-border-dark {
|
|
32
|
-
border-color: cl.$border-dark;
|
|
33
|
-
}
|
|
1
|
+
@use "../../base/color" as cl;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
4
|
+
@include mc.meta("qo-border-primary", (border-color: cl.$border-primary));
|
|
5
|
+
@include mc.meta("qo-border-secondary", (border-color: cl.$border-secondary));
|
|
6
|
+
@include mc.meta("qo-border-success", (border-color: cl.$border-success));
|
|
7
|
+
@include mc.meta("qo-border-warning", (border-color: cl.$border-warning));
|
|
8
|
+
@include mc.meta("qo-border-danger", (border-color: cl.$border-danger));
|
|
9
|
+
@include mc.meta("qo-border-info", (border-color: cl.$border-info));
|
|
10
|
+
@include mc.meta("qo-border-light", (border-color: cl.$border-light));
|
|
11
|
+
@include mc.meta("qo-border-dark", (border-color: cl.$border-dark));
|
|
@@ -1,29 +1,10 @@
|
|
|
1
1
|
@use "../../base/border" as bo;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.qo-border-radius-
|
|
8
|
-
|
|
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
|
-
}
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
4
|
+
@include mc.meta("qo-border-radius-0", (border-radius: bo.$border-radius-0));
|
|
5
|
+
@include mc.meta("qo-border-radius-sm", (border-radius: bo.$border-radius-sm));
|
|
6
|
+
@include mc.meta("qo-border-radius-md", (border-radius: bo.$border-radius-md));
|
|
7
|
+
@include mc.meta("qo-border-radius-lg", (border-radius: bo.$border-radius-lg));
|
|
8
|
+
@include mc.meta("qo-border-radius-xl", (border-radius: bo.$border-radius-xl));
|
|
9
|
+
@include mc.meta("qo-border-radius-pill", (border-radius: bo.$border-radius-pill));
|
|
10
|
+
@include mc.meta("qo-border-radius-full", (border-radius: bo.$border-radius-full));
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
@use "../../base/border" as bo;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
.qo-border-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
.qo-border-lg
|
|
9
|
-
border-width: bo.$border-width-lg;
|
|
10
|
-
}
|
|
1
|
+
@use "../../base/border" as bo;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
@include mc.meta("qo-border-none", (border-width: bo.$border-width-none));
|
|
6
|
+
@include mc.meta("qo-border-sm", (border-width: bo.$border-width-sm));
|
|
7
|
+
@include mc.meta("qo-border-md", (border-width: bo.$border-width-md));
|
|
8
|
+
@include mc.meta("qo-border-lg", (border-width: bo.$border-width-lg));
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
@use "../../base/color" as cl;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
2
3
|
|
|
3
|
-
.qo-boxshadow-none
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
.qo-boxshadow-
|
|
7
|
-
|
|
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
|
-
}
|
|
4
|
+
@include mc.meta("qo-boxshadow-none", (box-shadow: none));
|
|
5
|
+
@include mc.meta("qo-boxshadow-sm", (box-shadow: 0 1px 2px 0 cl.$boxshadow-primary));
|
|
6
|
+
@include mc.meta("qo-boxshadow-md", (box-shadow: 0 4px 8px 0 cl.$boxshadow-primary));
|
|
7
|
+
@include mc.meta("qo-boxshadow-lg", (box-shadow: 0 8px 16px 0 cl.$boxshadow-primary));
|
|
8
|
+
@include mc.meta("qo-boxshadow-xl", (box-shadow: 0 12px 24px 0 cl.$boxshadow-primary));
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
@use "../../base/space" as sp;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
2
3
|
|
|
3
4
|
@each $key, $value in sp.$spacers {
|
|
4
|
-
.qo-gap-#{$key}
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.qo-gap-x-#{$key} {
|
|
9
|
-
column-gap: $value;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.qo-gap-y-#{$key} {
|
|
13
|
-
row-gap: $value;
|
|
14
|
-
}
|
|
5
|
+
@include mc.meta("qo-gap-#{$key}", (gap: $value));
|
|
6
|
+
@include mc.meta("qo-gap-x-#{$key}", (column-gap: $value));
|
|
7
|
+
@include mc.meta("qo-gap-y-#{$key}", (row-gap: $value));
|
|
15
8
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "../../base/space" as sp;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
2
3
|
|
|
3
4
|
$_directions: (
|
|
4
5
|
"": "",
|
|
@@ -10,34 +11,25 @@ $_directions: (
|
|
|
10
11
|
|
|
11
12
|
@each $key, $value in sp.$spacers {
|
|
12
13
|
@each $dir-name, $dir-prop in $_directions {
|
|
13
|
-
|
|
14
|
-
@
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
margin-#{$dir-prop}: $value;
|
|
18
|
-
}
|
|
14
|
+
@if $dir-prop == "" {
|
|
15
|
+
@include mc.meta("qo-margin-#{$dir-name}#{$key}", (margin: $value));
|
|
16
|
+
} @else {
|
|
17
|
+
@include mc.meta("qo-margin-#{$dir-name}#{$key}", (margin-#{$dir-prop}: $value));
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
20
|
|
|
22
|
-
.qo-margin-x-#{$key}
|
|
23
|
-
|
|
24
|
-
margin-right: $value;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.qo-margin-y-#{$key} {
|
|
28
|
-
margin-top: $value;
|
|
29
|
-
margin-bottom: $value;
|
|
30
|
-
}
|
|
21
|
+
@include mc.meta("qo-margin-x-#{$key}", (margin-left: $value, margin-right: $value));
|
|
22
|
+
@include mc.meta("qo-margin-y-#{$key}", (margin-top: $value, margin-bottom: $value));
|
|
31
23
|
}
|
|
32
24
|
|
|
33
25
|
// Auto margins
|
|
34
|
-
.qo-margin-auto
|
|
35
|
-
.qo-margin-x-auto
|
|
36
|
-
.qo-margin-y-auto
|
|
37
|
-
.qo-margin-top-auto
|
|
38
|
-
.qo-margin-bottom-auto
|
|
39
|
-
.qo-margin-left-auto
|
|
40
|
-
.qo-margin-right-auto
|
|
26
|
+
@include mc.meta("qo-margin-auto", (margin: auto));
|
|
27
|
+
@include mc.meta("qo-margin-x-auto", (margin-left: auto, margin-right: auto));
|
|
28
|
+
@include mc.meta("qo-margin-y-auto", (margin-top: auto, margin-bottom: auto));
|
|
29
|
+
@include mc.meta("qo-margin-top-auto", (margin-top: auto));
|
|
30
|
+
@include mc.meta("qo-margin-bottom-auto", (margin-bottom: auto));
|
|
31
|
+
@include mc.meta("qo-margin-left-auto", (margin-left: auto));
|
|
32
|
+
@include mc.meta("qo-margin-right-auto", (margin-right: auto));
|
|
41
33
|
|
|
42
34
|
// @deprecated — typo aliases kept for backwards compatibility
|
|
43
35
|
.qo-margin-botttom-sm { margin-bottom: sp.$space-sm; }
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "../../base/space" as sp;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
2
3
|
|
|
3
4
|
$_directions: (
|
|
4
5
|
"": "",
|
|
@@ -10,24 +11,15 @@ $_directions: (
|
|
|
10
11
|
|
|
11
12
|
@each $key, $value in sp.$spacers {
|
|
12
13
|
@each $dir-name, $dir-prop in $_directions {
|
|
13
|
-
|
|
14
|
-
@
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
padding-#{$dir-prop}: $value;
|
|
18
|
-
}
|
|
14
|
+
@if $dir-prop == "" {
|
|
15
|
+
@include mc.meta("qo-padding-#{$dir-name}#{$key}", (padding: $value));
|
|
16
|
+
} @else {
|
|
17
|
+
@include mc.meta("qo-padding-#{$dir-name}#{$key}", (padding-#{$dir-prop}: $value));
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
20
|
|
|
22
|
-
.qo-padding-x-#{$key}
|
|
23
|
-
|
|
24
|
-
padding-right: $value;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.qo-padding-y-#{$key} {
|
|
28
|
-
padding-top: $value;
|
|
29
|
-
padding-bottom: $value;
|
|
30
|
-
}
|
|
21
|
+
@include mc.meta("qo-padding-x-#{$key}", (padding-left: $value, padding-right: $value));
|
|
22
|
+
@include mc.meta("qo-padding-y-#{$key}", (padding-top: $value, padding-bottom: $value));
|
|
31
23
|
}
|
|
32
24
|
|
|
33
25
|
// @deprecated — typo aliases kept for backwards compatibility
|
|
@@ -1,38 +1,20 @@
|
|
|
1
1
|
@use "sass:color";
|
|
2
2
|
@use "../../base/color" as cl;
|
|
3
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
4
|
|
|
4
|
-
.qo-text-primary
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.qo-text-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
.qo-text-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
.qo-text-
|
|
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
|
-
}
|
|
5
|
+
@include mc.meta("qo-text-primary", (color: cl.$text-primary));
|
|
6
|
+
@include mc.meta("qo-text-secondary", (color: cl.$text-secondary));
|
|
7
|
+
@include mc.meta("qo-text-success", (color: cl.$text-success));
|
|
8
|
+
@include mc.meta("qo-text-warning", (color: cl.$text-warning));
|
|
9
|
+
@include mc.meta("qo-text-danger", (color: cl.$text-danger));
|
|
10
|
+
@include mc.meta("qo-text-info", (color: cl.$text-info));
|
|
11
|
+
@include mc.meta("qo-text-default", (color: cl.$text-default));
|
|
12
|
+
@include mc.meta("qo-text-dark", (color: cl.$text-dark));
|
|
13
|
+
@include mc.meta("qo-text-light", (color: cl.$text-light));
|
|
14
|
+
@include mc.meta("qo-text-tertiary", (color: cl.$text-tertiary));
|
|
34
15
|
|
|
35
16
|
// Higher specificity variants when used with .qo-btn (beats Kendo .k-button-* selectors)
|
|
17
|
+
// Intentionally NOT wrapped in meta() — button overrides must stay high specificity
|
|
36
18
|
.qo-btn {
|
|
37
19
|
&.qo-text-primary { color: cl.$text-primary; &:hover, &:focus, &:active { color: cl.$text-primary-hover; } }
|
|
38
20
|
&.qo-text-secondary { color: cl.$text-secondary; &:hover, &:focus, &:active { color: cl.$text-dark; } }
|
|
@@ -1,63 +1,35 @@
|
|
|
1
|
-
@use "../../base/font" as ft;
|
|
2
|
-
@use "../../base/mixins/
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
.qo-font-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
.qo-font-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
.qo-font-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
.qo-font-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
}
|
|
1
|
+
@use "../../base/font" as ft;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
+
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap");
|
|
4
|
+
|
|
5
|
+
@include mc.meta("qo-font-family-primary", (font-family: ft.$font-family-primary));
|
|
6
|
+
@include mc.meta("qo-font-family-secondary", (font-family: ft.$font-family-secondary));
|
|
7
|
+
|
|
8
|
+
@include mc.meta("qo-font-xxs", (font-size: ft.$font-size-xxs, line-height: ft.$line-height-xxs));
|
|
9
|
+
@include mc.meta("qo-font-xs", (font-size: ft.$font-size-xs, line-height: ft.$line-height-xs));
|
|
10
|
+
@include mc.meta("qo-font-sm", (font-size: ft.$font-size-sm, line-height: ft.$line-height-sm));
|
|
11
|
+
@include mc.meta("qo-font-md", (font-size: ft.$font-size-md, line-height: ft.$line-height-md));
|
|
12
|
+
@include mc.meta("qo-font-lg", (font-size: ft.$font-size-lg, line-height: ft.$line-height-lg));
|
|
13
|
+
@include mc.meta("qo-font-xl", (font-size: ft.$font-size-xl, line-height: ft.$line-height-xl));
|
|
14
|
+
@include mc.meta("qo-font-xxl", (font-size: ft.$font-size-xxl, line-height: ft.$line-height-xxl));
|
|
15
|
+
|
|
16
|
+
@include mc.meta("qo-font-weight-light", (font-weight: ft.$font-weight-light));
|
|
17
|
+
@include mc.meta("qo-font-weight-regular", (font-weight: ft.$font-weight-regular));
|
|
18
|
+
@include mc.meta("qo-font-weight-medium", (font-weight: ft.$font-weight-medium));
|
|
19
|
+
@include mc.meta("qo-font-weight-semibold", (font-weight: ft.$font-weight-semibold));
|
|
20
|
+
@include mc.meta("qo-font-weight-bold", (font-weight: ft.$font-weight-bold));
|
|
21
|
+
@include mc.meta("qo-font-weight-extrabold", (font-weight: ft.$font-weight-extrabold));
|
|
22
|
+
|
|
23
|
+
.qo-validation {
|
|
24
|
+
font-size: ft.$font-size-md;
|
|
25
|
+
line-height: ft.$line-height-md;
|
|
26
|
+
font-weight: ft.$font-weight-light;
|
|
27
|
+
margin-top: 2px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
h4 {
|
|
31
|
+
font-size: ft.$font-size-md;
|
|
32
|
+
line-height: ft.$line-height-md;
|
|
33
|
+
font-family: ft.$font-family-primary;
|
|
34
|
+
font-weight: ft.$font-weight-medium;
|
|
35
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "procode-vs-theme",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "VarStreet VS Theme - A comprehensive SCSS theme package for ProCode framework with variables, components, layout, and utilities for flexible design system usage",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"dev": "rollup -c --watch",
|
|
47
47
|
"clean": "rimraf dist",
|
|
48
48
|
"prebuild": "npm run clean",
|
|
49
|
-
"
|
|
49
|
+
"_prepublishOnly": "npm run build",
|
|
50
50
|
"postbuild": "node -e \"const fs=require('fs');const path=require('path');function cpR(s,d){fs.mkdirSync(d,{recursive:true});fs.readdirSync(s).forEach(f=>{const sp=path.join(s,f),dp=path.join(d,f);fs.statSync(sp).isDirectory()?cpR(sp,dp):f.endsWith('.scss')&&fs.copyFileSync(sp,dp)});}cpR('src','dist/src');\""
|
|
51
51
|
},
|
|
52
52
|
"keywords": [
|
package/src/base/_border.scss
CHANGED
package/src/base/_color.scss
CHANGED
|
@@ -21,13 +21,16 @@ $background-warning: #f97d0b !default;
|
|
|
21
21
|
$background-danger: #e74c3c !default;
|
|
22
22
|
$background-info: #17baff !default;
|
|
23
23
|
$background-default: #ffffff !default;
|
|
24
|
-
$background-
|
|
24
|
+
$background-medium: #29466e !default;
|
|
25
|
+
$background-dark: #0f233d !default;
|
|
25
26
|
$background-dark-a: #0f233d33 !default;
|
|
26
|
-
$background-light: #
|
|
27
|
+
$background-light: #f7f7f7 !default;
|
|
27
28
|
$background-tertiary: #ed5085 !default;
|
|
28
29
|
$background-lime: #f3de1d !default;
|
|
29
30
|
$background-transparent: color.change(#000000, $alpha: 0.1) !default;
|
|
30
31
|
|
|
32
|
+
$background-disabled: #d9d9d9 !default;
|
|
33
|
+
|
|
31
34
|
$border-primary: #2666e3 !default;
|
|
32
35
|
$border-secondary: #c6c6c6 !default;
|
|
33
36
|
$border-success: #67b926 !default;
|
|
@@ -26,8 +26,11 @@
|
|
|
26
26
|
--qo-bg-info: #{cl.$background-info};
|
|
27
27
|
--qo-bg-default: #{cl.$background-default};
|
|
28
28
|
--qo-bg-dark: #{cl.$background-dark};
|
|
29
|
+
--qo-bg-dark-a: #{cl.$background-dark-a};
|
|
30
|
+
--qo-bg-medium: #{cl.$background-medium};
|
|
29
31
|
--qo-bg-light: #{cl.$background-light};
|
|
30
32
|
--qo-bg-tertiary: #{cl.$background-tertiary};
|
|
33
|
+
--qo-bg-disabled: #{cl.$background-disabled};
|
|
31
34
|
|
|
32
35
|
// Border colors
|
|
33
36
|
--qo-border-primary: #{cl.$border-primary};
|
|
@@ -89,6 +92,7 @@
|
|
|
89
92
|
--qo-border-radius-full: #{bo.$border-radius-full};
|
|
90
93
|
|
|
91
94
|
// Border widths
|
|
95
|
+
--qo-border-width-none: #{bo.$border-width-none};
|
|
92
96
|
--qo-border-width-sm: #{bo.$border-width-sm};
|
|
93
97
|
--qo-border-width-md: #{bo.$border-width-md};
|
|
94
98
|
--qo-border-width-lg: #{bo.$border-width-lg};
|
|
@@ -99,4 +103,5 @@
|
|
|
99
103
|
--qo-size-md: #{sz.$size-md};
|
|
100
104
|
--qo-size-lg: #{sz.$size-lg};
|
|
101
105
|
--qo-size-xl: #{sz.$size-xl};
|
|
106
|
+
--qo-size-xxl: #{sz.$size-xxl};
|
|
102
107
|
}
|
package/src/base/_size.scss
CHANGED
|
@@ -2,6 +2,16 @@ $menu-size: 32px !default;
|
|
|
2
2
|
|
|
3
3
|
$size-xs: 8px !default;
|
|
4
4
|
$size-sm: 16px !default;
|
|
5
|
-
$size-md:
|
|
6
|
-
$size-lg:
|
|
7
|
-
$size-xl:
|
|
5
|
+
$size-md: 20px !default;
|
|
6
|
+
$size-lg: 32px !default;
|
|
7
|
+
$size-xl: 48px !default;
|
|
8
|
+
$size-xxl: 64px !default;
|
|
9
|
+
|
|
10
|
+
$sizing-values: (
|
|
11
|
+
xs: $size-xs,
|
|
12
|
+
sm: $size-sm,
|
|
13
|
+
md: $size-md,
|
|
14
|
+
lg: $size-lg,
|
|
15
|
+
xl: $size-xl,
|
|
16
|
+
xxl: $size-xxl,
|
|
17
|
+
) !default;
|
package/src/base/_space.scss
CHANGED
|
@@ -7,6 +7,7 @@ $space-4: 1.5rem !default;
|
|
|
7
7
|
$space-5: 3rem !default;
|
|
8
8
|
|
|
9
9
|
// Legacy spacing aliases
|
|
10
|
+
$space-xs: 2.5px !default;
|
|
10
11
|
$space-sm: 5px !default;
|
|
11
12
|
$space-md: 12.5px !default;
|
|
12
13
|
$space-lg: 16.5px !default;
|
|
@@ -20,6 +21,7 @@ $spacers: (
|
|
|
20
21
|
3: $space-3,
|
|
21
22
|
4: $space-4,
|
|
22
23
|
5: $space-5,
|
|
24
|
+
xs: $space-xs,
|
|
23
25
|
sm: $space-sm,
|
|
24
26
|
md: $space-md,
|
|
25
27
|
lg: $space-lg,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// Generates two tiers for each utility class:
|
|
2
|
+
///
|
|
3
|
+
/// 1. Regular class: .qo-x { ... } → specificity (0,1,0)
|
|
4
|
+
/// 2. Force-important: [data-prc-col-important~="qo-x"] { ... !important }
|
|
5
|
+
///
|
|
6
|
+
/// @param {String} $class-name — CSS class name without the dot
|
|
7
|
+
/// @param {Map} $properties — map of (property: value) pairs
|
|
8
|
+
///
|
|
9
|
+
/// Usage:
|
|
10
|
+
/// @include meta("qo-padding-sm", (padding: 8px));
|
|
11
|
+
/// @include meta("qo-text-truncate", (overflow: hidden, text-overflow: ellipsis, white-space: nowrap));
|
|
12
|
+
@mixin meta($class-name, $properties) {
|
|
13
|
+
// Normal — direct class usage
|
|
14
|
+
.#{$class-name} {
|
|
15
|
+
@each $prop, $val in $properties {
|
|
16
|
+
#{$prop}: $val;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// Force override — column metadata with important flag
|
|
21
|
+
[data-prc-col-important~="#{$class-name}"] {
|
|
22
|
+
@each $prop, $val in $properties {
|
|
23
|
+
#{$prop}: $val !important;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|