@nulllogic/scssleon 1.0.1 → 1.0.2
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/package.json +1 -1
- package/scss/_base.scss +31 -0
- package/scss/_config.scss +109 -0
- package/scss/_content.scss +24 -0
- package/scss/_functions.scss +97 -0
- package/scss/_mixins.scss +22 -0
- package/scss/_reset.scss +347 -0
- package/scss/_root.scss +36 -0
- package/scss/_utilities.scss +356 -0
- package/scss/animations/_placeholder.scss +12 -0
- package/scss/components/_accordion.scss +15 -0
- package/scss/components/_alert.scss +15 -0
- package/scss/components/_badge.scss +15 -0
- package/scss/components/_breadcrumb.scss +15 -0
- package/scss/components/_button.scss +15 -0
- package/scss/components/_button_group.scss +15 -0
- package/scss/components/_card.scss +15 -0
- package/scss/components/_container.scss +39 -0
- package/scss/components/_dropdown.scss +5 -0
- package/scss/components/_form.scss +50 -0
- package/scss/components/_loader.scss +15 -0
- package/scss/components/_modal.scss +15 -0
- package/scss/components/_nav.scss +15 -0
- package/scss/components/_navbar.scss +16 -0
- package/scss/components/_overlay.scss +15 -0
- package/scss/components/_pagination.scss +15 -0
- package/scss/components/_placeholder.scss +33 -0
- package/scss/components/_sidecap.scss +15 -0
- package/scss/components/_table.scss +78 -0
- package/scss/forms/_checkbox.scss +33 -0
- package/scss/forms/_input-group.scss +121 -0
- package/scss/forms/_input.scss +34 -0
- package/scss/forms/_label.scss +15 -0
- package/scss/forms/_radio.scss +34 -0
- package/scss/forms/_range.scss +7 -0
- package/scss/forms/_select.scss +34 -0
- package/scss/forms/_switch.scss +18 -0
- package/scss/forms/_validation.scss +12 -0
- package/scss/helpers/_clearfix.scss +5 -0
- package/scss/helpers/_screen_reader.scss +11 -0
- package/scss/helpers/_text_truncate.scss +5 -0
- package/scss/mixins/_border-radius.scss +3 -0
- package/scss/mixins/_box-shadow.scss +16 -0
- package/scss/mixins/_breakpoints.scss +10 -0
- package/scss/mixins/_clearfix.scss +9 -0
- package/scss/mixins/_forms.scss +152 -0
- package/scss/mixins/_gradients.scss +6 -0
- package/scss/mixins/_grid.scss +93 -0
- package/scss/mixins/_transition.scss +30 -0
- package/scss/mixins/_utilities.scss +15 -0
- package/scss/mixins/generators/_color-sheme.scss +17 -0
- package/scss/mixins/generators/_components.scss +33 -0
- package/scss/mixins/generators/_properties.scss +110 -0
- package/scss/mixins/generators/_wrapper.scss +16 -0
- package/scss/mixins/variants/_alert.scss +24 -0
- package/scss/mixins/variants/_button.scss +122 -0
- package/scss/scssleon.scss +205 -0
- package/scss/themes/_default.scss +874 -0
- package/scss/themes/_wordpress_admin.scss +0 -0
- package/scss/utilities/_api.scss +24 -0
- package/.dockerignore +0 -2
- package/.eslintignore +0 -2
- package/.prettierignore +0 -1
- package/Dockerfile +0 -29
- package/Makefile +0 -22
- package/dist/css/scssleon.css +0 -1830
- package/dist/css/scssleon.css.map +0 -1
- /package/{CHANGELOG.md → scss/components/_icon.scss} +0 -0
- /package/{CONTRIBUTING.md → scss/themes/_shopify_app.scss} +0 -0
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
@use "config";
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
$config: nil !default;
|
|
5
|
+
$theme: nil !default;
|
|
6
|
+
|
|
7
|
+
// Utilities
|
|
8
|
+
// @TODO add grid rules here later
|
|
9
|
+
|
|
10
|
+
$utilities: () !default;
|
|
11
|
+
|
|
12
|
+
$utilities: map.merge((
|
|
13
|
+
|
|
14
|
+
"display" : (
|
|
15
|
+
responsive: false,
|
|
16
|
+
property: 'display',
|
|
17
|
+
values: (
|
|
18
|
+
block: block,
|
|
19
|
+
inline-block: inline-block,
|
|
20
|
+
inline: inline,
|
|
21
|
+
flex: flex,
|
|
22
|
+
inline-flex: inline-flex,
|
|
23
|
+
table: table,
|
|
24
|
+
inline-table: inline-table,
|
|
25
|
+
table-caption: table-caption,
|
|
26
|
+
table-cell: table-cell,
|
|
27
|
+
table-column: table-column,
|
|
28
|
+
table-column-group: table-column-group,
|
|
29
|
+
table-footer-group: table-footer-group,
|
|
30
|
+
table-header-group: table-header-group,
|
|
31
|
+
table-row-group: table-row-group,
|
|
32
|
+
table-row: table-row,
|
|
33
|
+
flow-root: flow-root,
|
|
34
|
+
grid: grid,
|
|
35
|
+
inline-grid: inline-grid,
|
|
36
|
+
contents: contents,
|
|
37
|
+
list-item: list-item,
|
|
38
|
+
hidden: hidden
|
|
39
|
+
),
|
|
40
|
+
),
|
|
41
|
+
|
|
42
|
+
// Flex
|
|
43
|
+
"flex": (
|
|
44
|
+
responsive: false,
|
|
45
|
+
property: "flex",
|
|
46
|
+
values: (
|
|
47
|
+
flex-initial: 0 1 auto,
|
|
48
|
+
flex-1: 1 1 0%,
|
|
49
|
+
flex-auto: 1 1 auto,
|
|
50
|
+
flex-none: none
|
|
51
|
+
),
|
|
52
|
+
),
|
|
53
|
+
|
|
54
|
+
"flex-direction" : (
|
|
55
|
+
responsive: false,
|
|
56
|
+
property: "flex-direction",
|
|
57
|
+
values: (
|
|
58
|
+
flex-row: row,
|
|
59
|
+
flex-row-reverse: row-reverse,
|
|
60
|
+
flex-col: column,
|
|
61
|
+
flex-col-reverse: column-reverse
|
|
62
|
+
),
|
|
63
|
+
),
|
|
64
|
+
|
|
65
|
+
"flex-grow" : (
|
|
66
|
+
responsive: false,
|
|
67
|
+
property: "flex-grow",
|
|
68
|
+
values: (
|
|
69
|
+
grow: 1,
|
|
70
|
+
grow-0: 0
|
|
71
|
+
)
|
|
72
|
+
),
|
|
73
|
+
|
|
74
|
+
"flex-shrink" : (
|
|
75
|
+
responsive: false,
|
|
76
|
+
property: "flex-shrink",
|
|
77
|
+
values : (
|
|
78
|
+
shrink : 1,
|
|
79
|
+
shrink-0 : 0
|
|
80
|
+
)
|
|
81
|
+
),
|
|
82
|
+
|
|
83
|
+
"flex-wrap" : (
|
|
84
|
+
responsive: false,
|
|
85
|
+
property: "flex-wrap",
|
|
86
|
+
values : (
|
|
87
|
+
flex-wrap : flex-wrap,
|
|
88
|
+
flex-wrap-reverse: flex-wrap-reverse,
|
|
89
|
+
flex-nowrap: flex-nowrap
|
|
90
|
+
)
|
|
91
|
+
),
|
|
92
|
+
|
|
93
|
+
"order" : (
|
|
94
|
+
responsive: false,
|
|
95
|
+
property: "order",
|
|
96
|
+
values : (
|
|
97
|
+
order-none: 0,
|
|
98
|
+
order-first: -9999,
|
|
99
|
+
order-1: 1,
|
|
100
|
+
order-2: 2,
|
|
101
|
+
order-3: 3,
|
|
102
|
+
order-4: 4,
|
|
103
|
+
order-5: 5,
|
|
104
|
+
order-6: 6,
|
|
105
|
+
order-last: 9999,
|
|
106
|
+
)
|
|
107
|
+
),
|
|
108
|
+
|
|
109
|
+
"align-items" : (
|
|
110
|
+
responsive: false,
|
|
111
|
+
property: "align-items",
|
|
112
|
+
values: (
|
|
113
|
+
align-items-start: flex-start,
|
|
114
|
+
align-items-end: flex-end,
|
|
115
|
+
align-items-center: center,
|
|
116
|
+
align-items-baseline: baseline,
|
|
117
|
+
align-items-stretch: stretch
|
|
118
|
+
)
|
|
119
|
+
),
|
|
120
|
+
|
|
121
|
+
"align-content" : (
|
|
122
|
+
responsive: false,
|
|
123
|
+
property: "align-content",
|
|
124
|
+
values: (
|
|
125
|
+
align-content-center: center,
|
|
126
|
+
align-content-start: flex-start,
|
|
127
|
+
align-content-end: flex-end,
|
|
128
|
+
align-content-between: space-between,
|
|
129
|
+
align-content-around: space-around,
|
|
130
|
+
align-content-evenly: space-evenly
|
|
131
|
+
),
|
|
132
|
+
),
|
|
133
|
+
|
|
134
|
+
"align-self" : (
|
|
135
|
+
responsive: false,
|
|
136
|
+
property: "align-self",
|
|
137
|
+
values: (
|
|
138
|
+
align-self-start : flex-start,
|
|
139
|
+
align-self-end: flex-end,
|
|
140
|
+
align-self-center: center,
|
|
141
|
+
align-self-stretch: stretch,
|
|
142
|
+
align-self-baseline: baseline
|
|
143
|
+
)
|
|
144
|
+
),
|
|
145
|
+
|
|
146
|
+
"justify-content": (
|
|
147
|
+
responsive: false,
|
|
148
|
+
property: "justify-content",
|
|
149
|
+
values: (
|
|
150
|
+
justify-content-start: flex-start,
|
|
151
|
+
justify-content-end: flex-end,
|
|
152
|
+
justify-content-center: center,
|
|
153
|
+
justify-content-between: space-between,
|
|
154
|
+
justify-content-around: space-around,
|
|
155
|
+
justify-content-evenly: space-evenly,
|
|
156
|
+
justify-content-stretch: stretch
|
|
157
|
+
)
|
|
158
|
+
),
|
|
159
|
+
|
|
160
|
+
"justify-items" : (
|
|
161
|
+
responsive: false,
|
|
162
|
+
property: "justify-items",
|
|
163
|
+
values: (
|
|
164
|
+
justify-items-start: start,
|
|
165
|
+
justify-items-end: end,
|
|
166
|
+
justify-items-center: center,
|
|
167
|
+
justify-items-stretch: stretch
|
|
168
|
+
)
|
|
169
|
+
),
|
|
170
|
+
|
|
171
|
+
"justify-self" : (
|
|
172
|
+
responsive: false,
|
|
173
|
+
property: "justify-self",
|
|
174
|
+
values: (
|
|
175
|
+
justify-self-start: start,
|
|
176
|
+
justify-self-end: end,
|
|
177
|
+
justify-self-center: center,
|
|
178
|
+
justify-self-stretch: stretch
|
|
179
|
+
)
|
|
180
|
+
),
|
|
181
|
+
|
|
182
|
+
"vertical-align" : (
|
|
183
|
+
responsive: false,
|
|
184
|
+
property: "vertical-align",
|
|
185
|
+
values: (
|
|
186
|
+
align-baseline: baseline,
|
|
187
|
+
align-top: top,
|
|
188
|
+
align-middle: middle,
|
|
189
|
+
align-bottom: bottom,
|
|
190
|
+
align-text-top: text-top,
|
|
191
|
+
align-text-bottom: text-bottom,
|
|
192
|
+
align-sub: sub,
|
|
193
|
+
align-super: super
|
|
194
|
+
)
|
|
195
|
+
),
|
|
196
|
+
|
|
197
|
+
"float" : (
|
|
198
|
+
responsive: false,
|
|
199
|
+
property: "float",
|
|
200
|
+
values: (
|
|
201
|
+
float-left: left,
|
|
202
|
+
float-right: right,
|
|
203
|
+
float-none: none,
|
|
204
|
+
)
|
|
205
|
+
),
|
|
206
|
+
|
|
207
|
+
"overflow" : (
|
|
208
|
+
responsive: false,
|
|
209
|
+
property: "overflow",
|
|
210
|
+
values: (
|
|
211
|
+
overflow-auto: auto, //@TODO check later
|
|
212
|
+
overflow-hidden: hidden,
|
|
213
|
+
overflow-scroll: scroll,
|
|
214
|
+
overflow-visible: visible
|
|
215
|
+
)
|
|
216
|
+
),
|
|
217
|
+
|
|
218
|
+
"position" : (
|
|
219
|
+
responsive: false,
|
|
220
|
+
property: "position",
|
|
221
|
+
values: (
|
|
222
|
+
static: static,
|
|
223
|
+
fixed: fixed,
|
|
224
|
+
absolute: absolute,
|
|
225
|
+
relative : relative,
|
|
226
|
+
sticky : sticky
|
|
227
|
+
)
|
|
228
|
+
),
|
|
229
|
+
|
|
230
|
+
// "width" : (
|
|
231
|
+
//
|
|
232
|
+
// ),
|
|
233
|
+
//
|
|
234
|
+
"max-width" : (
|
|
235
|
+
responsive: false,
|
|
236
|
+
property: "max-width",
|
|
237
|
+
values: (
|
|
238
|
+
max-w-full : 100%,
|
|
239
|
+
max-w-none: none
|
|
240
|
+
)
|
|
241
|
+
),
|
|
242
|
+
|
|
243
|
+
"min-height" : (
|
|
244
|
+
responsive: false,
|
|
245
|
+
property: "min-height",
|
|
246
|
+
values: (
|
|
247
|
+
min-h-0: 0px,
|
|
248
|
+
min-h-full: 100%,
|
|
249
|
+
min-h-screen: 100vh
|
|
250
|
+
)
|
|
251
|
+
),
|
|
252
|
+
|
|
253
|
+
"text-align" : (
|
|
254
|
+
responsive: false,
|
|
255
|
+
property: "text-align",
|
|
256
|
+
values: (
|
|
257
|
+
"text-left": left,
|
|
258
|
+
"text-right" : right,
|
|
259
|
+
"text-center" : center
|
|
260
|
+
)
|
|
261
|
+
),
|
|
262
|
+
//
|
|
263
|
+
// "word-wrap" : (
|
|
264
|
+
//
|
|
265
|
+
// ),
|
|
266
|
+
//
|
|
267
|
+
"white-space" : (
|
|
268
|
+
responsive: false,
|
|
269
|
+
property: "white-space",
|
|
270
|
+
values: (
|
|
271
|
+
white-space-normal : normal,
|
|
272
|
+
white-space-nowrap: nowrap,
|
|
273
|
+
white-space-brake-spaces: break-spaces
|
|
274
|
+
)
|
|
275
|
+
),
|
|
276
|
+
|
|
277
|
+
"user-select" : (
|
|
278
|
+
responsive: false,
|
|
279
|
+
property: "user-select",
|
|
280
|
+
values: (
|
|
281
|
+
select-none: none,
|
|
282
|
+
select-text: text,
|
|
283
|
+
select-all: all,
|
|
284
|
+
select-auto: auto
|
|
285
|
+
)
|
|
286
|
+
),
|
|
287
|
+
|
|
288
|
+
"visibility" : (
|
|
289
|
+
responsive: false,
|
|
290
|
+
property: "visibility",
|
|
291
|
+
values: (
|
|
292
|
+
visible: visible,
|
|
293
|
+
invisible: invisible,
|
|
294
|
+
collapse: collapse,
|
|
295
|
+
)
|
|
296
|
+
),
|
|
297
|
+
|
|
298
|
+
"grid-rows" : (
|
|
299
|
+
responsive: false,
|
|
300
|
+
property: "grid-template-rows",
|
|
301
|
+
values : (
|
|
302
|
+
grid-rows-1 : repeat(1, minmax(0, 1fr)),
|
|
303
|
+
grid-rows-2 : repeat(2, minmax(0, 1fr)),
|
|
304
|
+
grid-rows-3 : repeat(3, minmax(0, 1fr)),
|
|
305
|
+
grid-rows-4 : repeat(4, minmax(0, 1fr)),
|
|
306
|
+
grid-rows-5 : repeat(5, minmax(0, 1fr)),
|
|
307
|
+
grid-rows-6 : repeat(6, minmax(0, 1fr)),
|
|
308
|
+
grid-rows-none : none
|
|
309
|
+
)
|
|
310
|
+
),
|
|
311
|
+
|
|
312
|
+
"grid-auto-flow" : (
|
|
313
|
+
responsive: false,
|
|
314
|
+
property: "grid-auto-flow",
|
|
315
|
+
values: (
|
|
316
|
+
grid-flow-row : row,
|
|
317
|
+
grid-flow-col : column,
|
|
318
|
+
grid-flow-dense : dense,
|
|
319
|
+
grid-flow-row-dense : row dense,
|
|
320
|
+
grid-flow-col-dense : column dense
|
|
321
|
+
)
|
|
322
|
+
),
|
|
323
|
+
|
|
324
|
+
"grid-auto-columns" : (
|
|
325
|
+
responsive: false,
|
|
326
|
+
property: "grid-auto-columns",
|
|
327
|
+
values: (
|
|
328
|
+
auto-cols-auto : auto,
|
|
329
|
+
auto-cols-min : min-content,
|
|
330
|
+
auto-cols-max : max-content,
|
|
331
|
+
auto-cols-fr : minmax(0, 1fr)
|
|
332
|
+
)
|
|
333
|
+
),
|
|
334
|
+
|
|
335
|
+
"grid-auto-rows" : (
|
|
336
|
+
responsive: false,
|
|
337
|
+
property: "grid-auto-rows",
|
|
338
|
+
values : (
|
|
339
|
+
auto-rows-auto : auto,
|
|
340
|
+
auto-rows-min : min-content,
|
|
341
|
+
auto-rows-max: max-content,
|
|
342
|
+
auto-rows-fr: minmax(0, 1fr)
|
|
343
|
+
)
|
|
344
|
+
),
|
|
345
|
+
|
|
346
|
+
"column-gap" : (
|
|
347
|
+
responsive: false,
|
|
348
|
+
property: "column-gap",
|
|
349
|
+
values: (
|
|
350
|
+
gap-x-1 : .25rem,
|
|
351
|
+
gap-x-2 : .5rem,
|
|
352
|
+
gap-x-3 : .75rem
|
|
353
|
+
)
|
|
354
|
+
)
|
|
355
|
+
|
|
356
|
+
), $utilities)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
┌─┐┌─┐┌─┐┌─┐┬─┐┌┬┐┬┌─┐┌┐┌
|
|
3
|
+
├─┤│ │ │ │├┬┘ ││││ ││││
|
|
4
|
+
┴ ┴└─┘└─┘└─┘┴└──┴┘┴└─┘┘└┘
|
|
5
|
+
**/
|
|
6
|
+
|
|
7
|
+
/* Load settings and functions */
|
|
8
|
+
@use "../mixins" as mixins;
|
|
9
|
+
@use "../functions" as functions;
|
|
10
|
+
|
|
11
|
+
/* SCSS variables definition requirement */
|
|
12
|
+
$config: nil !default;
|
|
13
|
+
$theme: nil !default;
|
|
14
|
+
|
|
15
|
+
@include mixins.generate-component("accordion", "accordion", $config, $theme);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
┌─┐┬ ┌─┐┬─┐┌┬┐┌─┐
|
|
3
|
+
├─┤│ ├┤ ├┬┘ │ └─┐
|
|
4
|
+
┴ ┴┴─┘└─┘┴└─ ┴ └─┘
|
|
5
|
+
**/
|
|
6
|
+
|
|
7
|
+
/* Load settings and functions */
|
|
8
|
+
@use "../mixins" as mixins;
|
|
9
|
+
@use "../functions" as functions;
|
|
10
|
+
|
|
11
|
+
/* SCSS variables definition requirement */
|
|
12
|
+
$config: nil !default;
|
|
13
|
+
$theme: nil !default;
|
|
14
|
+
|
|
15
|
+
@include mixins.generate-component("alert", "alert", $config, $theme);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
┌┐ ┌─┐┌┬┐┌─┐┌─┐
|
|
3
|
+
├┴┐├─┤ │││ ┬├┤
|
|
4
|
+
└─┘┴ ┴─┴┘└─┘└─┘
|
|
5
|
+
**/
|
|
6
|
+
|
|
7
|
+
/* Load settings and functions */
|
|
8
|
+
@use "../mixins" as mixins;
|
|
9
|
+
@use "../functions" as functions;
|
|
10
|
+
|
|
11
|
+
/* SCSS variables definition requirement */
|
|
12
|
+
$config: nil !default;
|
|
13
|
+
$theme: nil !default;
|
|
14
|
+
|
|
15
|
+
@include mixins.generate-component("badge", "badge", $config, $theme);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
┌┐ ┬─┐┌─┐┌─┐┌┬┐┌─┐┬─┐┬ ┬┌┬┐┌┐ ┌─┐
|
|
3
|
+
├┴┐├┬┘├┤ ├─┤ │││ ├┬┘│ ││││├┴┐└─┐
|
|
4
|
+
└─┘┴└─└─┘┴ ┴─┴┘└─┘┴└─└─┘┴ ┴└─┘└─┘
|
|
5
|
+
**/
|
|
6
|
+
|
|
7
|
+
/* Load settings and functions */
|
|
8
|
+
@use "../mixins" as mixins;
|
|
9
|
+
@use "../functions" as functions;
|
|
10
|
+
|
|
11
|
+
/* SCSS variables definition requirement */
|
|
12
|
+
$config: nil !default;
|
|
13
|
+
$theme: nil !default;
|
|
14
|
+
|
|
15
|
+
@include mixins.generate-component("breadcrumb", "breadcrumb", $config, $theme);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
┌┐ ┬ ┬┌┬┐┌┬┐┌─┐┌┐┌┌─┐
|
|
3
|
+
├┴┐│ │ │ │ │ ││││└─┐
|
|
4
|
+
└─┘└─┘ ┴ ┴ └─┘┘└┘└─┘
|
|
5
|
+
**/
|
|
6
|
+
|
|
7
|
+
/* Load settings and functions */
|
|
8
|
+
@use "../mixins" as mixins;
|
|
9
|
+
@use "../functions" as functions;
|
|
10
|
+
|
|
11
|
+
/* SCSS variables definition requirement */
|
|
12
|
+
$config: nil !default;
|
|
13
|
+
$theme: nil !default;
|
|
14
|
+
|
|
15
|
+
@include mixins.generate-component("button", "btn", $config, $theme);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
┌┐ ┬ ┬┌┬┐┌┬┐┌─┐┌┐┌ ┌─┐┬─┐┌─┐┬ ┬┌─┐
|
|
3
|
+
├┴┐│ │ │ │ │ ││││ │ ┬├┬┘│ ││ │├─┘
|
|
4
|
+
└─┘└─┘ ┴ ┴ └─┘┘└┘ └─┘┴└─└─┘└─┘┴
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* Load settings and functions */
|
|
8
|
+
@use "../mixins" as mixins;
|
|
9
|
+
@use "../functions" as functions;
|
|
10
|
+
|
|
11
|
+
/* SCSS variables definition requirement */
|
|
12
|
+
$config: nil !default;
|
|
13
|
+
$theme: nil !default;
|
|
14
|
+
|
|
15
|
+
@include mixins.generate-component("button-group", "btn-group", $config, $theme);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
┌─┐┌─┐┬─┐┌┬┐
|
|
3
|
+
│ ├─┤├┬┘ ││
|
|
4
|
+
└─┘┴ ┴┴└──┴┘
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* Load settings and functions */
|
|
8
|
+
@use "../mixins" as mixins;
|
|
9
|
+
@use "../functions" as functions;
|
|
10
|
+
|
|
11
|
+
/* SCSS variables definition requirement */
|
|
12
|
+
$config: nil !default;
|
|
13
|
+
$theme: nil !default;
|
|
14
|
+
|
|
15
|
+
@include mixins.generate-component("card", "card", $config, $theme);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
┌─┐┌─┐┌┐┌┌┬┐┌─┐┬┌┐┌┌─┐┬─┐
|
|
3
|
+
│ │ ││││ │ ├─┤││││├┤ ├┬┘
|
|
4
|
+
└─┘└─┘┘└┘ ┴ ┴ ┴┴┘└┘└─┘┴└─
|
|
5
|
+
**/
|
|
6
|
+
|
|
7
|
+
@use "sass:map";
|
|
8
|
+
@use "../themes/default" as theme;
|
|
9
|
+
@use "../functions" as functions;
|
|
10
|
+
@use "../mixins" as mixins;
|
|
11
|
+
|
|
12
|
+
$config: nil !default;
|
|
13
|
+
$theme: nil !default;
|
|
14
|
+
|
|
15
|
+
$prefix: functions.get-config($config, "prefix");
|
|
16
|
+
$color_scheme: functions.get-config($config, "color-scheme");
|
|
17
|
+
|
|
18
|
+
$breakpoints: functions.get-config($config, "breakpoints");
|
|
19
|
+
|
|
20
|
+
$container-component: functions.get-theme($theme, "components.container");
|
|
21
|
+
|
|
22
|
+
// Container
|
|
23
|
+
@each $name, $size in $breakpoints {
|
|
24
|
+
@include mixins.breakpoint($size, "min") {
|
|
25
|
+
.container.#{$name} {
|
|
26
|
+
max-width: $size;
|
|
27
|
+
@include mixins.generate-properties(
|
|
28
|
+
"container",
|
|
29
|
+
$container-component,
|
|
30
|
+
$config
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
==[ Note ]==
|
|
38
|
+
We are using mixin here, because @include is not working with @media query in SCSS | 07.12.2023
|
|
39
|
+
**/
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@use '../config';
|
|
2
|
+
@use '../mixins' as mixins;
|
|
3
|
+
|
|
4
|
+
/* SCSS variables definition requirement */
|
|
5
|
+
$config: nil !default;
|
|
6
|
+
$theme: nil !default;
|
|
7
|
+
|
|
8
|
+
@use '../forms/label' with (
|
|
9
|
+
$config : $config,
|
|
10
|
+
$theme : $theme
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
@use '../forms/input' with (
|
|
14
|
+
$config : $config,
|
|
15
|
+
$theme : $theme
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
@use '../forms/select' with (
|
|
19
|
+
$config : $config,
|
|
20
|
+
$theme : $theme
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
@use '../forms/radio' with (
|
|
24
|
+
$config : $config,
|
|
25
|
+
$theme : $theme
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
@use '../forms/checkbox' with (
|
|
29
|
+
$config : $config,
|
|
30
|
+
$theme : $theme
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
@use '../forms/range' with (
|
|
34
|
+
$config : $config,
|
|
35
|
+
$theme : $theme
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
@use '../forms/switch' with (
|
|
39
|
+
$config : $config,
|
|
40
|
+
$theme : $theme
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
//@forward '../forms/form-text';
|
|
45
|
+
//@forward '../forms/form-control';
|
|
46
|
+
//@forward '../forms/form-select';
|
|
47
|
+
//@forward '../forms/form-check';
|
|
48
|
+
//@forward '../forms/form-range';
|
|
49
|
+
//@forward '../forms/input-group';
|
|
50
|
+
//@forward '../forms/validation';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
┬ ┌─┐┌─┐┌┬┐┌─┐┬─┐
|
|
3
|
+
│ │ │├─┤ ││├┤ ├┬┘
|
|
4
|
+
┴─┘└─┘┴ ┴─┴┘└─┘┴└─
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* Load settings and functions */
|
|
8
|
+
@use "../themes/default" as theme;
|
|
9
|
+
@use "../mixins" as mixins;
|
|
10
|
+
|
|
11
|
+
/* SCSS variables definition requirement */
|
|
12
|
+
$config: nil !default;
|
|
13
|
+
$theme: nil !default;
|
|
14
|
+
|
|
15
|
+
@include mixins.generate-component("loader", "loader", $config, $theme);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
┌┬┐┌─┐┌┬┐┌─┐┬
|
|
3
|
+
││││ │ ││├─┤│
|
|
4
|
+
┴ ┴└─┘─┴┘┴ ┴┴─┘
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* Load settings and functions */
|
|
8
|
+
@use "../themes/default" as theme;
|
|
9
|
+
@use "../mixins" as mixins;
|
|
10
|
+
|
|
11
|
+
/* SCSS variables definition requirement */
|
|
12
|
+
$config: nil !default;
|
|
13
|
+
$theme: nil !default;
|
|
14
|
+
|
|
15
|
+
@include mixins.generate-component("modal", "modal", $config, $theme);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
┌┐┌┌─┐┬ ┬
|
|
3
|
+
│││├─┤└┐┌┘
|
|
4
|
+
┘└┘┴ ┴ └┘
|
|
5
|
+
**/
|
|
6
|
+
|
|
7
|
+
/* Load settings and functions */
|
|
8
|
+
@use "../mixins" as mixins;
|
|
9
|
+
|
|
10
|
+
/* SCSS variables definition requirement */
|
|
11
|
+
$config: nil !default;
|
|
12
|
+
$theme: nil !default;
|
|
13
|
+
|
|
14
|
+
@include mixins.generate-component("nav", "nav", $config, $theme);
|
|
15
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
┌┐┌┌─┐┬ ┬┬┌─┐┌─┐┌┬┐┬┌─┐┌┐┌
|
|
3
|
+
│││├─┤└┐┌┘││ ┬├─┤ │ ││ ││││
|
|
4
|
+
┘└┘┴ ┴ └┘ ┴└─┘┴ ┴ ┴ ┴└─┘┘└┘
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* Load settings and functions */
|
|
8
|
+
@use "../mixins" as mixins;
|
|
9
|
+
@use "../functions" as functions;
|
|
10
|
+
|
|
11
|
+
/* SCSS variables definition requirement */
|
|
12
|
+
$config: nil !default;
|
|
13
|
+
$theme: nil !default;
|
|
14
|
+
|
|
15
|
+
@include mixins.generate-component("navbar", "navbar", $config, $theme);
|
|
16
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
┌─┐┬ ┬┌─┐┬─┐┬ ┌─┐┬ ┬
|
|
3
|
+
│ │└┐┌┘├┤ ├┬┘│ ├─┤└┬┘
|
|
4
|
+
└─┘ └┘ └─┘┴└─┴─┘┴ ┴ ┴
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* Load settings and functions */
|
|
8
|
+
@use "../mixins" as mixins;
|
|
9
|
+
@use "../functions" as functions;
|
|
10
|
+
|
|
11
|
+
/* SCSS variables definition requirement */
|
|
12
|
+
$config: nil !default;
|
|
13
|
+
$theme: nil !default;
|
|
14
|
+
|
|
15
|
+
@include mixins.generate-component("overlay", "overlay", $config, $theme);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
┌─┐┌─┐┌─┐┬┌┐┌┌─┐┌┬┐┬┌─┐┌┐┌
|
|
3
|
+
├─┘├─┤│ ┬││││├─┤ │ ││ ││││
|
|
4
|
+
┴ ┴ ┴└─┘┴┘└┘┴ ┴ ┴ ┴└─┘┘└┘
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* Load settings and functions */
|
|
8
|
+
@use "../mixins" as mixins;
|
|
9
|
+
@use "../functions" as functions;
|
|
10
|
+
|
|
11
|
+
/* SCSS variables definition requirement */
|
|
12
|
+
$config: nil !default;
|
|
13
|
+
$theme: nil !default;
|
|
14
|
+
|
|
15
|
+
@include mixins.generate-component("pagination", "pagination", $config, $theme);
|