@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 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?
@@ -1,4 +1,4 @@
1
- :root {
1
+ :root, [data-maxio-mode='light'] {
2
2
  /* privimitive colors - DEPRECATED */
3
3
  --maxio-white: #ffffff;
4
4
  --maxio-black: #000000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxio-com/design-tokens",
3
- "version": "3.5.1",
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": "77178f7b98217ba3a8b2d52b39f52c5d15ae03c2"
31
+ "gitHead": "15a86ed78ffab0fc6f27be8325c6a1b6081ebe98"
32
32
  }