@hopper-ui/tokens 0.1.1-beta.0 → 0.1.2-beta.0
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/README.md +2 -2
- package/dist/fonts.css +16 -16
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,12 +32,12 @@ npm install -D @hopper-ui/tokens
|
|
|
32
32
|
The tokens are available in the `dist` folder. You can import the tokens in your project by doing:
|
|
33
33
|
|
|
34
34
|
```css
|
|
35
|
-
@import '@hopper-ui/tokens/
|
|
35
|
+
@import '@hopper-ui/tokens/tokens.css';
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
for the dark mode, you can import them by doing:
|
|
39
39
|
```css
|
|
40
|
-
@import '@hopper-ui/tokens/
|
|
40
|
+
@import '@hopper-ui/tokens/dark/tokens.css';
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
## License
|
package/dist/fonts.css
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
font-family: "Inter";
|
|
3
3
|
font-style: normal;
|
|
4
4
|
font-weight: 410;
|
|
5
|
-
src: url("
|
|
5
|
+
src: url("./assets/fonts/Inter-Regular.otf") format("opentype");
|
|
6
6
|
font-display: fallback;
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
font-family: "Inter";
|
|
11
11
|
font-style: normal;
|
|
12
12
|
font-weight: 505;
|
|
13
|
-
src: url("
|
|
13
|
+
src: url("./assets/fonts/Inter-Medium.otf") format("opentype");
|
|
14
14
|
font-display: fallback;
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
font-family: "Inter";
|
|
19
19
|
font-style: normal;
|
|
20
20
|
font-weight: 590;
|
|
21
|
-
src: url("
|
|
21
|
+
src: url("./assets/fonts/Inter-SemiBold.otf") format("opentype");
|
|
22
22
|
font-display: fallback;
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
font-family: "Inter";
|
|
27
27
|
font-style: normal;
|
|
28
28
|
font-weight: 690;
|
|
29
|
-
src: url("
|
|
29
|
+
src: url("./assets/fonts/Inter-Bold.otf") format("opentype");
|
|
30
30
|
font-display: fallback;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
font-family: "ABC Favorit Mono";
|
|
35
35
|
font-style: normal;
|
|
36
36
|
font-weight: 400;
|
|
37
|
-
src: url("
|
|
38
|
-
url("
|
|
39
|
-
url("
|
|
37
|
+
src: url("./assets/fonts/ABCFavoritMono-Regular.otf") format("opentype"),
|
|
38
|
+
url("./assets/fonts/ABCFavoritMono-Regular.woff") format("woff"),
|
|
39
|
+
url("./assets/fonts/ABCFavoritMono-Regular.woff2") format("woff2");
|
|
40
40
|
font-display: fallback;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
font-family: "ABC Favorit";
|
|
45
45
|
font-style: normal;
|
|
46
46
|
font-weight: 410;
|
|
47
|
-
src: url("
|
|
48
|
-
url("
|
|
49
|
-
url("
|
|
47
|
+
src: url("./assets/fonts/ABCFavorit-Regular.otf") format("opentype"),
|
|
48
|
+
url("./assets/fonts/ABCFavorit-Regular.woff") format("woff"),
|
|
49
|
+
url("./assets/fonts/ABCFavorit-Regular.woff2") format("woff2");
|
|
50
50
|
font-display: fallback;
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
font-family: "ABC Favorit";
|
|
55
55
|
font-style: normal;
|
|
56
56
|
font-weight: 580;
|
|
57
|
-
src: url("
|
|
58
|
-
url("
|
|
59
|
-
url("
|
|
57
|
+
src: url("./assets/fonts/ABCFavorit-Medium.otf") format("opentype"),
|
|
58
|
+
url("./assets/fonts/ABCFavorit-Medium.woff") format("woff"),
|
|
59
|
+
url("./assets/fonts/ABCFavorit-Medium.woff2") format("woff2");
|
|
60
60
|
font-display: fallback;
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
font-family: "ABC Favorit";
|
|
65
65
|
font-style: normal;
|
|
66
66
|
font-weight: 680;
|
|
67
|
-
src: url("
|
|
68
|
-
url("
|
|
69
|
-
url("
|
|
67
|
+
src: url("./assets/fonts/ABCFavorit-Bold.otf") format("opentype"),
|
|
68
|
+
url("./assets/fonts/ABCFavorit-Bold.woff") format("woff"),
|
|
69
|
+
url("./assets/fonts/ABCFavorit-Bold.woff2") format("woff2");
|
|
70
70
|
font-display: fallback;
|
|
71
71
|
}
|
package/dist/tokens.css
CHANGED