@hopper-ui/tokens 3.1.4 → 3.2.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/CHANGELOG.md +16 -0
- package/README.md +0 -22
- package/dist/fonts.css +5 -45
- package/dist/tokens.css +3 -3
- package/package.json +1 -1
- package/dist/assets/fonts/ABCFavorit-Bold.woff2 +0 -0
- package/dist/assets/fonts/ABCFavorit-Medium.woff2 +0 -0
- package/dist/assets/fonts/ABCFavorit-Regular.woff2 +0 -0
- package/dist/assets/fonts/ABCFavoritMono-Regular.woff2 +0 -0
- package/dist/assets/fonts/Inter-Bold.otf +0 -0
- package/dist/assets/fonts/Inter-Bold.woff2 +0 -0
- package/dist/assets/fonts/Inter-BoldItalic.woff2 +0 -0
- package/dist/assets/fonts/Inter-Medium.woff2 +0 -0
- package/dist/assets/fonts/Inter-MediumItalic.woff2 +0 -0
- package/dist/assets/fonts/Inter-Regular.woff2 +0 -0
- package/dist/assets/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/assets/fonts/Inter-SemiBoldItalic.woff2 +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @hopper-ui/tokens
|
|
2
2
|
|
|
3
|
+
## 3.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ff7fed1: # Font Tokens
|
|
8
|
+
|
|
9
|
+
- Swapped referenced token fonts for variable fonts.
|
|
10
|
+
- Woff2 are now the defacto font extension.
|
|
11
|
+
|
|
12
|
+
## 3.1.5
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 2f18e75: - Upsell disabled surface value has been set to treasure-25
|
|
17
|
+
- Upsell surface value has been set to treasure-75
|
|
18
|
+
|
|
3
19
|
## 3.1.4
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -5,28 +5,6 @@ Hopper tokens are all the values needed to construct and maintain a design syste
|
|
|
5
5
|
[](../../LICENSE)
|
|
6
6
|
[](https://www.npmjs.com/package/@hopper-ui/tokens)
|
|
7
7
|
|
|
8
|
-
## Installation
|
|
9
|
-
|
|
10
|
-
Install the following packages:
|
|
11
|
-
|
|
12
|
-
**With pnpm**
|
|
13
|
-
|
|
14
|
-
```shell
|
|
15
|
-
pnpm add @hopper-ui/tokens
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
**With yarn**
|
|
19
|
-
|
|
20
|
-
```shell
|
|
21
|
-
yarn add -D @hopper-ui/tokens
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
**With npm**
|
|
25
|
-
|
|
26
|
-
```shell
|
|
27
|
-
npm install -D @hopper-ui/tokens
|
|
28
|
-
```
|
|
29
|
-
|
|
30
8
|
## Usage
|
|
31
9
|
|
|
32
10
|
View the [user's documentation](https://hopper.workleap.design/).
|
package/dist/fonts.css
CHANGED
|
@@ -1,32 +1,8 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "Inter";
|
|
3
3
|
font-style: normal;
|
|
4
|
-
font-weight:
|
|
5
|
-
src: url("
|
|
6
|
-
font-display: fallback;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@font-face {
|
|
10
|
-
font-family: "Inter";
|
|
11
|
-
font-style: normal;
|
|
12
|
-
font-weight: 505;
|
|
13
|
-
src: url("assets/fonts/Inter-Medium.woff2") format("woff2");
|
|
14
|
-
font-display: fallback;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@font-face {
|
|
18
|
-
font-family: "Inter";
|
|
19
|
-
font-style: normal;
|
|
20
|
-
font-weight: 590;
|
|
21
|
-
src: url("assets/fonts/Inter-SemiBold.woff2") format("woff2");
|
|
22
|
-
font-display: fallback;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@font-face {
|
|
26
|
-
font-family: "Inter";
|
|
27
|
-
font-style: normal;
|
|
28
|
-
font-weight: 690;
|
|
29
|
-
src: url("assets/fonts/Inter-Bold.woff2") format("woff2");
|
|
4
|
+
font-weight: 100 900;
|
|
5
|
+
src: url("https://cdn.platform.workleap.com/hopper/fonts/inter/v4/InterVariable.woff2") format("woff2-variations");
|
|
30
6
|
font-display: fallback;
|
|
31
7
|
}
|
|
32
8
|
|
|
@@ -34,30 +10,14 @@
|
|
|
34
10
|
font-family: "ABC Favorit Mono";
|
|
35
11
|
font-style: normal;
|
|
36
12
|
font-weight: 400;
|
|
37
|
-
src: url("
|
|
38
|
-
font-display: fallback;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@font-face {
|
|
42
|
-
font-family: "ABC Favorit";
|
|
43
|
-
font-style: normal;
|
|
44
|
-
font-weight: 410;
|
|
45
|
-
src: url("assets/fonts/ABCFavorit-Regular.woff2") format("woff2");
|
|
46
|
-
font-display: fallback;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@font-face {
|
|
50
|
-
font-family: "ABC Favorit";
|
|
51
|
-
font-style: normal;
|
|
52
|
-
font-weight: 580;
|
|
53
|
-
src: url("assets/fonts/ABCFavorit-Medium.woff2") format("woff2");
|
|
13
|
+
src: url("https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/mono/ABCFavoritMono-Regular.woff2") format("woff2-variations");
|
|
54
14
|
font-display: fallback;
|
|
55
15
|
}
|
|
56
16
|
|
|
57
17
|
@font-face {
|
|
58
18
|
font-family: "ABC Favorit";
|
|
59
19
|
font-style: normal;
|
|
60
|
-
font-weight:
|
|
61
|
-
src: url("
|
|
20
|
+
font-weight: 100 900;
|
|
21
|
+
src: url("https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/ABCFavoritVariable.woff2") format("woff2-variations");
|
|
62
22
|
font-display: fallback;
|
|
63
23
|
}
|
package/dist/tokens.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 12 Mar 2024 17:18:06 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -863,13 +863,13 @@
|
|
|
863
863
|
--hop-danger-text-active: var(--hop-amanita-400);
|
|
864
864
|
--hop-danger-icon-active: var(--hop-amanita-400);
|
|
865
865
|
--hop-danger-border-active: var(--hop-amanita-300);
|
|
866
|
-
--hop-upsell-surface: var(--hop-sunken-treasure-
|
|
866
|
+
--hop-upsell-surface: var(--hop-sunken-treasure-75);
|
|
867
867
|
--hop-upsell-surface-active: var(--hop-sunken-treasure-50);
|
|
868
868
|
--hop-upsell-text-disabled: var(--hop-sunken-treasure-400);
|
|
869
869
|
--hop-upsell-text-hover: var(--hop-sunken-treasure-900);
|
|
870
870
|
--hop-upsell-icon: var(--hop-sunken-treasure-800);
|
|
871
871
|
--hop-upsell-text: var(--hop-sunken-treasure-800);
|
|
872
|
-
--hop-upsell-surface-disabled: var(--hop-sunken-treasure-
|
|
872
|
+
--hop-upsell-surface-disabled: var(--hop-sunken-treasure-25);
|
|
873
873
|
--hop-upsell-surface-weak: var(--hop-sunken-treasure-25);
|
|
874
874
|
--hop-upsell-icon-active: var(--hop-sunken-treasure-400);
|
|
875
875
|
--hop-upsell-border-disabled: var(--hop-sunken-treasure-75);
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|