wox-gui 0.1.1
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/dist/register.js +29 -0
- package/dist/wox-gui.cdn.js +64 -0
- package/dist/wox-gui.js +3551 -0
- package/dist/wox-theme.css +81 -0
- package/package.json +35 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* wox-theme.css — Global CSS custom properties for the WOX component library */
|
|
2
|
+
/* Dark theme only. All components reference these via CSS vars (inherit through shadow DOM). */
|
|
3
|
+
|
|
4
|
+
:root {
|
|
5
|
+
/* ── Backgrounds ── */
|
|
6
|
+
--wox-bg-app: #121214;
|
|
7
|
+
--wox-bg-panel: #17171a;
|
|
8
|
+
--wox-bg-toolbar: #1e1e22;
|
|
9
|
+
--wox-bg-input: #1a1a1d;
|
|
10
|
+
--wox-bg-hover: #2a2a2e;
|
|
11
|
+
--wox-bg-canvas: #505050;
|
|
12
|
+
--wox-bg-section-header: #22222a;
|
|
13
|
+
|
|
14
|
+
/* ── Text ── */
|
|
15
|
+
--wox-text-primary: #eee;
|
|
16
|
+
--wox-text-secondary: #999;
|
|
17
|
+
--wox-text-hi: #fff;
|
|
18
|
+
|
|
19
|
+
/* ── Accent ── */
|
|
20
|
+
--wox-accent: #00e5ff;
|
|
21
|
+
|
|
22
|
+
/* ── Borders ── */
|
|
23
|
+
--wox-border: #333;
|
|
24
|
+
--wox-border-light: #444;
|
|
25
|
+
--wox-border-section: #2e2e2e;
|
|
26
|
+
|
|
27
|
+
/* ── Semantic colors ── */
|
|
28
|
+
--wox-danger: #f72585;
|
|
29
|
+
--wox-success: #4cc9f0;
|
|
30
|
+
--wox-unite: #4cc9f0;
|
|
31
|
+
--wox-subtract: #f72585;
|
|
32
|
+
--wox-intersect: #4361ee;
|
|
33
|
+
--wox-exclude: #7209b7;
|
|
34
|
+
|
|
35
|
+
/* ── Spacing scale ── */
|
|
36
|
+
--wox-space-xs: 2px;
|
|
37
|
+
--wox-space-sm: 4px;
|
|
38
|
+
--wox-space-md: 8px;
|
|
39
|
+
--wox-space-lg: 12px;
|
|
40
|
+
--wox-space-xl: 16px;
|
|
41
|
+
--wox-space-2xl: 24px;
|
|
42
|
+
|
|
43
|
+
/* ── Radius scale ── */
|
|
44
|
+
--wox-radius-sm: 3px;
|
|
45
|
+
--wox-radius-md: 6px;
|
|
46
|
+
--wox-radius-lg: 8px;
|
|
47
|
+
--wox-radius-xl: 10px;
|
|
48
|
+
--wox-radius-2xl: 12px;
|
|
49
|
+
--wox-radius-round: 50%;
|
|
50
|
+
|
|
51
|
+
/* ── Font ── */
|
|
52
|
+
--wox-font: 'Inter', 'Segoe UI', sans-serif;
|
|
53
|
+
--wox-font-mono: 'Courier New', monospace;
|
|
54
|
+
--wox-font-size-xs: 9px;
|
|
55
|
+
--wox-font-size-sm: 10px;
|
|
56
|
+
--wox-font-size-md: 11px;
|
|
57
|
+
--wox-font-size-base: 12px;
|
|
58
|
+
--wox-font-size-lg: 13px;
|
|
59
|
+
--wox-font-size-xl: 14px;
|
|
60
|
+
--wox-font-size-2xl: 16px;
|
|
61
|
+
|
|
62
|
+
/* ── Z-index layers ── */
|
|
63
|
+
--wox-z-base: 1;
|
|
64
|
+
--wox-z-dropdown: 1000;
|
|
65
|
+
--wox-z-overlay: 10000;
|
|
66
|
+
--wox-z-modal: 20000;
|
|
67
|
+
|
|
68
|
+
/* ── Transitions ── */
|
|
69
|
+
--wox-transition-fast: 0.12s ease;
|
|
70
|
+
--wox-transition-normal: 0.2s ease;
|
|
71
|
+
--wox-transition-smooth: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
72
|
+
|
|
73
|
+
/* ── Shadows ── */
|
|
74
|
+
--wox-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
|
|
75
|
+
--wox-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
|
|
76
|
+
--wox-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
|
|
77
|
+
--wox-shadow-xl: 0 24px 80px rgba(0, 0, 0, 0.8);
|
|
78
|
+
--wox-shadow-input: inset 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
79
|
+
--wox-shadow-section: inset 0 -12px 24px -12px rgba(0, 0, 0, 0.5);
|
|
80
|
+
--wox-shadow-accent: 0 0 10px rgba(0, 229, 255, 0.3);
|
|
81
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wox-gui",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "WOX — Web Component UI library",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/wox-gui.js",
|
|
7
|
+
"module": "./dist/wox-gui.js",
|
|
8
|
+
"sideEffects": [
|
|
9
|
+
"./dist/register.js"
|
|
10
|
+
],
|
|
11
|
+
"exports": {
|
|
12
|
+
".": "./dist/wox-gui.js",
|
|
13
|
+
"./register": "./dist/register.js",
|
|
14
|
+
"./cdn": "./dist/wox-gui.cdn.js",
|
|
15
|
+
"./theme": "./dist/wox-theme.css"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "vite",
|
|
22
|
+
"build": "vite build && cp css/wox-theme.css dist/wox-theme.css",
|
|
23
|
+
"preview": "vite preview"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"vite": "^6.2.0"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"web-components",
|
|
30
|
+
"ui",
|
|
31
|
+
"component-library",
|
|
32
|
+
"custom-elements"
|
|
33
|
+
],
|
|
34
|
+
"license": "MIT"
|
|
35
|
+
}
|