@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 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](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](../../LICENSE)
6
6
  [![npm version](https://img.shields.io/npm/v/@hopper-ui/tokens)](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: 410;
5
- src: url("assets/fonts/Inter-Regular.woff2") format("woff2");
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("assets/fonts/ABCFavoritMono-Regular.woff2") format("woff2");
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: 680;
61
- src: url("assets/fonts/ABCFavorit-Bold.woff2") format("woff2");
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 Thu, 15 Feb 2024 21:14:25 GMT
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-25);
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-75);
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hopper-ui/tokens",
3
3
  "author": "Workleap",
4
- "version": "3.1.4",
4
+ "version": "3.2.0",
5
5
  "description": "The tokens package.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
Binary file
Binary file