@appartmint/mint 1.2.5 → 1.2.7

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": "1.2.5",
4
+ "version": "1.2.7",
5
5
  "license": "MIT",
6
6
  "description": "The front-end TS/SCSS framework of App Art Mint",
7
7
  "keywords": [
@@ -50,6 +50,7 @@
50
50
  &>p {
51
51
  margin: 0 auto;
52
52
  text-align: center;
53
+ align-self: center;
53
54
 
54
55
  a {
55
56
  display: block;
@@ -257,7 +257,6 @@
257
257
 
258
258
  a,
259
259
  button {
260
- width: 100%;
261
260
  margin: 0;
262
261
  border: 0;
263
262
  color: css-var($header-link-fore);
@@ -61,8 +61,16 @@ app-root {
61
61
  width: 100%;
62
62
  height: 100%;
63
63
  background-image: url($root-bg-image);
64
+
65
+ @if (type-of($root-bg-size) != 'null') {
66
+ background-size: $root-bg-size;
67
+ }
68
+
69
+ @if (type-of($root-bg-position) != 'null') {
70
+ background-position: $root-bg-position;
71
+ }
64
72
 
65
- @if (type-of($root-bg-filter) == 'string' or type-of($root-bg-filter) == 'list') {
73
+ @if (type-of($root-bg-filter) != 'null') {
66
74
  filter: $root-bg-filter;
67
75
  }
68
76
  }
@@ -94,6 +94,8 @@ $border-radius: 1rem !default;
94
94
  /// Root
95
95
  $root-bg-image: null !default;
96
96
  $root-bg-filter: null !default;
97
+ $root-bg-size: null !default;
98
+ $root-bg-position: null !default;
97
99
 
98
100
  /// Header
99
101
  $header-height: 4rem !default;