@appartmint/mint 2.1.10 → 2.2.0
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
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
@charset 'utf-8';
|
|
6
6
|
|
|
7
7
|
/// Imports
|
|
8
|
+
@use 'sass:list';
|
|
8
9
|
@use 'sass:math';
|
|
9
10
|
@use '../util' as *;
|
|
10
11
|
|
|
@@ -103,12 +104,12 @@
|
|
|
103
104
|
}
|
|
104
105
|
|
|
105
106
|
/// Alt Texture Styles
|
|
106
|
-
@if $texture-alt-bg
|
|
107
|
-
@for $num from 1 through $texture-alt-
|
|
107
|
+
@if list.length($texture-alt-bg) {
|
|
108
|
+
@for $num from 1 through list.length($texture-alt-bg) {
|
|
108
109
|
#{class(texture-#{$num})} {
|
|
109
110
|
#{class(content)} {
|
|
110
111
|
&::after {
|
|
111
|
-
background-image: url('#{$texture-alt-bg
|
|
112
|
+
background-image: url('#{list.nth($texture-alt-bg, $num)}');
|
|
112
113
|
}
|
|
113
114
|
}
|
|
114
115
|
}
|
|
@@ -158,7 +158,6 @@ $texture-filter: null !default;
|
|
|
158
158
|
$texture-opacity: 1 !default;
|
|
159
159
|
|
|
160
160
|
$texture-alt-bg: null !default;
|
|
161
|
-
$texture-alt-num: 0 !default;
|
|
162
161
|
$texture-alt-opacity: 1 !default;
|
|
163
162
|
$texture-alt-bg-size: cover !default;
|
|
164
163
|
$texture-alt-bg-position: center !default;
|