monkey-style-guide-v2 0.0.32 → 0.0.34

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.
@@ -8,7 +8,15 @@
8
8
  /* stylelint-disable selector-class-pattern */
9
9
  @use 'variables' as *;
10
10
 
11
+ body {
12
+ margin: 0;
13
+ padding: 0;
14
+ background-color: var(--mecx-color-white);
15
+ }
16
+
11
17
  :root {
18
+ background-color: var(--mecx-color-white);
19
+
12
20
  @each $key, $value in $mecx-gray {
13
21
  --mecx-color-gray-#{$key}: #{$value};
14
22
  }
@@ -18,15 +26,15 @@
18
26
  }
19
27
 
20
28
  @each $key, $value in $mecx-weight {
21
- --mecx-font-w-#{$key}: #{$value};
29
+ --mecx-fw-#{$key}: #{$value};
22
30
  }
23
31
 
24
32
  @each $key, $value in $mecx-lh {
25
- --mecx-font-lh-#{$key}: #{$value};
33
+ --mecx-lh-#{$key}: #{$value};
26
34
  }
27
35
 
28
36
  @each $key, $value in $mecx-sizes {
29
- --mecx-font-s-#{$key}: #{$value};
37
+ --mecx-fs-#{$key}: #{$value};
30
38
  }
31
39
 
32
40
  --mecx-color-box-shadow: #00000029;
@@ -46,19 +54,19 @@
46
54
  }
47
55
 
48
56
  @each $key, $value in $mecx-weight {
49
- .font-w-#{$key} {
57
+ .fw-#{$key} {
50
58
  font-weight: $value !important;
51
59
  }
52
60
  }
53
61
 
54
62
  @each $key, $value in $mecx-lh {
55
- .font-lh-#{$key} {
63
+ .lh-#{$key} {
56
64
  line-height: $value !important;
57
65
  }
58
66
  }
59
67
 
60
68
  @each $key, $value in $mecx-sizes {
61
- .font-s-#{$key} {
69
+ .fs-#{$key} {
62
70
  font-size: $value !important;
63
71
  }
64
72
  }
@@ -21,34 +21,57 @@
21
21
  }
22
22
  }
23
23
 
24
+ .text-loading-xxs {
25
+ @extend %skeleton;
26
+
27
+ border-radius: 2px;
28
+ margin: 2px 0;
29
+ height: 8px;
30
+ }
31
+
24
32
  .text-loading-xs {
25
33
  @extend %skeleton;
26
34
 
27
- height: 13px;
35
+ border-radius: 2px;
36
+ margin: 2px 0;
37
+ height: 9px;
28
38
  }
29
39
 
30
40
  .text-loading-sm {
31
41
  @extend %skeleton;
32
42
 
33
- height: 14px;
43
+ border-radius: 2px;
44
+ margin: 2px 0;
45
+ height: 10px;
34
46
  }
35
47
 
36
48
  .text-loading-md {
37
49
  @extend %skeleton;
38
50
 
39
- height: 16px;
51
+ border-radius: 2px;
52
+ margin: 2px 0;
53
+ height: 12px;
40
54
  }
41
55
 
42
56
  .text-loading-lg {
43
57
  @extend %skeleton;
44
58
 
45
- height: 24px;
59
+ margin: 2px 0;
60
+ height: 20px;
46
61
  }
47
62
 
48
63
  .text-loading-xl {
49
64
  @extend %skeleton;
50
65
 
51
- height: 32px;
66
+ margin: 2px 0;
67
+ height: 28px;
68
+ }
69
+
70
+ .text-loading-xxl {
71
+ @extend %skeleton;
72
+
73
+ margin: 2px 0;
74
+ height: 44px;
52
75
  }
53
76
 
54
77
  .loading-sm {
@@ -10,3 +10,4 @@
10
10
  @use './input';
11
11
  @use './directives';
12
12
  @use './table';
13
+ @use './typography';
@@ -0,0 +1,7 @@
1
+ /**************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ **************************/
6
+
7
+ @use 'styles';
@@ -0,0 +1,5 @@
1
+ * {
2
+ font-family: var(--mecx-font-name), arial, sans-serif;
3
+ -webkit-font-smoothing: auto;
4
+ -moz-osx-font-smoothing: auto;
5
+ }