procode-vs-theme 1.0.5 → 1.0.7
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/components.esm.js +4 -1
- package/dist/components.esm.js.map +1 -1
- package/dist/components.js +4 -0
- package/dist/components.js.map +1 -1
- package/dist/index.esm.js +5 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/src/base/_border.scss +1 -0
- package/dist/src/base/_color.scss +6 -2
- package/dist/src/base/_custom-properties.scss +6 -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/_disabled.scss +8 -0
- package/dist/src/components/_placeholder.scss +46 -0
- package/dist/src/components.ts +23 -20
- package/dist/src/index.scss +2 -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/dist/types/components.d.ts +2 -0
- package/package.json +1 -1
- package/src/base/_border.scss +1 -0
- package/src/base/_color.scss +6 -2
- package/src/base/_custom-properties.scss +6 -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/_disabled.scss +8 -0
- package/src/components/_placeholder.scss +46 -0
- package/src/components.ts +23 -20
- package/src/index.scss +2 -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,13 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
@use "../base/size" as sz;
|
|
2
|
+
@use "../base/mixins/meta-class" as mc;
|
|
2
3
|
|
|
3
|
-
@each $key, $value in
|
|
4
|
-
.qo-w-#{$key}
|
|
5
|
-
.qo-h-#{$key}
|
|
4
|
+
@each $key, $value in sz.$sizing-values {
|
|
5
|
+
@include mc.meta("qo-w-#{$key}", (width: $value));
|
|
6
|
+
@include mc.meta("qo-h-#{$key}", (height: $value));
|
|
6
7
|
}
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
.qo-
|
|
10
|
-
.qo-min-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
@each $key, $value in sz.$sizing-values {
|
|
10
|
+
@include mc.meta("qo-min-w-#{$key}", (min-width: $value));
|
|
11
|
+
@include mc.meta("qo-min-h-#{$key}", (min-height: $value));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@each $key, $value in sz.$sizing-values {
|
|
15
|
+
@include mc.meta("qo-max-w-#{$key}", (max-width: $value));
|
|
16
|
+
@include mc.meta("qo-max-h-#{$key}", (max-height: $value));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@include mc.meta("qo-mw-100", (max-width: 100%));
|
|
20
|
+
@include mc.meta("qo-mh-100", (max-height: 100%));
|
|
21
|
+
@include mc.meta("qo-min-vw-100", (min-width: 100vw));
|
|
22
|
+
@include mc.meta("qo-min-vh-100", (min-height: 100vh));
|
|
23
|
+
@include mc.meta("qo-vw-100", (width: 100vw));
|
|
24
|
+
@include mc.meta("qo-vh-100", (height: 100vh));
|
|
@@ -1,49 +1,43 @@
|
|
|
1
1
|
@use "../base/mixins/breakpoints" as bp;
|
|
2
|
+
@use "../base/mixins/meta-class" as mc;
|
|
2
3
|
|
|
3
4
|
// Text alignment
|
|
4
|
-
.qo-text-start
|
|
5
|
-
.qo-text-end
|
|
6
|
-
.qo-text-center
|
|
7
|
-
.qo-text-justify
|
|
5
|
+
@include mc.meta("qo-text-start", (text-align: left));
|
|
6
|
+
@include mc.meta("qo-text-end", (text-align: right));
|
|
7
|
+
@include mc.meta("qo-text-center", (text-align: center));
|
|
8
|
+
@include mc.meta("qo-text-justify", (text-align: justify));
|
|
8
9
|
|
|
9
10
|
// Text wrapping
|
|
10
|
-
.qo-text-nowrap
|
|
11
|
-
.qo-text-wrap
|
|
12
|
-
.qo-text-truncate
|
|
13
|
-
|
|
14
|
-
text-overflow: ellipsis;
|
|
15
|
-
white-space: nowrap;
|
|
16
|
-
}
|
|
17
|
-
.qo-text-break {
|
|
18
|
-
word-wrap: break-word;
|
|
19
|
-
word-break: break-word;
|
|
20
|
-
}
|
|
11
|
+
@include mc.meta("qo-text-nowrap", (white-space: nowrap));
|
|
12
|
+
@include mc.meta("qo-text-wrap", (white-space: normal));
|
|
13
|
+
@include mc.meta("qo-text-truncate", (overflow: hidden, text-overflow: ellipsis, white-space: nowrap));
|
|
14
|
+
@include mc.meta("qo-text-break", (word-wrap: break-word, word-break: break-word));
|
|
21
15
|
|
|
22
16
|
// Text transform
|
|
23
|
-
.qo-text-uppercase
|
|
24
|
-
.qo-text-lowercase
|
|
25
|
-
.qo-text-capitalize
|
|
17
|
+
@include mc.meta("qo-text-uppercase", (text-transform: uppercase));
|
|
18
|
+
@include mc.meta("qo-text-lowercase", (text-transform: lowercase));
|
|
19
|
+
@include mc.meta("qo-text-capitalize", (text-transform: capitalize));
|
|
26
20
|
|
|
27
21
|
// Text decoration
|
|
28
|
-
.qo-text-decoration-none
|
|
29
|
-
.qo-text-decoration-underline
|
|
30
|
-
.qo-text-decoration-line-through
|
|
22
|
+
@include mc.meta("qo-text-decoration-none", (text-decoration: none));
|
|
23
|
+
@include mc.meta("qo-text-decoration-underline", (text-decoration: underline));
|
|
24
|
+
@include mc.meta("qo-text-decoration-line-through", (text-decoration: line-through));
|
|
31
25
|
|
|
32
26
|
// Font style
|
|
33
|
-
.qo-fst-italic
|
|
34
|
-
.qo-fst-normal
|
|
27
|
+
@include mc.meta("qo-fst-italic", (font-style: italic));
|
|
28
|
+
@include mc.meta("qo-fst-normal", (font-style: normal));
|
|
35
29
|
|
|
36
30
|
// Line height
|
|
37
|
-
.qo-lh-1
|
|
38
|
-
.qo-lh-sm
|
|
39
|
-
.qo-lh-base
|
|
40
|
-
.qo-lh-lg
|
|
31
|
+
@include mc.meta("qo-lh-1", (line-height: 1));
|
|
32
|
+
@include mc.meta("qo-lh-sm", (line-height: 1.25));
|
|
33
|
+
@include mc.meta("qo-lh-base", (line-height: 1.5));
|
|
34
|
+
@include mc.meta("qo-lh-lg", (line-height: 2));
|
|
41
35
|
|
|
42
36
|
// Responsive text alignment
|
|
43
37
|
@each $bp-name, $bp-value in bp.$breakpoints {
|
|
44
38
|
@media (min-width: $bp-value) {
|
|
45
|
-
.qo-text-#{$bp-name}-start
|
|
46
|
-
.qo-text-#{$bp-name}-end
|
|
47
|
-
.qo-text-#{$bp-name}-center
|
|
39
|
+
@include mc.meta("qo-text-#{$bp-name}-start", (text-align: left));
|
|
40
|
+
@include mc.meta("qo-text-#{$bp-name}-end", (text-align: right));
|
|
41
|
+
@include mc.meta("qo-text-#{$bp-name}-center", (text-align: center));
|
|
48
42
|
}
|
|
49
43
|
}
|
|
@@ -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
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export declare const buttons = "./components/_buttons.scss";
|
|
2
2
|
export declare const input = "./components/_input.scss";
|
|
3
|
+
export declare const placeholder = "./components/_placeholder.scss";
|
|
3
4
|
export declare const cards = "./components/_cards.scss";
|
|
4
5
|
export declare const allComponents: string[];
|
|
5
6
|
declare const _default: {
|
|
6
7
|
buttons: string;
|
|
7
8
|
input: string;
|
|
9
|
+
placeholder: string;
|
|
8
10
|
cards: string;
|
|
9
11
|
all: string[];
|
|
10
12
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "procode-vs-theme",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
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",
|
package/src/base/_border.scss
CHANGED
package/src/base/_color.scss
CHANGED
|
@@ -10,6 +10,7 @@ $text-default: #808080 !default;
|
|
|
10
10
|
$text-dark: #464646 !default;
|
|
11
11
|
$text-light: #ffffff !default;
|
|
12
12
|
$text-tertiary: #ed5085 !default;
|
|
13
|
+
$text-placeholder: #808080 !default;
|
|
13
14
|
|
|
14
15
|
$text-primary-hover: #1c428d !default;
|
|
15
16
|
$text-danger-hover: #af251c !default;
|
|
@@ -21,13 +22,16 @@ $background-warning: #f97d0b !default;
|
|
|
21
22
|
$background-danger: #e74c3c !default;
|
|
22
23
|
$background-info: #17baff !default;
|
|
23
24
|
$background-default: #ffffff !default;
|
|
24
|
-
$background-
|
|
25
|
+
$background-medium: #29466e !default;
|
|
26
|
+
$background-dark: #0f233d !default;
|
|
25
27
|
$background-dark-a: #0f233d33 !default;
|
|
26
|
-
$background-light: #
|
|
28
|
+
$background-light: #f7f7f7 !default;
|
|
27
29
|
$background-tertiary: #ed5085 !default;
|
|
28
30
|
$background-lime: #f3de1d !default;
|
|
29
31
|
$background-transparent: color.change(#000000, $alpha: 0.1) !default;
|
|
30
32
|
|
|
33
|
+
$background-disabled: #d9d9d9 !default;
|
|
34
|
+
|
|
31
35
|
$border-primary: #2666e3 !default;
|
|
32
36
|
$border-secondary: #c6c6c6 !default;
|
|
33
37
|
$border-success: #67b926 !default;
|