@nulllogic/scssleon 1.0.35 → 1.0.36
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nulllogic/scssleon",
|
|
3
3
|
"description": "Most advanced, simple and clean SCSS framework",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.36",
|
|
5
5
|
"version_short": "1.0",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"css",
|
|
@@ -23,8 +23,10 @@
|
|
|
23
23
|
"docs-build": "docker run --rm -it -v $(pwd):/src klakegg/hugo:alpine",
|
|
24
24
|
"docs-serve": "docker run --rm -it -v $(pwd):/src -p 1313:1313 klakegg/hugo:alpine server"
|
|
25
25
|
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"sass": "^1.77.8"
|
|
28
|
+
},
|
|
26
29
|
"devDependencies": {
|
|
27
|
-
"sass": "^1.77.8",
|
|
28
30
|
"clean-css": "^5.3.3"
|
|
29
31
|
},
|
|
30
32
|
"homepage": "https://nulllogic.github.io/scssleon-docs",
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:meta';
|
|
3
3
|
|
|
4
|
-
@use
|
|
5
|
-
@use
|
|
4
|
+
@use 'properties';
|
|
5
|
+
@use 'wrapper';
|
|
6
6
|
|
|
7
|
-
@use
|
|
7
|
+
@use '../../functions' as functions;
|
|
8
8
|
|
|
9
9
|
@mixin generate-component($component, $class, $config, $theme) {
|
|
10
|
-
$theme-component:
|
|
10
|
+
$theme-component: '';
|
|
11
11
|
|
|
12
12
|
// Checking, if the component was previously defined inside theme components
|
|
13
|
-
@if (meta.type-of($component) ==
|
|
13
|
+
@if (meta.type-of($component) == 'string') {
|
|
14
14
|
/* Loading component settings and styling */
|
|
15
15
|
$theme-component: functions.get-theme(
|
|
16
16
|
$theme,
|
|
17
|
-
|
|
17
|
+
'components' + '.' + $component
|
|
18
18
|
);
|
|
19
19
|
} @else {
|
|
20
20
|
$theme-component: $component;
|
|
@@ -31,3 +31,4 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
//@mixin generate-components($component, $class, $config, $theme) {
|
|
@@ -13,15 +13,20 @@ $html-config: (
|
|
|
13
13
|
html : (
|
|
14
14
|
body : (
|
|
15
15
|
margin: 0,
|
|
16
|
+
|
|
16
17
|
-webkit-text-size-adjust: 100%,
|
|
17
18
|
font-size : 1rem,
|
|
18
19
|
font-weight: normal,
|
|
19
|
-
line-height : 1,
|
|
20
20
|
font-family: var(global(--font-family-default)),
|
|
21
|
+
line-height : 1,
|
|
22
|
+
|
|
21
23
|
color: var(--color),
|
|
22
24
|
background: var(--background),
|
|
25
|
+
|
|
23
26
|
text-rendering: optimizelegibility,
|
|
24
27
|
-webkit-font-smoothing: antialiased,
|
|
28
|
+
font-synthesis-weight: none,
|
|
29
|
+
|
|
25
30
|
colors: (
|
|
26
31
|
light : (
|
|
27
32
|
background: '#fff',
|
|
@@ -45,6 +50,9 @@ $html-config: (
|
|
|
45
50
|
)
|
|
46
51
|
),
|
|
47
52
|
subclasses : (
|
|
53
|
+
"&:hover": (
|
|
54
|
+
text-decoration: none
|
|
55
|
+
),
|
|
48
56
|
"&[target='_blank']" : (
|
|
49
57
|
subclasses : (
|
|
50
58
|
"&:after" : (
|
|
@@ -79,6 +87,9 @@ $html-config: (
|
|
|
79
87
|
height: auto,
|
|
80
88
|
max-width: 100%,
|
|
81
89
|
),
|
|
90
|
+
"h1,h2,h3,h4,h5,h6" : (
|
|
91
|
+
margin: 0
|
|
92
|
+
),
|
|
82
93
|
p : (
|
|
83
94
|
margin: 0
|
|
84
95
|
)
|
|
@@ -133,7 +144,7 @@ $content-config: (
|
|
|
133
144
|
),
|
|
134
145
|
p : (
|
|
135
146
|
margin: 0,
|
|
136
|
-
padding: 0 0 15px 0
|
|
147
|
+
padding: 0 0 15px 0,
|
|
137
148
|
),
|
|
138
149
|
abbr: (
|
|
139
150
|
attributes : (
|
|
@@ -288,14 +299,29 @@ $components-config: (
|
|
|
288
299
|
alert: (
|
|
289
300
|
|
|
290
301
|
--border-radius: .25rem,
|
|
291
|
-
--
|
|
302
|
+
--grid-template-columns: auto auto 1fr,
|
|
303
|
+
--gap : 0.5rem,
|
|
304
|
+
--padding: 0.5rem,
|
|
305
|
+
|
|
306
|
+
--left-column-aligment: start,
|
|
307
|
+
--center-column-alignment: center,
|
|
308
|
+
--right-column-alignment: end,
|
|
292
309
|
|
|
293
310
|
box-shadow: var(--shadow),
|
|
294
311
|
background: var(--background),
|
|
312
|
+
border-radius: var(--border-radius),
|
|
295
313
|
|
|
296
314
|
outline: 1px solid transparent,
|
|
315
|
+
|
|
297
316
|
position: relative,
|
|
298
|
-
display:
|
|
317
|
+
display: grid,
|
|
318
|
+
width: 100%,
|
|
319
|
+
max-width: 100%,
|
|
320
|
+
align-items: center,
|
|
321
|
+
|
|
322
|
+
grid-template-columns: var(--grid-template-columns),
|
|
323
|
+
grid-gap: var(--gap),
|
|
324
|
+
padding: var(--padding),
|
|
299
325
|
|
|
300
326
|
colors: (
|
|
301
327
|
light : (
|
|
@@ -307,8 +333,19 @@ $components-config: (
|
|
|
307
333
|
border: 1px solid rgba(182, 199, 216, .35),
|
|
308
334
|
shadow: string.unquote("inset 0 0.0625rem 0 0 rgba(186, 191, 195, 1), inset 0 0 0 0.0625rem rgba(186, 191, 195, 1)"),
|
|
309
335
|
)
|
|
310
|
-
)
|
|
336
|
+
),
|
|
311
337
|
|
|
338
|
+
subclasses : (
|
|
339
|
+
".left" : (
|
|
340
|
+
justify-self: var(--left-column-alignment),
|
|
341
|
+
),
|
|
342
|
+
".center" : (
|
|
343
|
+
justify-self: var(--center-column-alignment),
|
|
344
|
+
),
|
|
345
|
+
".right" : (
|
|
346
|
+
justify-self: var(--right-column-alignment)
|
|
347
|
+
),
|
|
348
|
+
)
|
|
312
349
|
),
|
|
313
350
|
|
|
314
351
|
accordion : (
|