uplord-ui 0.0.6 → 0.0.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.
@@ -0,0 +1,65 @@
1
+ @mixin text-xs {
2
+ font-size: 0.75rem; // 12px
3
+ letter-spacing: -0.01rem;
4
+ line-height: 1rem; // 16px
5
+ }
6
+
7
+ @mixin text-sm {
8
+ font-size: 0.875rem; // 14px
9
+ letter-spacing: -0.0175rem;
10
+ line-height: 1.25rem; // 20px
11
+ }
12
+
13
+ @mixin text-md {
14
+ font-size: 1rem; // 16px
15
+ letter-spacing: -0.02rem;
16
+ line-height: 1.5rem; // 24px
17
+ }
18
+
19
+ @mixin text-xm {
20
+ font-size: 1.125rem; // 18px
21
+ letter-spacing: -0.0225rem;
22
+ line-height: 1.675rem; // 26px
23
+ }
24
+
25
+ @mixin text-lg {
26
+ font-size: 1.25rem; // 20px
27
+ letter-spacing: -0.025rem;
28
+ line-height: 1.75rem; // 28px
29
+ }
30
+
31
+ @mixin text-xl {
32
+ font-size: 1.5rem; // 24px
33
+ letter-spacing: -0.03rem;
34
+ line-height: 2rem; // 32px
35
+ }
36
+
37
+ @mixin text-2xl {
38
+ font-size: 2rem; // 32px
39
+ letter-spacing: -0.04rem;
40
+ line-height: 2.5rem; // 40px
41
+ }
42
+
43
+ @mixin text-3xl {
44
+ font-size: 2.5rem; // 40px
45
+ letter-spacing: -0.05rem;
46
+ line-height: 3rem; // 48px
47
+ }
48
+
49
+ @mixin text-4xl {
50
+ font-size: 3rem; // 48px
51
+ letter-spacing: -0.06rem;
52
+ line-height: 3.5rem; // 56px
53
+ }
54
+
55
+ @mixin text-normal {
56
+ font-weight: normal;
57
+ }
58
+
59
+ @mixin text-semibold {
60
+ font-weight: 600;
61
+ }
62
+
63
+ @mixin text-bold {
64
+ font-weight: 700;
65
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uplord-ui",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,7 +18,10 @@
18
18
  "import": "./dist/index.es.js",
19
19
  "require": "./dist/index.cjs.js"
20
20
  },
21
- "./dist/uplord-ui.css": "./dist/uplord-ui.css"
21
+ "./dist/uplord-ui.css": "./dist/uplord-ui.css",
22
+ "./styles/forward": {
23
+ "sass": "./dist/styles/forward.scss"
24
+ }
22
25
  },
23
26
  "typesVersions": {
24
27
  "*": {