@appartmint/mint 0.15.8 → 0.15.9

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": "@appartmint/mint",
3
3
  "author": "App Art Mint LLC",
4
- "version": "0.15.8",
4
+ "version": "0.15.9",
5
5
  "license": "MIT",
6
6
  "description": "The front-end TS/SCSS framework of App Art Mint",
7
7
  "keywords": [
@@ -9,10 +9,30 @@
9
9
 
10
10
  /// Background Styles
11
11
  #{class(bg)} {
12
- display: block;
13
- opacity: 0;
14
- height: 0;
15
- width: 0;
16
- z-index: -1;
17
- transform: none !important;
12
+ display: block;
13
+ opacity: 0;
14
+ height: 0;
15
+ width: 0;
16
+ z-index: -1;
17
+ transform: none !important;
18
+ }
19
+
20
+ #{class(background)} {
21
+ position: fixed;
22
+ left: 0;
23
+ top: 0;
24
+ width: 100vw;
25
+ height: 100vh;
26
+ object-fit: cover;
27
+ background-size: cover;
28
+ background-position: center;
29
+ background-repeat: no-repeat;
30
+ z-index: 0;
31
+ filter: opacity(0) blur(10vw);
32
+ transition: filter 1000ms ease-out;
33
+
34
+ &.active {
35
+ opacity: 1;
36
+ filter: opacity(1) blur($back-bg-blur);
37
+ }
18
38
  }
@@ -171,6 +171,9 @@ $texture-border-image: null !default;
171
171
  $texture-border-slice: 42 42 !default;
172
172
  $texture-border-repeat: round !default;
173
173
 
174
+ /// Backgrounds
175
+ $back-bg-blur: 0.15vw !default;
176
+
174
177
 
175
178
  /// Themes
176
179
  $theme-default: light !default;