@xenosystem/elements-react 0.0.2 → 0.0.4
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 +3 -3
- package/src/xeno-theme.css +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xenosystem/elements-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "The XENO web renderer — interprets element declarations as React/SVG. CSS-first, 0 kb runtime.",
|
|
6
6
|
"author": "XENO Corporation <emilian@bnkrsys.com>",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@fontsource-variable/inter": "^5.3.0",
|
|
45
|
-
"@xenosystem/elements": "0.0.
|
|
46
|
-
"@xenosystem/generate": "0.0.
|
|
45
|
+
"@xenosystem/elements": "0.0.4",
|
|
46
|
+
"@xenosystem/generate": "0.0.4"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/react": "^19.0.0",
|
package/src/xeno-theme.css
CHANGED
|
@@ -33,9 +33,17 @@
|
|
|
33
33
|
--xeno-hover: rgba(169, 169, 177, 0.08);
|
|
34
34
|
--xeno-text: #d8d8de;
|
|
35
35
|
--xeno-muted: #7f7f86;
|
|
36
|
+
/* secondary READING text (hints, meta, captions) — AA on every panel surface; `--xeno-muted` is the
|
|
37
|
+
resting state of an interactive label and is 3.46:1 on a control well, so it is not for prose */
|
|
38
|
+
--xeno-muted-text: #9a9aa1;
|
|
36
39
|
--xeno-active: #acacb4;
|
|
37
40
|
--xeno-danger: #ef4444;
|
|
38
41
|
--xeno-danger-hover: #dc2626;
|
|
42
|
+
/* status as TEXT — the fill hues fail AA as small text; one lighter tone per meaning */
|
|
43
|
+
--xeno-danger-text: #f27a7a;
|
|
44
|
+
--xeno-success-text: #6fae7f;
|
|
45
|
+
--xeno-warning-text: #c98d2a;
|
|
46
|
+
--xeno-info-text: #7aa2c4;
|
|
39
47
|
--xeno-on-accent: #08080a;
|
|
40
48
|
|
|
41
49
|
/* scrollbar — its own alphas on purpose. A thumb sitting on any surface in the set has to be legible
|
|
@@ -90,8 +98,13 @@
|
|
|
90
98
|
--xeno-hover: rgba(0, 0, 0, 0.05);
|
|
91
99
|
--xeno-text: #1a1815;
|
|
92
100
|
--xeno-muted: #6f6b64;
|
|
101
|
+
--xeno-muted-text: #5f5b55;
|
|
93
102
|
--xeno-active: #3a3833;
|
|
94
103
|
--xeno-on-accent: #faf9f7;
|
|
104
|
+
--xeno-danger-text: #b42318;
|
|
105
|
+
--xeno-success-text: #1a6b32;
|
|
106
|
+
--xeno-warning-text: #7a4f00;
|
|
107
|
+
--xeno-info-text: #2a5f8a;
|
|
95
108
|
--xeno-scroll-rail: rgba(0, 0, 0, 0.08);
|
|
96
109
|
--xeno-scroll-thumb: rgba(0, 0, 0, 0.18);
|
|
97
110
|
--xeno-scroll-thumb-hover: rgba(0, 0, 0, 0.32);
|