@appartmint/mint 0.14.13 → 0.14.15

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.14.13",
4
+ "version": "0.14.15",
5
5
  "license": "MIT",
6
6
  "description": "The front-end TS/SCSS framework of App Art Mint",
7
7
  "keywords": [
@@ -32,6 +32,7 @@
32
32
  @mixin title {
33
33
  #{class(title)} {
34
34
  justify-content: center;
35
+ text-align: center;
35
36
 
36
37
  & > div {
37
38
  width: auto;
@@ -19,12 +19,7 @@ body {
19
19
  min-height: 100vh;
20
20
  margin: 0;
21
21
  padding: 0;
22
- word-break: break-word;
23
22
  scroll-behavior: smooth;
24
-
25
- @include break(xs) {
26
- word-break: initial;
27
- }
28
23
  }
29
24
 
30
25
  body {
@@ -43,7 +38,7 @@ body {
43
38
 
44
39
  &#{class(ready)} {
45
40
  #{prefix(root)} {
46
- filter: opacity(1);
41
+ opacity: 1;
47
42
  }
48
43
  }
49
44
  }
@@ -51,8 +46,8 @@ body {
51
46
  #{prefix(root)} {
52
47
  display: block;
53
48
  position: relative;
54
- filter: opacity(0);
55
- transition: filter 750ms;
49
+ opacity: 0;
50
+ transition: opacity 750ms ease-in;
56
51
 
57
52
  @if (type-of($root-bg-image) == 'string') {
58
53
  &::before {
@@ -37,7 +37,11 @@ p {
37
37
  @each $tag in map-keys($font-size-mobile) {
38
38
  #{$tag}, #{class($tag)} {
39
39
  margin: 1rem 0;
40
- font-size: map-get($font-size-mobile, $tag);
40
+ font-size: min(map-get($font-size-tiny, $tag), map-get($font-size-mobile, $tag));
41
+
42
+ @include break(xs) {
43
+ font-size: map-get($font-size-mobile, $tag);
44
+ }
41
45
 
42
46
  @include break(md) {
43
47
  font-size: map-get($font-size-desktop, $tag);
@@ -56,6 +56,15 @@ $font-secondary-backups: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
56
56
  $font-height: 1.25 !default;
57
57
 
58
58
  /// Font Sizes
59
+ $font-size-tiny: (
60
+ h1: 15vw,
61
+ h2: 12vw,
62
+ h3: 10vw,
63
+ h4: 8vw,
64
+ h5: 7vw,
65
+ h6: 6vw,
66
+ p: 1rem,
67
+ ) !default;
59
68
  $font-size-mobile: (
60
69
  h1: 2.5rem,
61
70
  h2: 2rem,