@nulllogic/scssleon 1.1.0 → 1.1.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 +2 -2
- package/scss/_config.scss +4 -4
- package/scss/_content.scss +5 -9
package/package.json
CHANGED
package/scss/_config.scss
CHANGED
|
@@ -21,11 +21,11 @@ $default-config: (
|
|
|
21
21
|
// Container breakpoints
|
|
22
22
|
$breakpoints-config: (
|
|
23
23
|
breakpoints: (
|
|
24
|
-
sm:
|
|
24
|
+
sm: 640px,
|
|
25
25
|
md: 768px,
|
|
26
|
-
lg:
|
|
27
|
-
xl:
|
|
28
|
-
xxl:
|
|
26
|
+
lg: 1024px,
|
|
27
|
+
xl: 1280px,
|
|
28
|
+
xxl: 1536px,
|
|
29
29
|
),
|
|
30
30
|
) !default;
|
|
31
31
|
|
package/scss/_content.scss
CHANGED
|
@@ -15,17 +15,13 @@ $is-content-enabled: functions.get-config($config, 'enable.content');
|
|
|
15
15
|
$color_scheme: functions.get-config($config, 'color-scheme');
|
|
16
16
|
|
|
17
17
|
@if ($is-content-enabled) {
|
|
18
|
-
|
|
18
|
+
.content {
|
|
19
|
+
@each $tag, $properties in functions.get-theme($theme, 'content') {
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
// Only apply styling to elements, that stand right after `.content` class
|
|
24
|
-
& > #{$tag} {
|
|
25
|
-
@include mixins.generate-properties(#{$tag}, $properties, $config);
|
|
26
|
-
}
|
|
21
|
+
// Only apply styling to elements, that stand right after `.content` class
|
|
22
|
+
& > #{$tag} {
|
|
23
|
+
@include mixins.generate-properties(#{$tag}, $properties, $config);
|
|
27
24
|
}
|
|
28
25
|
}
|
|
29
|
-
|
|
30
26
|
}
|
|
31
27
|
}
|