@maxio-com/design-tokens 3.5.1 → 3.5.2
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 -0
- package/dist/variables.css +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -53,6 +53,8 @@ We use data attribute (`[data-maxio-mode="dark"]`) to toggle dark mode. It allow
|
|
|
53
53
|
<div class="my-component" data-maxio-mode="dark">...</div>
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
+
You can nest modes (to achieve custom solutions), just use `data-maxio-mode="dark/light"` in your component tree.
|
|
57
|
+
|
|
56
58
|
## FAQ
|
|
57
59
|
|
|
58
60
|
### How do I use these tokens?
|
package/dist/variables.css
CHANGED
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.2",
|
|
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": "15a86ed78ffab0fc6f27be8325c6a1b6081ebe98"
|
|
32
32
|
}
|