@maxio-com/design-tokens 3.5.2 → 4.0.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 CHANGED
@@ -7,11 +7,9 @@ Tokens exists in the form of CSS variables and are used to maintain a consistent
7
7
 
8
8
  For backwards compatibility, some of the primitive tokens are also available as JavaScript variables - however you should prefer using the CSS variables.
9
9
 
10
- The source of truth is located in Figma/Notion and is exported to this package.
10
+ The source of truth is located in Figma/Notion and is exported to this package.
11
11
  Learn more about the **Design Tokens** [here](https://www.notion.so/maxioevolution/Design-tokens-7e2081d708d6485396e3237cbb8028c7).
12
12
 
13
-
14
-
15
13
  ## Installation
16
14
 
17
15
  Design tokens are distributed as an npm package. You can install them using npm, yarn, or pnpm:
@@ -23,7 +21,7 @@ pnpm install @maxio/design-tokens
23
21
  To use the design tokens in your project, you can import the CSS file into your project:
24
22
 
25
23
  ```css
26
- @import "@maxio-com/design-tokens/variables.css";
24
+ @import '@maxio-com/design-tokens/variables.css';
27
25
  ```
28
26
 
29
27
  ## Backward compatibility
@@ -63,4 +61,4 @@ You can use these tokens by importing the CSS file into your project. You can th
63
61
 
64
62
  ### How do I update these tokens?
65
63
 
66
- You can update these tokens by modifying the CSS file in this package and submitting a PR.
64
+ You can update these tokens by modifying the CSS file in this package and submitting a PR. For more information, refer to the [How to Update Semantic Tokens](https://www.notion.so/maxioevolution/How-to-update-semantic-tokens-b5186ada4c434e5aaf1d671ef5664025?pvs=4) documentation.
@@ -26,7 +26,7 @@ exports.lineHeight = {
26
26
  };
27
27
  exports.default = {
28
28
  fontSans: "'Inter', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif",
29
- fontIcons: "'maxio-icons', sans-serif",
29
+ fontIcons: "'Font Awesome Kit', sans-serif",
30
30
  fontDisplay: "'Founders Grotesk', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif",
31
31
  fontMono: "ui-monospace, SFMono-Regular, SF Mono, 'Segoe UI Mono', 'Roboto Mono', 'Ubuntu Mono', Menlo, Consolas, Courier, monospace",
32
32
  fontSize: exports.fontSize,
@@ -1,8 +1,4 @@
1
1
  :root, [data-maxio-mode='light'] {
2
- /* privimitive colors - DEPRECATED */
3
- --maxio-white: #ffffff;
4
- --maxio-black: #000000;
5
-
6
2
  /* primitive colors */
7
3
  --maxio-black-opaque: hsl(0 0% 0%);
8
4
  --maxio-black-alpha-05: hsl(0 0% 0% / 0.04);
@@ -113,7 +109,7 @@
113
109
  /* typography */
114
110
  --maxio-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, San Francisco,
115
111
  Segoe UI, Roboto, Helvetica Neue, sans-serif;
116
- --maxio-font-icons: 'maxio-icons', sans-serif;
112
+ --maxio-font-icons: 'Font Awesome Kit', sans-serif;
117
113
  --maxio-font-display: 'Founders Grotesk', -apple-system, BlinkMacSystemFont,
118
114
  San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
119
115
  --maxio-font-mono: ui-monospace, SFMono-Regular, SF Mono, 'Segoe UI Mono',
@@ -224,7 +220,6 @@
224
220
  }
225
221
 
226
222
  /* semantic tokens for dark mode */
227
- [data-maxio-dark-mode],
228
223
  [data-maxio-mode='dark'] {
229
224
  /* background colors */
230
225
  --maxio-color-bg-primary: var(--maxio-black-opaque);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxio-com/design-tokens",
3
- "version": "3.5.2",
3
+ "version": "4.0.0",
4
4
  "description": "Design Tokens definition",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -28,5 +28,5 @@
28
28
  "publishConfig": {
29
29
  "access": "public"
30
30
  },
31
- "gitHead": "15a86ed78ffab0fc6f27be8325c6a1b6081ebe98"
31
+ "gitHead": "f80f547649173a32534d0e15087a537df7d83d7e"
32
32
  }