@maxio-com/design-tokens 3.5.2 → 3.5.3
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 +3 -5
- package/package.json +2 -2
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
|
|
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.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxio-com/design-tokens",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.3",
|
|
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": "
|
|
31
|
+
"gitHead": "9bc9fed71df4e2c607b3ac2b31d8a8b80062a292"
|
|
32
32
|
}
|