@neovici/cosmoz-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/package.json +2 -2
- package/src/shadows.css +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neovici/cosmoz-tokens",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.2",
|
|
4
4
|
"description": "Design tokens for Cosmoz web components based on Untitled UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-tokens",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@pionjs/pion": "^2.5.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@changesets/cli": "^
|
|
63
|
+
"@changesets/cli": "^3.0.2",
|
|
64
64
|
"@commitlint/cli": "^20.0.0",
|
|
65
65
|
"@commitlint/config-conventional": "^20.0.0",
|
|
66
66
|
"@neovici/cfg": "^2.8.0",
|
package/src/shadows.css
CHANGED
|
@@ -37,3 +37,16 @@
|
|
|
37
37
|
--cz-focus-ring-error: inset 0 0 0 2px var(--cz-color-error-100);
|
|
38
38
|
--cz-focus-ring-info: inset 0 0 0 2px var(--cz-color-info-100);
|
|
39
39
|
}
|
|
40
|
+
|
|
41
|
+
:root[data-theme='dark'] {
|
|
42
|
+
/*
|
|
43
|
+
* The light-theme skeumorphic ring is near-black, so on a dark surface it
|
|
44
|
+
* disappears and the ::before highlight is left acting as the border. Flip
|
|
45
|
+
* the ring to light so it stays the edge, and drop the highlight, which
|
|
46
|
+
* would otherwise draw a second border just inside it.
|
|
47
|
+
*/
|
|
48
|
+
--cz-shadow-skeumorphic:
|
|
49
|
+
0px 0px 0px 1px rgba(255, 255, 255, 0.12) inset,
|
|
50
|
+
0px -2px 0px 0px rgba(10, 13, 18, 0.2) inset;
|
|
51
|
+
--skeumorphic-color: transparent;
|
|
52
|
+
}
|