minolith 0.0.21 → 0.0.23
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/css/minolith-skelton.css +113 -2
- package/dist/css/minolith-skelton.css.map +1 -1
- package/dist/css/minolith-skelton.min.css +113 -2
- package/dist/css/minolith-skelton.min.css.map +1 -1
- package/dist/css/minolith.css +509 -2
- package/dist/css/minolith.css.map +1 -1
- package/dist/css/minolith.min.css +4 -4
- package/dist/css/minolith.min.css.map +1 -1
- package/package.json +1 -1
- package/src/backgrounds/dot.scss +50 -0
- package/src/backgrounds/gingham.scss +2 -0
- package/src/backgrounds/index.scss +1 -0
- package/src/backgrounds/stripe.scss +2 -0
- package/src/base/element.scss +5 -0
- package/src/base/index.scss +1 -1
- package/src/components/accordion.scss +4 -0
- package/src/components/badge.scss +2 -0
- package/src/components/button.scss +2 -1
- package/src/components/card.scss +5 -0
- package/src/components/dialogue.scss +6 -0
- package/src/components/footer.scss +2 -0
- package/src/components/header.scss +2 -0
- package/src/components/heading.scss +2 -0
- package/src/components/image.scss +3 -0
- package/src/components/input.scss +2 -0
- package/src/components/label.scss +2 -0
- package/src/components/link.scss +2 -0
- package/src/components/list.scss +2 -0
- package/src/components/loader.scss +1 -0
- package/src/components/main.scss +3 -0
- package/src/components/message.scss +4 -0
- package/src/components/modal.scss +3 -0
- package/src/components/nav.scss +12 -0
- package/src/components/progress.scss +1 -0
- package/src/css-variables/color.scss +14 -0
- package/src/layouts/columns.scss +3 -1
- package/src/layouts/container.scss +1 -1
- package/src/mixins/element.scss +3 -0
- package/src/mixins/index.scss +1 -0
- package/src/mixins/responsive.scss +0 -1
- package/src/variables/color.scss +18 -0
package/package.json
CHANGED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
4
|
+
|
|
5
|
+
.dot {
|
|
6
|
+
--#{variables.$prefix}dot-size: 20%;
|
|
7
|
+
@include mixins.element();
|
|
8
|
+
background-color: var(--#{variables.$prefix}color-default-dot-back);
|
|
9
|
+
background-image: radial-gradient(
|
|
10
|
+
oklch(var(--#{variables.$prefix}color-default-dot-fore-oklch) / 0.5)
|
|
11
|
+
var(--#{variables.$prefix}dot-size),
|
|
12
|
+
transparent calc(var(--#{variables.$prefix}dot-size) + 3%)
|
|
13
|
+
),
|
|
14
|
+
radial-gradient(
|
|
15
|
+
oklch(var(--#{variables.$prefix}color-default-dot-fore-oklch) / 0.5)
|
|
16
|
+
var(--#{variables.$prefix}dot-size),
|
|
17
|
+
transparent calc(var(--#{variables.$prefix}dot-size) + 3%)
|
|
18
|
+
);
|
|
19
|
+
background-position: 0 0, 1rem 1rem;
|
|
20
|
+
background-repeat: repeat;
|
|
21
|
+
background-size: 2rem 2rem;
|
|
22
|
+
&.is-coin {
|
|
23
|
+
--#{variables.$prefix}dot-size: 30%;
|
|
24
|
+
}
|
|
25
|
+
&.is-polka {
|
|
26
|
+
--#{variables.$prefix}dot-size: 20%;
|
|
27
|
+
}
|
|
28
|
+
&.is-pin {
|
|
29
|
+
--#{variables.$prefix}dot-size: 10%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@if (not variables.$is-skelton) {
|
|
33
|
+
@each $color in variables.$colors {
|
|
34
|
+
$colorName: map.get($color, "name");
|
|
35
|
+
&.is-#{$colorName} {
|
|
36
|
+
background-color: var(--#{variables.$prefix}color-#{$colorName}-dot-back);
|
|
37
|
+
background-image: radial-gradient(
|
|
38
|
+
oklch(var(--#{variables.$prefix}color-#{$colorName}-dot-fore-oklch) / 0.5)
|
|
39
|
+
var(--#{variables.$prefix}dot-size),
|
|
40
|
+
transparent calc(var(--#{variables.$prefix}dot-size) + 3%)
|
|
41
|
+
),
|
|
42
|
+
radial-gradient(
|
|
43
|
+
oklch(var(--#{variables.$prefix}color-#{$colorName}-dot-fore-oklch) / 0.5)
|
|
44
|
+
var(--#{variables.$prefix}dot-size),
|
|
45
|
+
transparent calc(var(--#{variables.$prefix}dot-size) + 3%)
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
3
4
|
|
|
4
5
|
.gingham {
|
|
6
|
+
@include mixins.element();
|
|
5
7
|
background-size: auto auto;
|
|
6
8
|
background-color: var(--#{variables.$prefix}color-default-gingham-back);
|
|
7
9
|
background-image: repeating-linear-gradient(
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
3
4
|
|
|
4
5
|
.stripe {
|
|
6
|
+
@include mixins.element();
|
|
5
7
|
background-size: auto auto;
|
|
6
8
|
background-color: var(--#{variables.$prefix}color-default-stripe-back);
|
|
7
9
|
background-image: repeating-linear-gradient(
|
package/src/base/index.scss
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../variables/index.scss" as variables;
|
|
3
3
|
@use "../icons/index.scss" as icons;
|
|
4
|
+
@use "../mixins/index.scss" as mixins;
|
|
4
5
|
|
|
5
6
|
.accordion {
|
|
7
|
+
@include mixins.element();
|
|
6
8
|
color: var(--#{variables.$prefix}color-default-accordion-fore);
|
|
7
9
|
background-color: var(--#{variables.$prefix}color-default-accordion-back);
|
|
8
10
|
border-color: var(--#{variables.$prefix}color-default-accordion-border);
|
|
@@ -14,6 +16,7 @@
|
|
|
14
16
|
border-width: var(--#{variables.$prefix}border-width-thin);
|
|
15
17
|
border-collapse: collapse;
|
|
16
18
|
>.accordion-summary {
|
|
19
|
+
@include mixins.element();
|
|
17
20
|
background-color: var(
|
|
18
21
|
--#{variables.$prefix}color-default-accordion-summary-back
|
|
19
22
|
);
|
|
@@ -81,6 +84,7 @@
|
|
|
81
84
|
}
|
|
82
85
|
}
|
|
83
86
|
>.accordion-details {
|
|
87
|
+
@include mixins.element();
|
|
84
88
|
border-color: var(--#{variables.$prefix}color-gray-border);
|
|
85
89
|
height: 0;
|
|
86
90
|
display: none;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
3
4
|
|
|
4
5
|
.badge {
|
|
6
|
+
@include mixins.element();
|
|
5
7
|
align-items: center;
|
|
6
8
|
background-color: var(--#{variables.$prefix}color-default-badge-back);
|
|
7
9
|
border-color: var(--#{variables.$prefix}color-default-badge-border);
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
3
4
|
|
|
4
5
|
.button {
|
|
6
|
+
@include mixins.element();
|
|
5
7
|
background-color: var(--#{variables.$prefix}color-default-button-back);
|
|
6
8
|
border-color: var(--#{variables.$prefix}color-default-button-border);
|
|
7
9
|
border-radius: var(--#{variables.$prefix}border-radius-medium);
|
|
8
10
|
border-style: solid;
|
|
9
|
-
box-sizing: border-box;
|
|
10
11
|
color: var(--#{variables.$prefix}color-default-button-fore);
|
|
11
12
|
cursor: pointer;
|
|
12
13
|
display: inline-block;
|
package/src/components/card.scss
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
3
4
|
|
|
4
5
|
.card {
|
|
6
|
+
@include mixins.element();
|
|
5
7
|
display: block;
|
|
6
8
|
background-color: var(--#{variables.$prefix}color-default-card-back);
|
|
7
9
|
border-radius: calc(
|
|
@@ -16,6 +18,7 @@
|
|
|
16
18
|
box-shadow: 0 0.5rem 0.5rem var(--#{variables.$prefix}color-card-shadow);
|
|
17
19
|
}
|
|
18
20
|
>.card-header {
|
|
21
|
+
@include mixins.element();
|
|
19
22
|
background-color: var(--#{variables.$prefix}color-default-card-header-back);
|
|
20
23
|
border-radius: var(--#{variables.$prefix}border-radius-medium)
|
|
21
24
|
var(--#{variables.$prefix}border-radius-medium) 0 0;
|
|
@@ -26,6 +29,7 @@
|
|
|
26
29
|
font-weight: var(--#{variables.$prefix}font-weight-semibold);
|
|
27
30
|
}
|
|
28
31
|
>.card-body {
|
|
32
|
+
@include mixins.element();
|
|
29
33
|
background-color: var(--#{variables.$prefix}color-default-card-body-back);
|
|
30
34
|
color: var(--#{variables.$prefix}color-default-card-body-fore);
|
|
31
35
|
padding: 0.5rem;
|
|
@@ -43,6 +47,7 @@
|
|
|
43
47
|
}
|
|
44
48
|
}
|
|
45
49
|
>.card-footer {
|
|
50
|
+
@include mixins.element();
|
|
46
51
|
background-color: var(--#{variables.$prefix}color-default-card-footer-back);
|
|
47
52
|
border-radius: 0 0 var(--#{variables.$prefix}border-radius-medium)
|
|
48
53
|
var(--#{variables.$prefix}border-radius-medium);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
3
4
|
|
|
4
5
|
@mixin dialogue-message-arrow-base() {
|
|
5
6
|
&:after,
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
.dialogue {
|
|
30
|
+
@include mixins.element();
|
|
29
31
|
--#{variables.$prefix}dialogue-avatar-size: var(
|
|
30
32
|
--#{variables.$prefix}dialogue-avatar-size-default
|
|
31
33
|
);
|
|
@@ -100,6 +102,7 @@
|
|
|
100
102
|
|
|
101
103
|
> .dialogue-avatar-container,
|
|
102
104
|
> .dialogue-content-container {
|
|
105
|
+
@include mixins.element();
|
|
103
106
|
display: block;
|
|
104
107
|
max-width: 100%;
|
|
105
108
|
margin: 0;
|
|
@@ -110,6 +113,7 @@
|
|
|
110
113
|
flex: 0 0 var(--#{variables.$prefix}dialogue-avatar-size);
|
|
111
114
|
padding-top: var(--#{variables.$prefix}dialogue-avatar-top-offset);
|
|
112
115
|
> .dialogue-avatar {
|
|
116
|
+
@include mixins.element();
|
|
113
117
|
aspect-ratio: 1;
|
|
114
118
|
display: block;
|
|
115
119
|
align-items: center;
|
|
@@ -131,6 +135,7 @@
|
|
|
131
135
|
border-width: var(--#{variables.$prefix}dialogue-border-width);
|
|
132
136
|
}
|
|
133
137
|
> .dialogue-name {
|
|
138
|
+
@include mixins.element();
|
|
134
139
|
background-color: var(
|
|
135
140
|
--#{variables.$prefix}color-default-dialogue-name-back
|
|
136
141
|
);
|
|
@@ -147,6 +152,7 @@
|
|
|
147
152
|
z-index: 1;
|
|
148
153
|
}
|
|
149
154
|
> .dialogue-message {
|
|
155
|
+
@include mixins.element();
|
|
150
156
|
background-color: var(
|
|
151
157
|
--#{variables.$prefix}color-default-dialogue-message-back
|
|
152
158
|
);
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
3
4
|
|
|
4
5
|
.footer {
|
|
6
|
+
@include mixins.element();
|
|
5
7
|
background-color: var(--#{variables.$prefix}color-default-footer-back);
|
|
6
8
|
color: var(--#{variables.$prefix}color-default-footer-fore);
|
|
7
9
|
padding: 2rem 0;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
@use "../variables/index.scss" as variables;
|
|
2
|
+
@use "../mixins/index.scss" as mixins;
|
|
2
3
|
|
|
3
4
|
@mixin heading() {
|
|
5
|
+
@include mixins.element();
|
|
4
6
|
display: block;
|
|
5
7
|
font-family: var(--#{variables.$prefix}font-family-heading);
|
|
6
8
|
font-weight: var(--#{variables.$prefix}font-weight-semibold);
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
3
4
|
|
|
4
5
|
.input {
|
|
6
|
+
@include mixins.element();
|
|
5
7
|
background-color: var(--#{variables.$prefix}color-default-back);
|
|
6
8
|
border-color: var(--#{variables.$prefix}color-default-border);
|
|
7
9
|
border-radius: var(--#{variables.$prefix}border-radius-medium);
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
3
4
|
|
|
4
5
|
.label {
|
|
6
|
+
@include mixins.element();
|
|
5
7
|
font-weight: var(--#{variables.$prefix}font-weight-semibold);
|
|
6
8
|
@if (not variables.$is-skelton) {
|
|
7
9
|
@each $color in variables.$colors {
|
package/src/components/link.scss
CHANGED
package/src/components/list.scss
CHANGED
package/src/components/main.scss
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
3
4
|
|
|
4
5
|
.message {
|
|
6
|
+
@include mixins.element();
|
|
5
7
|
display: block;
|
|
6
8
|
background-color: var(--#{variables.$prefix}color-default-message-back);
|
|
7
9
|
border-color: var(--#{variables.$prefix}color-default-message-border);
|
|
@@ -10,6 +12,7 @@
|
|
|
10
12
|
border-width: var(--#{variables.$prefix}border-width-thin);
|
|
11
13
|
color: var(--#{variables.$prefix}color-default-messaage-fore);
|
|
12
14
|
>.message-header {
|
|
15
|
+
@include mixins.element();
|
|
13
16
|
background-color: var(--#{variables.$prefix}color-default-message-header-back);
|
|
14
17
|
border-radius: var(--#{variables.$prefix}border-radius-medium) var(--#{variables.$prefix}border-radius-medium) 0 0;
|
|
15
18
|
color: var(--#{variables.$prefix}color-default-message-header-fore);
|
|
@@ -19,6 +22,7 @@
|
|
|
19
22
|
padding: 0.5rem;
|
|
20
23
|
}
|
|
21
24
|
>.message-body {
|
|
25
|
+
@include mixins.element();
|
|
22
26
|
background-color: var(--#{variables.$prefix}color-default-message-body-back);
|
|
23
27
|
border-radius: 0 0 var(--#{variables.$prefix}border-radius-medium) var(--#{variables.$prefix}border-radius-medium);
|
|
24
28
|
color: var(--#{variables.$prefix}color-default-message-body-fore);
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
3
4
|
|
|
4
5
|
.modal {
|
|
6
|
+
@include mixins.element();
|
|
5
7
|
align-items: center;
|
|
6
8
|
background-color: oklch(var(--#{variables.$prefix}color-default-back-oklch) / 0.75);
|
|
7
9
|
display: none;
|
|
@@ -18,6 +20,7 @@
|
|
|
18
20
|
display: flex;
|
|
19
21
|
}
|
|
20
22
|
>.modal-content {
|
|
23
|
+
@include mixins.element();
|
|
21
24
|
max-height: 100%;
|
|
22
25
|
max-width: 100%;
|
|
23
26
|
min-height: 2rem;
|
package/src/components/nav.scss
CHANGED
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
@use "../mixins/index.scss" as mixins;
|
|
4
4
|
|
|
5
5
|
.nav {
|
|
6
|
+
@include mixins.element();
|
|
6
7
|
min-height: 4rem;
|
|
7
8
|
padding: 0.25rem 0;
|
|
8
9
|
.nav-static {
|
|
10
|
+
@include mixins.element();
|
|
9
11
|
@include mixins.add-responsible-visible() {
|
|
10
12
|
display: flex;
|
|
11
13
|
.nav-brand {
|
|
14
|
+
@include mixins.element();
|
|
12
15
|
display: flex;
|
|
13
16
|
flex-basis: 0;
|
|
14
17
|
flex-grow: 1;
|
|
@@ -22,6 +25,7 @@
|
|
|
22
25
|
.left,
|
|
23
26
|
.center,
|
|
24
27
|
.right {
|
|
28
|
+
@include mixins.element();
|
|
25
29
|
display: block;
|
|
26
30
|
flex-basis: 0;
|
|
27
31
|
flex-grow: 1;
|
|
@@ -45,6 +49,7 @@
|
|
|
45
49
|
}
|
|
46
50
|
}
|
|
47
51
|
.nav-menu {
|
|
52
|
+
@include mixins.element();
|
|
48
53
|
display: flex;
|
|
49
54
|
flex-basis: 0;
|
|
50
55
|
flex-grow: 1;
|
|
@@ -53,6 +58,7 @@
|
|
|
53
58
|
margin: auto;
|
|
54
59
|
position: relative;
|
|
55
60
|
.nav-menu-item {
|
|
61
|
+
@include mixins.element();
|
|
56
62
|
cursor: pointer;
|
|
57
63
|
display: block;
|
|
58
64
|
flex-basis: 0;
|
|
@@ -74,6 +80,7 @@
|
|
|
74
80
|
-2px 0px 1px var(--#{variables.$prefix}color-default-shadow),
|
|
75
81
|
0px -2px 1px var(--#{variables.$prefix}color-default-shadow);
|
|
76
82
|
.icon {
|
|
83
|
+
@include mixins.element();
|
|
77
84
|
filter: drop-shadow(2px 2px 1px var(--#{variables.$prefix}color-default-shadow))
|
|
78
85
|
drop-shadow(-2px 2px 1px var(--#{variables.$prefix}color-default-shadow))
|
|
79
86
|
drop-shadow(2px -2px 1px var(--#{variables.$prefix}color-default-shadow))
|
|
@@ -121,9 +128,11 @@
|
|
|
121
128
|
}
|
|
122
129
|
}
|
|
123
130
|
.nav-accordion {
|
|
131
|
+
@include mixins.element();
|
|
124
132
|
@include mixins.add-responsible-visible() {
|
|
125
133
|
display: block;
|
|
126
134
|
.nav-brand {
|
|
135
|
+
@include mixins.element();
|
|
127
136
|
display: flex;
|
|
128
137
|
.nav-brand-left,
|
|
129
138
|
.nav-brand-center,
|
|
@@ -131,6 +140,7 @@
|
|
|
131
140
|
.left,
|
|
132
141
|
.center,
|
|
133
142
|
.right {
|
|
143
|
+
@include mixins.element();
|
|
134
144
|
display: block;
|
|
135
145
|
flex-basis: 0;
|
|
136
146
|
flex-grow: 1;
|
|
@@ -156,12 +166,14 @@
|
|
|
156
166
|
}
|
|
157
167
|
}
|
|
158
168
|
.nav-menu {
|
|
169
|
+
@include mixins.element();
|
|
159
170
|
display: none;
|
|
160
171
|
padding: 0.5rem;
|
|
161
172
|
&.is-active {
|
|
162
173
|
display: block;
|
|
163
174
|
}
|
|
164
175
|
.nav-menu-item {
|
|
176
|
+
@include mixins.element();
|
|
165
177
|
color: var(--#{variables.$prefix}color-default-fore);
|
|
166
178
|
width: 100%;
|
|
167
179
|
display: block;
|
|
@@ -233,6 +233,13 @@
|
|
|
233
233
|
|
|
234
234
|
//#region backgrounds
|
|
235
235
|
|
|
236
|
+
//#region dot
|
|
237
|
+
$dot: map.get($colorShade, "dot");
|
|
238
|
+
@if ($dot != null) {
|
|
239
|
+
@include setColor($dot, "default", $name, "dot");
|
|
240
|
+
}
|
|
241
|
+
//#endregion dot
|
|
242
|
+
|
|
236
243
|
//#region gingham
|
|
237
244
|
$gingham: map.get($colorShade, "gingham");
|
|
238
245
|
@if ($gingham != null) {
|
|
@@ -388,6 +395,13 @@
|
|
|
388
395
|
|
|
389
396
|
//#region backgrounds
|
|
390
397
|
|
|
398
|
+
//#region dot
|
|
399
|
+
$dot: map.get($colorShade, "dot");
|
|
400
|
+
@if ($dot != null) {
|
|
401
|
+
@include setColor($dot, $colorName, $name, "dot");
|
|
402
|
+
}
|
|
403
|
+
//#endregion dot
|
|
404
|
+
|
|
391
405
|
//#region gingham
|
|
392
406
|
$gingham: map.get($colorShade, "gingham");
|
|
393
407
|
@if ($gingham != null) {
|
package/src/layouts/columns.scss
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
.columns {
|
|
7
7
|
--#{variables.$prefix}gutter-x: 0;
|
|
8
8
|
--#{variables.$prefix}gutter-y: 0;
|
|
9
|
-
|
|
9
|
+
@include mixins.element();
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: row;
|
|
12
12
|
flex-wrap: wrap;
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.column {
|
|
67
|
+
@include mixins.element();
|
|
67
68
|
@include mixins.column();
|
|
68
69
|
flex-grow: 1;
|
|
69
70
|
flex-shrink: 0;
|
|
@@ -76,6 +77,7 @@
|
|
|
76
77
|
}
|
|
77
78
|
@for $num from 1 through variables.$columns-count {
|
|
78
79
|
.column-#{$num} {
|
|
80
|
+
@include mixins.element();
|
|
79
81
|
@include mixins.column();
|
|
80
82
|
flex-basis: math.percentage(math.div($num, variables.$columns-count));
|
|
81
83
|
max-width: math.percentage(math.div($num, variables.$columns-count));
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
.container {
|
|
6
6
|
--#{variables.$prefix}gutter-x: 0;
|
|
7
7
|
--#{variables.$prefix}gutter-y: 0;
|
|
8
|
-
|
|
8
|
+
@include mixins.element();
|
|
9
9
|
padding-top: calc(var(--#{variables.$prefix}gutter-y) * 0.5);
|
|
10
10
|
padding-bottom: calc(var(--#{variables.$prefix}gutter-y) * 0.5);
|
|
11
11
|
padding-right: calc(var(--#{variables.$prefix}gutter-x) * 0.5);
|
package/src/mixins/index.scss
CHANGED
package/src/variables/color.scss
CHANGED
|
@@ -38,6 +38,11 @@ $color-light-lightness-border: 70 !default;
|
|
|
38
38
|
$color-light-lightness-placeholder: 70 !default;
|
|
39
39
|
$color-light-lightness-shadow: 70 !default;
|
|
40
40
|
|
|
41
|
+
//#region color-light-lightness-dot
|
|
42
|
+
$color-light-lightness-dot-fore: 85 !default;
|
|
43
|
+
$color-light-lightness-dot-back: 95 !default;
|
|
44
|
+
//#endregion color-light-lightness-dot
|
|
45
|
+
|
|
41
46
|
//#region color-light-lightness-gingham
|
|
42
47
|
$color-light-lightness-gingham-fore: 85 !default;
|
|
43
48
|
$color-light-lightness-gingham-back: 95 !default;
|
|
@@ -146,6 +151,11 @@ $color-dark-lightness-border: 50 !default;
|
|
|
146
151
|
$color-dark-lightness-placeholder: 50 !default;
|
|
147
152
|
$color-dark-lightness-shadow: 50 !default;
|
|
148
153
|
|
|
154
|
+
//#region color-dark-lightness-dot
|
|
155
|
+
$color-dark-lightness-dot-fore: 5 !default;
|
|
156
|
+
$color-dark-lightness-dot-back: 15 !default;
|
|
157
|
+
//#endregion color-dark-lightness-dot
|
|
158
|
+
|
|
149
159
|
//#region color-dark-lightness-gingham
|
|
150
160
|
$color-dark-lightness-gingham-fore: 5 !default;
|
|
151
161
|
$color-dark-lightness-gingham-back: 15 !default;
|
|
@@ -270,6 +280,10 @@ $colorShadesLight: (
|
|
|
270
280
|
border: functions.zeroPadding($color-light-lightness-border, 2),
|
|
271
281
|
placeholder: functions.zeroPadding($color-light-lightness-placeholder, 2),
|
|
272
282
|
shadow: functions.zeroPadding($color-light-lightness-shadow, 2),
|
|
283
|
+
dot: (
|
|
284
|
+
fore: functions.zeroPadding($color-light-lightness-dot-fore, 2),
|
|
285
|
+
back: functions.zeroPadding($color-light-lightness-dot-back, 2),
|
|
286
|
+
),
|
|
273
287
|
gingham: (
|
|
274
288
|
fore: functions.zeroPadding($color-light-lightness-gingham-fore, 2),
|
|
275
289
|
back: functions.zeroPadding($color-light-lightness-gingham-back, 2),
|
|
@@ -754,6 +768,10 @@ $colorShadesDark: (
|
|
|
754
768
|
border: functions.zeroPadding($color-dark-lightness-border, 2),
|
|
755
769
|
placeholder: functions.zeroPadding($color-dark-lightness-placeholder, 2),
|
|
756
770
|
shadow: functions.zeroPadding($color-dark-lightness-shadow, 2),
|
|
771
|
+
dot: (
|
|
772
|
+
fore: functions.zeroPadding($color-dark-lightness-dot-fore, 2),
|
|
773
|
+
back: functions.zeroPadding($color-dark-lightness-dot-back, 2),
|
|
774
|
+
),
|
|
757
775
|
gingham: (
|
|
758
776
|
fore: functions.zeroPadding($color-dark-lightness-gingham-fore, 2),
|
|
759
777
|
back: functions.zeroPadding($color-dark-lightness-gingham-back, 2),
|