@appartmint/mint 0.11.8 → 0.11.10
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/LICENSE.md +1 -1
- package/dist/css/mint.css +14 -6
- package/dist/css/mint.css.map +1 -1
- package/dist/css/mint.min.css +1 -1
- package/dist/css/mint.min.css.map +1 -1
- package/dist/css/noscript.css.map +1 -1
- package/dist/css/noscript.min.css.map +1 -1
- package/dist/js/imports/util/icon.d.ts.map +1 -1
- package/dist/js/index.js +5 -2
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.min.js +1 -1
- package/dist/js/index.min.js.map +1 -1
- package/package.json +3 -2
- package/src/scss/imports/components/_buttons.scss +1 -1
- package/src/scss/imports/components/_footer.scss +2 -2
- package/src/scss/imports/components/_header.scss +3 -3
- package/src/scss/imports/components/_image.scss +1 -1
- package/src/scss/imports/global/_animations.scss +2 -2
- package/src/scss/imports/global/_aspect.scss +1 -1
- package/src/scss/imports/global/_index.scss +1 -0
- package/src/scss/imports/global/_structure.scss +129 -119
- package/src/scss/imports/global/_text.scss +3 -3
- package/src/scss/imports/global/_texture.scss +78 -0
- package/src/scss/imports/global/_themes.scss +2 -2
- package/src/scss/imports/util/_util.scss +2 -2
- package/src/scss/imports/util/_vars.scss +23 -3
- package/src/scss/mint.scss +1 -1
- package/src/scss/noscript.scss +1 -1
|
@@ -3,66 +3,66 @@
|
|
|
3
3
|
|
|
4
4
|
/// Structure styles
|
|
5
5
|
#{class(pad)} {
|
|
6
|
-
|
|
6
|
+
@include break-util(padding, 1rem, 0);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
#{class(margin)} {
|
|
10
|
-
|
|
10
|
+
@include break-util(margin, 1rem, 0);
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
&-auto {
|
|
13
|
+
margin-left: auto;
|
|
14
|
+
margin-right: auto;
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
&-v {
|
|
17
|
+
margin: 1rem auto;
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
@for $i from 0 through 6 {
|
|
20
|
+
&#{$i} {
|
|
21
|
+
margin: 1rem * $i auto;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
25
|
|
|
26
26
|
&-t {
|
|
27
27
|
margin-top: 1rem;
|
|
28
28
|
margin-left: auto;
|
|
29
|
-
|
|
29
|
+
margin-right: auto;
|
|
30
30
|
|
|
31
31
|
@for $i from 0 through 6 {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
&#{$i} {
|
|
33
|
+
margin-top: 1rem * $i;
|
|
34
34
|
margin-left: auto;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
margin-right: auto;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
&-b {
|
|
41
41
|
margin-bottom: 1rem;
|
|
42
42
|
margin-left: auto;
|
|
43
|
-
|
|
43
|
+
margin-right: auto;
|
|
44
44
|
|
|
45
45
|
@for $i from 0 through 6 {
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
&#{$i} {
|
|
47
|
+
margin-bottom: 1rem * $i;
|
|
48
48
|
margin-left: auto;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
margin-right: auto;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
}
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
&-v {
|
|
56
|
+
margin-top: 1rem;
|
|
57
57
|
margin-bottom: 1rem;
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
@for $i from 0 through 6 {
|
|
60
|
+
&#{$i} {
|
|
61
|
+
margin-top: 1rem * $i;
|
|
62
62
|
margin-bottom: 1rem * $i;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
66
|
|
|
67
67
|
&-t {
|
|
68
68
|
margin-top: 1rem;
|
|
@@ -84,80 +84,82 @@
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
&-h {
|
|
88
|
+
margin-left: 1rem;
|
|
89
89
|
margin-right: 1rem;
|
|
90
90
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
@for $i from 0 through 6 {
|
|
92
|
+
&#{$i} {
|
|
93
|
+
margin-left: 1rem * $i;
|
|
94
94
|
margin-right: 1rem * $i;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
98
|
|
|
99
99
|
&-l {
|
|
100
|
-
|
|
100
|
+
margin-left: 1rem;
|
|
101
101
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
102
|
+
@for $i from 0 through 6 {
|
|
103
|
+
&#{$i} {
|
|
104
|
+
margin-left: 1rem * $i;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
108
|
|
|
109
109
|
&-r {
|
|
110
110
|
margin-right: 1rem;
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
@for $i from 0 through 6 {
|
|
113
|
+
&#{$i} {
|
|
114
114
|
margin-right: 1rem * $i;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
section {
|
|
121
121
|
width: 100%;
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
123
|
+
&#{class(smaller)} {
|
|
124
|
+
margin-left: auto;
|
|
125
|
+
margin-right: auto;
|
|
126
|
+
max-width: break(xs);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&#{class(small)} {
|
|
130
|
+
margin-left: auto;
|
|
131
|
+
margin-right: auto;
|
|
132
|
+
max-width: break(sm);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&#{class(default)} {
|
|
136
|
+
margin-left: auto;
|
|
137
|
+
margin-right: auto;
|
|
138
|
+
max-width: break(md);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&#{class(big)} {
|
|
142
|
+
margin-left: auto;
|
|
143
|
+
margin-right: auto;
|
|
144
|
+
max-width: break(lg);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&#{class(bigger)} {
|
|
148
|
+
margin-left: auto;
|
|
149
|
+
margin-right: auto;
|
|
150
|
+
max-width: break(xl);
|
|
151
|
+
}
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
#{class(center)} {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
155
|
+
align-items: center;
|
|
156
|
+
justify-content: center;
|
|
157
|
+
text-align: center;
|
|
158
158
|
|
|
159
159
|
&-down {
|
|
160
|
-
|
|
160
|
+
|
|
161
|
+
&,
|
|
162
|
+
& * {
|
|
161
163
|
align-items: center;
|
|
162
164
|
justify-content: center;
|
|
163
165
|
text-align: center;
|
|
@@ -166,48 +168,48 @@ section {
|
|
|
166
168
|
}
|
|
167
169
|
|
|
168
170
|
#{class(grid)} {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
display: grid;
|
|
172
|
+
grid-template-columns: 1fr;
|
|
173
|
+
gap: $grid-gap;
|
|
174
|
+
margin: $grid-gap 0;
|
|
173
175
|
|
|
174
|
-
|
|
176
|
+
&>* {
|
|
175
177
|
margin: 0;
|
|
176
178
|
}
|
|
177
179
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
180
|
+
&#{class('2')} {
|
|
181
|
+
@include break(sm) {
|
|
182
|
+
grid-template-columns: repeat(2, 1fr);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
183
185
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
&#{class('3')} {
|
|
187
|
+
@include break(sm) {
|
|
188
|
+
grid-template-columns: repeat(2, 1fr);
|
|
189
|
+
}
|
|
188
190
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
@include break(lg) {
|
|
192
|
+
grid-template-columns: repeat(3, 1fr);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
193
195
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
&#{class('4')} {
|
|
197
|
+
@include break(sm) {
|
|
198
|
+
grid-template-columns: repeat(2, 1fr);
|
|
199
|
+
}
|
|
198
200
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
201
|
+
@include break(lg) {
|
|
202
|
+
grid-template-columns: repeat(3, 1fr);
|
|
203
|
+
}
|
|
202
204
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
@include break(xl) {
|
|
206
|
+
grid-template-columns: repeat(4, 1fr);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
207
209
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
210
|
+
#{class(portrait)} {
|
|
211
|
+
grid-row: span 2;
|
|
212
|
+
}
|
|
211
213
|
}
|
|
212
214
|
|
|
213
215
|
#{class(fit)} {
|
|
@@ -216,3 +218,11 @@ section {
|
|
|
216
218
|
margin-left: auto;
|
|
217
219
|
margin-right: auto;
|
|
218
220
|
}
|
|
221
|
+
|
|
222
|
+
#{class(left)} {
|
|
223
|
+
float: left;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
#{class(right)} {
|
|
227
|
+
float: right;
|
|
228
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// text.scss - Text styles
|
|
2
|
-
/// @author App
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
3
|
///
|
|
4
|
-
/// @group
|
|
4
|
+
/// @group Text
|
|
5
5
|
@charset 'utf-8';
|
|
6
6
|
|
|
7
7
|
/// Imports
|
|
@@ -18,7 +18,7 @@ html, body {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
p {
|
|
21
|
-
line-height:
|
|
21
|
+
line-height: $font-height;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
@include headers () {
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/// _texture.scss - Texture styles
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
|
+
///
|
|
4
|
+
/// @group Texture
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Imports
|
|
8
|
+
@use '../util' as *;
|
|
9
|
+
|
|
10
|
+
/// Texture Mixin
|
|
11
|
+
@mixin mint-texture () {
|
|
12
|
+
position: relative;
|
|
13
|
+
|
|
14
|
+
&::before {
|
|
15
|
+
content: '';
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: 0;
|
|
18
|
+
left: 0;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
pointer-events: none;
|
|
22
|
+
opacity: $texture-opacity;
|
|
23
|
+
background-image: url($texture-bg);
|
|
24
|
+
background-size: $texture-bg-size;
|
|
25
|
+
background-position: $texture-bg-position;
|
|
26
|
+
@if ($texture-blend) {
|
|
27
|
+
mix-blend-mode: $texture-blend;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
& > * {
|
|
32
|
+
position: relative;
|
|
33
|
+
z-index: 10;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/// Border Mixin
|
|
38
|
+
@mixin mint-border () {
|
|
39
|
+
padding: $texture-padding + $texture-border-width;
|
|
40
|
+
border-image-source: url($texture-border-image);
|
|
41
|
+
border-image-slice: $texture-border-slice;
|
|
42
|
+
border-image-repeat: #{$texture-border-repeat};
|
|
43
|
+
border-image-width: $texture-border-width;
|
|
44
|
+
border-style: $texture-border-type;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/// Texture Styles
|
|
48
|
+
#{class(texture)} {
|
|
49
|
+
@if $texture-bg {
|
|
50
|
+
@include mint-texture();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/// Border Styles
|
|
55
|
+
#{class(border)} {
|
|
56
|
+
@extend #{class(texture)};
|
|
57
|
+
@if $texture-border-image {
|
|
58
|
+
@include mint-border();
|
|
59
|
+
} @else if $texture-border-color {
|
|
60
|
+
border: $texture-border-width $texture-border-type css-var($texture-border-color);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
#{class(frame)} {
|
|
65
|
+
@extend #{class(border)};
|
|
66
|
+
@if $texture-border-image {
|
|
67
|
+
padding: $texture-border-width;
|
|
68
|
+
} @else if $texture-border-color {
|
|
69
|
+
padding: 0;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
#{class(card)} {
|
|
75
|
+
#{class(content)} {
|
|
76
|
+
@extend #{class(border)};
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
///
|
|
2
|
-
/// @author App
|
|
1
|
+
/// _vars.scss - Global variables
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
3
|
///
|
|
4
4
|
/// @group Vars
|
|
5
5
|
@charset 'utf-8';
|
|
@@ -56,6 +56,7 @@ $font-primary: sans-serif !default;
|
|
|
56
56
|
$font-secondary: serif !default;
|
|
57
57
|
$font-backups: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' !default;
|
|
58
58
|
$font-secondary-backups: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' !default;
|
|
59
|
+
$font-height: 1.25 !default;
|
|
59
60
|
|
|
60
61
|
/// Font Sizes
|
|
61
62
|
$font-size-mobile: (
|
|
@@ -115,7 +116,10 @@ $btn-fore: fore !default;
|
|
|
115
116
|
$btn-fore-alt: $btn-fore !default;
|
|
116
117
|
$btn-fore-hover: back !default;
|
|
117
118
|
$btn-fore-alt-hover: $btn-fore-hover !default;
|
|
118
|
-
$btn-back: brand-
|
|
119
|
+
$btn-back: brand-2 !default;
|
|
120
|
+
@if ($theme-default == dark) {
|
|
121
|
+
$btn-back: brand-5;
|
|
122
|
+
}
|
|
119
123
|
$btn-back-alt: trans !default;
|
|
120
124
|
$btn-back-alt-hover: accent-2 !default;
|
|
121
125
|
$btn-border: brand-3 !default;
|
|
@@ -132,3 +136,19 @@ $card-radius: $border-radius !default;
|
|
|
132
136
|
$card-shadow-color: $shadow-color !default;
|
|
133
137
|
$card-shadow-size: $shadow-size !default;
|
|
134
138
|
$card-logo-size: 4rem !default;
|
|
139
|
+
|
|
140
|
+
/// Texture
|
|
141
|
+
$texture-padding: 1rem !default;
|
|
142
|
+
|
|
143
|
+
$texture-bg: null !default;
|
|
144
|
+
$texture-bg-size: cover !default;
|
|
145
|
+
$texture-bg-position: center !default;
|
|
146
|
+
$texture-blend: null !default;
|
|
147
|
+
$texture-opacity: 1 !default;
|
|
148
|
+
|
|
149
|
+
$texture-border-width: 1.25rem !default;
|
|
150
|
+
$texture-border-type: solid !default;
|
|
151
|
+
$texture-border-color: null !default;
|
|
152
|
+
$texture-border-image: null !default;
|
|
153
|
+
$texture-border-slice: 42 42 !default;
|
|
154
|
+
$texture-border-repeat: round !default;
|
package/src/scss/mint.scss
CHANGED
package/src/scss/noscript.scss
CHANGED