dsh-hive-panel 0.1.8 → 0.2.0
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/CHANGELOG.md +26 -0
- package/README.md +70 -42
- package/README.zh-CN.md +56 -37
- package/SPEC.md +34 -3
- package/cordis.patch.yml +6 -4
- package/docs/DESIGN.md +94 -12
- package/lib/client.js +1181 -351
- package/lib/index.js +243 -11
- package/package.json +1 -1
- package/scripts/build-client.mjs +3 -0
- package/scripts/verify-host-exec.mjs +11 -5
- package/scripts/verify.mjs +230 -2
- package/src/client.template.js +51 -0
- package/src/panel.css +423 -93
- package/src/panel.js +1126 -350
- package/src/theme.css +1 -18
package/src/theme.css
CHANGED
|
@@ -1,18 +1 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* DSH theme bridge.
|
|
3
|
-
*
|
|
4
|
-
* The harness declares --dsw-alias-* on <body>, not on :root, so the mapping
|
|
5
|
-
* must live on the panel element: a var() read at :root would find nothing and
|
|
6
|
-
* keep the dark fallback forever. On a standalone page none of the tokens
|
|
7
|
-
* exist and every line falls back to the panel's own palette.
|
|
8
|
-
*/
|
|
9
|
-
.hive {
|
|
10
|
-
--hive-bg: var(--dsw-alias-bg-base, #0b0f17);
|
|
11
|
-
--hive-fg: var(--dsw-alias-label-primary, #e6edf3);
|
|
12
|
-
--hive-line: var(--dsw-alias-border-l1, #232b38);
|
|
13
|
-
--hive-accent: var(--dsw-alias-brand-primary, #58c4dc);
|
|
14
|
-
--hive-ok: var(--dsw-alias-state-success-primary, #7ee787);
|
|
15
|
-
--hive-warn: var(--dsw-alias-state-warning-primary, #f0b429);
|
|
16
|
-
--hive-danger: var(--dsw-alias-state-error-primary, #ff7b72);
|
|
17
|
-
--hive-info: var(--dsw-alias-brand-primary, #79c0ff);
|
|
18
|
-
}
|
|
1
|
+
/* The DSH design-token bridge is bundled in panel.css; this file is kept for package layout compatibility. */
|