@nukleas/cyberdesign 0.1.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/LICENSE +21 -0
- package/README.md +38 -0
- package/build.ts +286 -0
- package/dist/cyberdesign-vars-only.css +116 -0
- package/dist/cyberdesign.css +8377 -0
- package/dist/fonts/JetBrainsMono-Variable.woff2 +0 -0
- package/dist/fonts/OFL.txt +93 -0
- package/dist/react/Accordion.d.ts +34 -0
- package/dist/react/Accordion.js +13 -0
- package/dist/react/Alert.d.ts +19 -0
- package/dist/react/Alert.js +6 -0
- package/dist/react/AugButton.d.ts +12 -0
- package/dist/react/AugButton.js +6 -0
- package/dist/react/AugPanel.d.ts +10 -0
- package/dist/react/AugPanel.js +6 -0
- package/dist/react/Avatar.d.ts +28 -0
- package/dist/react/Avatar.js +11 -0
- package/dist/react/Badge.d.ts +10 -0
- package/dist/react/Badge.js +6 -0
- package/dist/react/Breadcrumb.d.ts +19 -0
- package/dist/react/Breadcrumb.js +10 -0
- package/dist/react/Button.d.ts +12 -0
- package/dist/react/Button.js +6 -0
- package/dist/react/Checkbox.d.ts +9 -0
- package/dist/react/Checkbox.js +9 -0
- package/dist/react/Dropdown.d.ts +35 -0
- package/dist/react/Dropdown.js +20 -0
- package/dist/react/Field.d.ts +13 -0
- package/dist/react/Field.js +6 -0
- package/dist/react/Gauge.d.ts +19 -0
- package/dist/react/Gauge.js +6 -0
- package/dist/react/GlowCard.d.ts +12 -0
- package/dist/react/GlowCard.js +4 -0
- package/dist/react/HudBar.d.ts +34 -0
- package/dist/react/HudBar.js +10 -0
- package/dist/react/HudFrame.d.ts +19 -0
- package/dist/react/HudFrame.js +6 -0
- package/dist/react/Input.d.ts +11 -0
- package/dist/react/Input.js +6 -0
- package/dist/react/Interference.d.ts +18 -0
- package/dist/react/Interference.js +6 -0
- package/dist/react/Kbd.d.ts +18 -0
- package/dist/react/Kbd.js +11 -0
- package/dist/react/Label.d.ts +8 -0
- package/dist/react/Label.js +6 -0
- package/dist/react/Modal.d.ts +19 -0
- package/dist/react/Modal.js +9 -0
- package/dist/react/Pagination.d.ts +23 -0
- package/dist/react/Pagination.js +28 -0
- package/dist/react/PanelHeader.d.ts +9 -0
- package/dist/react/PanelHeader.js +6 -0
- package/dist/react/Progress.d.ts +13 -0
- package/dist/react/Progress.js +6 -0
- package/dist/react/Radio.d.ts +9 -0
- package/dist/react/Radio.js +9 -0
- package/dist/react/Scanner.d.ts +11 -0
- package/dist/react/Scanner.js +6 -0
- package/dist/react/Select.d.ts +13 -0
- package/dist/react/Select.js +6 -0
- package/dist/react/Separator.d.ts +11 -0
- package/dist/react/Separator.js +7 -0
- package/dist/react/Skeleton.d.ts +11 -0
- package/dist/react/Skeleton.js +13 -0
- package/dist/react/Slider.d.ts +9 -0
- package/dist/react/Slider.js +9 -0
- package/dist/react/Spinner.d.ts +11 -0
- package/dist/react/Spinner.js +6 -0
- package/dist/react/Stat.d.ts +20 -0
- package/dist/react/Stat.js +11 -0
- package/dist/react/Switch.d.ts +9 -0
- package/dist/react/Switch.js +6 -0
- package/dist/react/Table.d.ts +55 -0
- package/dist/react/Table.js +36 -0
- package/dist/react/Tabs.d.ts +28 -0
- package/dist/react/Tabs.js +16 -0
- package/dist/react/Terminal.d.ts +33 -0
- package/dist/react/Terminal.js +6 -0
- package/dist/react/Textarea.d.ts +7 -0
- package/dist/react/Textarea.js +6 -0
- package/dist/react/Ticker.d.ts +13 -0
- package/dist/react/Ticker.js +7 -0
- package/dist/react/Toast.d.ts +15 -0
- package/dist/react/Toast.js +6 -0
- package/dist/react/Tooltip.d.ts +11 -0
- package/dist/react/Tooltip.js +6 -0
- package/dist/react/index.d.ts +39 -0
- package/dist/react/index.js +46 -0
- package/dist/tailwind-theme.css +171 -0
- package/dist/tokens/base.d.ts +33 -0
- package/dist/tokens/base.js +41 -0
- package/dist/tokens/index.d.ts +7 -0
- package/dist/tokens/index.js +7 -0
- package/dist/tokens/semantic.d.ts +1 -0
- package/dist/tokens/semantic.js +54 -0
- package/dist/tokens/themes/cyan.d.ts +1 -0
- package/dist/tokens/themes/cyan.js +15 -0
- package/dist/tokens/themes/green.d.ts +1 -0
- package/dist/tokens/themes/green.js +15 -0
- package/dist/tokens/themes/orange.d.ts +1 -0
- package/dist/tokens/themes/orange.js +15 -0
- package/dist/tokens/themes/red.d.ts +1 -0
- package/dist/tokens/themes/red.js +15 -0
- package/dist/tokens/themes/steel.d.ts +1 -0
- package/dist/tokens/themes/steel.js +15 -0
- package/package.json +73 -0
- package/src/css/a11y.css +67 -0
- package/src/css/animations.css +111 -0
- package/src/css/base.css +34 -0
- package/src/css/components/accordion.css +148 -0
- package/src/css/components/alert.css +116 -0
- package/src/css/components/app-patterns.css +894 -0
- package/src/css/components/augmented.css +474 -0
- package/src/css/components/avatar.css +105 -0
- package/src/css/components/badge.css +46 -0
- package/src/css/components/breadcrumb.css +75 -0
- package/src/css/components/button.css +130 -0
- package/src/css/components/calendar.css +135 -0
- package/src/css/components/card.css +68 -0
- package/src/css/components/carousel.css +69 -0
- package/src/css/components/charts.css +464 -0
- package/src/css/components/checkbox.css +136 -0
- package/src/css/components/command.css +162 -0
- package/src/css/components/dropdown.css +187 -0
- package/src/css/components/form.css +280 -0
- package/src/css/components/gauge.css +156 -0
- package/src/css/components/glow-card.css +32 -0
- package/src/css/components/hud.css +165 -0
- package/src/css/components/image.css +164 -0
- package/src/css/components/input-otp.css +53 -0
- package/src/css/components/input.css +182 -0
- package/src/css/components/interference.css +217 -0
- package/src/css/components/kbd.css +54 -0
- package/src/css/components/layout-extras.css +256 -0
- package/src/css/components/modal.css +146 -0
- package/src/css/components/navigation-extras.css +280 -0
- package/src/css/components/pagination.css +122 -0
- package/src/css/components/panel-header.css +55 -0
- package/src/css/components/popover.css +112 -0
- package/src/css/components/scanner.css +125 -0
- package/src/css/components/select.css +99 -0
- package/src/css/components/sheet.css +149 -0
- package/src/css/components/skeleton.css +77 -0
- package/src/css/components/slider.css +116 -0
- package/src/css/components/spinner.css +101 -0
- package/src/css/components/spreadsheet.css +314 -0
- package/src/css/components/svg.css +104 -0
- package/src/css/components/switch.css +114 -0
- package/src/css/components/table.css +115 -0
- package/src/css/components/tabs.css +159 -0
- package/src/css/components/terminal.css +259 -0
- package/src/css/components/ticker.css +100 -0
- package/src/css/components/toast.css +137 -0
- package/src/css/components/toaster.css +48 -0
- package/src/css/components/toggle.css +99 -0
- package/src/css/components/typography.css +122 -0
- package/src/css/components/vectorbg.css +57 -0
- package/src/css/utilities.css +165 -0
- package/src/fonts/JetBrainsMono-Variable.woff2 +0 -0
- package/src/fonts/OFL.txt +93 -0
- package/src/js/charts.js +533 -0
- package/src/react/Accordion.tsx +85 -0
- package/src/react/Alert.tsx +58 -0
- package/src/react/AugButton.tsx +40 -0
- package/src/react/AugPanel.tsx +36 -0
- package/src/react/Avatar.tsx +69 -0
- package/src/react/Badge.tsx +28 -0
- package/src/react/Breadcrumb.tsx +63 -0
- package/src/react/Button.tsx +39 -0
- package/src/react/Checkbox.tsx +31 -0
- package/src/react/Dropdown.tsx +104 -0
- package/src/react/Field.tsx +36 -0
- package/src/react/Gauge.tsx +57 -0
- package/src/react/GlowCard.tsx +25 -0
- package/src/react/HudBar.tsx +86 -0
- package/src/react/HudFrame.tsx +52 -0
- package/src/react/Input.tsx +38 -0
- package/src/react/Interference.tsx +53 -0
- package/src/react/Kbd.tsx +62 -0
- package/src/react/Label.tsx +31 -0
- package/src/react/Modal.tsx +63 -0
- package/src/react/Pagination.tsx +113 -0
- package/src/react/PanelHeader.tsx +28 -0
- package/src/react/Progress.tsx +47 -0
- package/src/react/Radio.tsx +31 -0
- package/src/react/Scanner.tsx +37 -0
- package/src/react/Select.tsx +43 -0
- package/src/react/Separator.tsx +40 -0
- package/src/react/Skeleton.tsx +50 -0
- package/src/react/Slider.tsx +28 -0
- package/src/react/Spinner.tsx +39 -0
- package/src/react/Stat.tsx +52 -0
- package/src/react/Switch.tsx +25 -0
- package/src/react/Table.tsx +144 -0
- package/src/react/Tabs.tsx +97 -0
- package/src/react/Terminal.tsx +95 -0
- package/src/react/Textarea.tsx +20 -0
- package/src/react/Ticker.tsx +46 -0
- package/src/react/Toast.tsx +43 -0
- package/src/react/Tooltip.tsx +32 -0
- package/src/react/index.ts +52 -0
- package/src/tokens/base.ts +48 -0
- package/src/tokens/index.ts +7 -0
- package/src/tokens/semantic.ts +63 -0
- package/src/tokens/themes/cyan.ts +16 -0
- package/src/tokens/themes/green.ts +16 -0
- package/src/tokens/themes/orange.ts +16 -0
- package/src/tokens/themes/red.ts +16 -0
- package/src/tokens/themes/steel.ts +16 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/* ── Toggle / Toggle Group / Button Group ──────────────────────────────────── */
|
|
2
|
+
|
|
3
|
+
.cd-toggle {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
gap: 6px;
|
|
8
|
+
height: 32px;
|
|
9
|
+
min-width: 32px;
|
|
10
|
+
padding: 0 10px;
|
|
11
|
+
border: 1px solid var(--cd-border);
|
|
12
|
+
background: rgba(5, 6, 10, 0.55);
|
|
13
|
+
color: var(--cd-text-muted);
|
|
14
|
+
font-family: var(--cd-font-mono);
|
|
15
|
+
font-size: var(--cd-text-sm);
|
|
16
|
+
font-weight: 700;
|
|
17
|
+
text-transform: uppercase;
|
|
18
|
+
letter-spacing: 0.08em;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
user-select: none;
|
|
21
|
+
transition: color 120ms ease, border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.cd-toggle:hover:not(:disabled):not([data-state='on']) {
|
|
25
|
+
color: var(--cd-accent);
|
|
26
|
+
border-color: var(--cd-border-glow);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.cd-toggle:disabled {
|
|
30
|
+
opacity: 0.3;
|
|
31
|
+
cursor: not-allowed;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.cd-toggle[data-state='on'],
|
|
35
|
+
.cd-toggle.is-on {
|
|
36
|
+
color: var(--cd-accent);
|
|
37
|
+
border-color: color-mix(in srgb, var(--cd-accent) 55%, transparent);
|
|
38
|
+
background: var(--cd-accent-subtle);
|
|
39
|
+
box-shadow:
|
|
40
|
+
0 0 8px color-mix(in srgb, var(--cd-accent) 18%, transparent),
|
|
41
|
+
inset 0 -2px 0 color-mix(in srgb, var(--cd-accent) 20%, transparent);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.cd-toggle--sm {
|
|
45
|
+
height: 26px;
|
|
46
|
+
min-width: 26px;
|
|
47
|
+
padding: 0 8px;
|
|
48
|
+
font-size: var(--cd-text-xs);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.cd-toggle--outline {
|
|
52
|
+
background: transparent;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.cd-toggle-group {
|
|
56
|
+
display: inline-flex;
|
|
57
|
+
align-items: stretch;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.cd-toggle-group > .cd-toggle {
|
|
61
|
+
border-radius: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.cd-toggle-group > .cd-toggle:not(:first-child) {
|
|
65
|
+
margin-left: -1px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.cd-toggle-group > .cd-toggle:hover,
|
|
69
|
+
.cd-toggle-group > .cd-toggle[data-state='on'] {
|
|
70
|
+
z-index: 1;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Button group */
|
|
74
|
+
.cd-btn-group {
|
|
75
|
+
display: inline-flex;
|
|
76
|
+
align-items: stretch;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.cd-btn-group > .cd-btn {
|
|
80
|
+
border-radius: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.cd-btn-group > .cd-btn:not(:first-child) {
|
|
84
|
+
margin-left: -1px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.cd-btn-group > .cd-btn:hover,
|
|
88
|
+
.cd-btn-group > .cd-btn:focus-visible {
|
|
89
|
+
z-index: 1;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.cd-btn-group--vertical {
|
|
93
|
+
flex-direction: column;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.cd-btn-group--vertical > .cd-btn:not(:first-child) {
|
|
97
|
+
margin-left: 0;
|
|
98
|
+
margin-top: -1px;
|
|
99
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/* ── Typography primitives ─────────────────────────────────────────────────── */
|
|
2
|
+
|
|
3
|
+
.cd-typography {
|
|
4
|
+
font-family: var(--cd-font-mono);
|
|
5
|
+
color: var(--cd-text);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.cd-h1,
|
|
9
|
+
.cd-h2,
|
|
10
|
+
.cd-h3,
|
|
11
|
+
.cd-h4 {
|
|
12
|
+
margin: 0;
|
|
13
|
+
font-weight: 700;
|
|
14
|
+
text-transform: uppercase;
|
|
15
|
+
letter-spacing: 0.08em;
|
|
16
|
+
color: var(--cd-text);
|
|
17
|
+
line-height: 1.25;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.cd-h1 {
|
|
21
|
+
font-size: 1.75rem;
|
|
22
|
+
letter-spacing: 0.06em;
|
|
23
|
+
color: var(--cd-accent);
|
|
24
|
+
text-shadow: 0 0 12px color-mix(in srgb, var(--cd-accent) 30%, transparent);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.cd-h2 {
|
|
28
|
+
font-size: 1.35rem;
|
|
29
|
+
color: var(--cd-accent);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.cd-h3 {
|
|
33
|
+
font-size: 1.05rem;
|
|
34
|
+
letter-spacing: 0.1em;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.cd-h4 {
|
|
38
|
+
font-size: var(--cd-text-md);
|
|
39
|
+
letter-spacing: 0.12em;
|
|
40
|
+
color: var(--cd-text-secondary);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.cd-p {
|
|
44
|
+
margin: 0;
|
|
45
|
+
font-size: var(--cd-text-base);
|
|
46
|
+
line-height: 1.65;
|
|
47
|
+
color: var(--cd-text-secondary);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.cd-lead {
|
|
51
|
+
margin: 0;
|
|
52
|
+
font-size: var(--cd-text-md);
|
|
53
|
+
line-height: 1.6;
|
|
54
|
+
color: var(--cd-text);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.cd-muted {
|
|
58
|
+
margin: 0;
|
|
59
|
+
font-size: var(--cd-text-sm);
|
|
60
|
+
color: var(--cd-text-muted);
|
|
61
|
+
line-height: 1.5;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.cd-small {
|
|
65
|
+
font-size: var(--cd-text-xs);
|
|
66
|
+
color: var(--cd-text-dim);
|
|
67
|
+
letter-spacing: 0.06em;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.cd-code {
|
|
71
|
+
font-family: var(--cd-font-mono);
|
|
72
|
+
font-size: 0.9em;
|
|
73
|
+
padding: 1px 5px;
|
|
74
|
+
background: color-mix(in srgb, var(--cd-bg) 80%, transparent);
|
|
75
|
+
border: 1px solid var(--cd-border-dim);
|
|
76
|
+
color: var(--cd-accent);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.cd-pre {
|
|
80
|
+
margin: 0;
|
|
81
|
+
padding: 12px 14px;
|
|
82
|
+
overflow: auto;
|
|
83
|
+
background: rgba(5, 6, 10, 0.9);
|
|
84
|
+
border: 1px solid var(--cd-border);
|
|
85
|
+
font-family: var(--cd-font-mono);
|
|
86
|
+
font-size: var(--cd-text-sm);
|
|
87
|
+
line-height: 1.55;
|
|
88
|
+
color: var(--cd-text-secondary);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.cd-blockquote {
|
|
92
|
+
margin: 0;
|
|
93
|
+
padding: 8px 14px;
|
|
94
|
+
border-left: 2px solid var(--cd-accent);
|
|
95
|
+
color: var(--cd-text-muted);
|
|
96
|
+
font-style: italic;
|
|
97
|
+
font-size: var(--cd-text-sm);
|
|
98
|
+
line-height: 1.55;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.cd-list {
|
|
102
|
+
margin: 0;
|
|
103
|
+
padding-left: 1.25rem;
|
|
104
|
+
color: var(--cd-text-secondary);
|
|
105
|
+
font-size: var(--cd-text-sm);
|
|
106
|
+
line-height: 1.65;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.cd-list li::marker {
|
|
110
|
+
color: var(--cd-accent);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.cd-inline-link {
|
|
114
|
+
color: var(--cd-accent);
|
|
115
|
+
text-decoration: none;
|
|
116
|
+
border-bottom: 1px solid color-mix(in srgb, var(--cd-accent) 35%, transparent);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.cd-inline-link:hover {
|
|
120
|
+
border-bottom-color: var(--cd-accent);
|
|
121
|
+
text-shadow: 0 0 8px color-mix(in srgb, var(--cd-accent) 30%, transparent);
|
|
122
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* ── Spinning Vector Backgrounds ────────────────────────────────────────────
|
|
2
|
+
CSS animation layer for inline SVG decorative backgrounds.
|
|
3
|
+
All SVGs use viewBox="0 0 240 240" and inherit --cd-* colors from the DOM.
|
|
4
|
+
─────────────────────────────────────────────────────────────────────────── */
|
|
5
|
+
|
|
6
|
+
@keyframes cd-vbg-cw { to { transform: rotate(360deg); } }
|
|
7
|
+
@keyframes cd-vbg-ccw { to { transform: rotate(-360deg); } }
|
|
8
|
+
|
|
9
|
+
/* ── Container ───────────────────────────────────────────────────────────── */
|
|
10
|
+
|
|
11
|
+
.cd-vectorbg {
|
|
12
|
+
position: relative;
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
width: 240px;
|
|
18
|
+
height: 240px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.cd-vectorbg svg {
|
|
22
|
+
display: block;
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.cd-vectorbg--sm { width: 160px; height: 160px; }
|
|
28
|
+
.cd-vectorbg--lg { width: 360px; height: 360px; }
|
|
29
|
+
.cd-vectorbg--fill { width: 100%; height: 100%; }
|
|
30
|
+
|
|
31
|
+
/* ── Spin utility classes (apply directly to SVG <g> elements) ───────────── */
|
|
32
|
+
/* All groups include a full-size invisible <rect> to anchor transform-origin */
|
|
33
|
+
/* at the SVG center via transform-box: fill-box; transform-origin: center */
|
|
34
|
+
|
|
35
|
+
.cd-vbg-cw {
|
|
36
|
+
animation: cd-vbg-cw 12s linear infinite;
|
|
37
|
+
transform-box: fill-box;
|
|
38
|
+
transform-origin: center;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.cd-vbg-ccw {
|
|
42
|
+
animation: cd-vbg-ccw 8s linear infinite;
|
|
43
|
+
transform-box: fill-box;
|
|
44
|
+
transform-origin: center;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Speed modifiers — combine with .cd-vbg-cw / .cd-vbg-ccw */
|
|
48
|
+
.cd-vbg-xl { animation-duration: 48s; }
|
|
49
|
+
.cd-vbg-slow { animation-duration: 24s; }
|
|
50
|
+
.cd-vbg-med { animation-duration: 10s; }
|
|
51
|
+
.cd-vbg-fast { animation-duration: 3.5s; }
|
|
52
|
+
|
|
53
|
+
/* Reduced motion — freeze all spinning */
|
|
54
|
+
@media (prefers-reduced-motion: reduce) {
|
|
55
|
+
.cd-vbg-cw,
|
|
56
|
+
.cd-vbg-ccw { animation: none; }
|
|
57
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/* ── Glow box-shadows ─────────────────────────────────── */
|
|
2
|
+
|
|
3
|
+
.cd-glow {
|
|
4
|
+
box-shadow:
|
|
5
|
+
0 0 8px color-mix(in srgb, var(--cd-accent) 25%, transparent),
|
|
6
|
+
0 0 20px color-mix(in srgb, var(--cd-accent) 12%, transparent),
|
|
7
|
+
inset 0 0 8px color-mix(in srgb, var(--cd-accent) 6%, transparent);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.cd-glow-secondary {
|
|
11
|
+
box-shadow:
|
|
12
|
+
0 0 8px var(--cd-accent-secondary-subtle),
|
|
13
|
+
0 0 20px var(--cd-accent-secondary-subtle),
|
|
14
|
+
inset 0 0 8px var(--cd-accent-secondary-subtle);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Named backward-compat variants */
|
|
18
|
+
.glow-orange {
|
|
19
|
+
box-shadow:
|
|
20
|
+
0 0 8px rgba(255,136,0,0.25),
|
|
21
|
+
0 0 20px rgba(255,136,0,0.12),
|
|
22
|
+
inset 0 0 8px rgba(255,136,0,0.06);
|
|
23
|
+
}
|
|
24
|
+
.glow-amber {
|
|
25
|
+
box-shadow:
|
|
26
|
+
0 0 8px rgba(255,170,0,0.25),
|
|
27
|
+
0 0 20px rgba(255,170,0,0.12),
|
|
28
|
+
inset 0 0 8px rgba(255,170,0,0.06);
|
|
29
|
+
}
|
|
30
|
+
.glow-magenta {
|
|
31
|
+
box-shadow:
|
|
32
|
+
0 0 8px rgba(255,43,214,0.25),
|
|
33
|
+
0 0 20px rgba(255,43,214,0.12),
|
|
34
|
+
inset 0 0 8px rgba(255,43,214,0.06);
|
|
35
|
+
}
|
|
36
|
+
.glow-green {
|
|
37
|
+
box-shadow:
|
|
38
|
+
0 0 8px rgba(82,255,159,0.25),
|
|
39
|
+
0 0 20px rgba(82,255,159,0.12),
|
|
40
|
+
inset 0 0 8px rgba(82,255,159,0.06);
|
|
41
|
+
}
|
|
42
|
+
.glow-red {
|
|
43
|
+
box-shadow:
|
|
44
|
+
0 0 8px rgba(255,69,108,0.25),
|
|
45
|
+
0 0 20px rgba(255,69,108,0.12),
|
|
46
|
+
inset 0 0 8px rgba(255,69,108,0.06);
|
|
47
|
+
}
|
|
48
|
+
.glow-cyan {
|
|
49
|
+
box-shadow:
|
|
50
|
+
0 0 8px rgba(71,246,255,0.25),
|
|
51
|
+
0 0 20px rgba(71,246,255,0.12),
|
|
52
|
+
inset 0 0 8px rgba(71,246,255,0.06);
|
|
53
|
+
}
|
|
54
|
+
.glow-blue {
|
|
55
|
+
box-shadow:
|
|
56
|
+
0 0 8px rgba(106,168,255,0.25),
|
|
57
|
+
0 0 20px rgba(106,168,255,0.12),
|
|
58
|
+
inset 0 0 8px rgba(106,168,255,0.06);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* ── Text glow ─────────────────────────────────────────── */
|
|
62
|
+
|
|
63
|
+
.cd-text-glow {
|
|
64
|
+
text-shadow:
|
|
65
|
+
0 0 6px color-mix(in srgb, var(--cd-accent) 60%, transparent),
|
|
66
|
+
0 0 12px color-mix(in srgb, var(--cd-accent) 30%, transparent);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.text-glow-orange { text-shadow: 0 0 6px rgba(255,136,0,0.6), 0 0 12px rgba(255,136,0,0.3); }
|
|
70
|
+
.text-glow-amber { text-shadow: 0 0 6px rgba(255,170,0,0.6), 0 0 12px rgba(255,170,0,0.3); }
|
|
71
|
+
.text-glow-magenta { text-shadow: 0 0 6px rgba(255,43,214,0.6), 0 0 12px rgba(255,43,214,0.3); }
|
|
72
|
+
.text-glow-green { text-shadow: 0 0 6px rgba(82,255,159,0.6), 0 0 12px rgba(82,255,159,0.3); }
|
|
73
|
+
.text-glow-red { text-shadow: 0 0 6px rgba(255,69,108,0.6), 0 0 12px rgba(255,69,108,0.3); }
|
|
74
|
+
.text-glow-cyan { text-shadow: 0 0 6px rgba(71,246,255,0.6), 0 0 12px rgba(71,246,255,0.3); }
|
|
75
|
+
.text-glow-blue { text-shadow: 0 0 6px rgba(106,168,255,0.6), 0 0 12px rgba(106,168,255,0.3); }
|
|
76
|
+
|
|
77
|
+
/* ── 3D offset shadow (AI-shell app pattern) ─────────────── */
|
|
78
|
+
|
|
79
|
+
.cd-shadow-3d {
|
|
80
|
+
box-shadow:
|
|
81
|
+
3px 3px 0 var(--cd-accent-secondary-subtle),
|
|
82
|
+
0 0 12px color-mix(in srgb, var(--cd-accent) 20%, transparent);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.cd-shadow-3d-hover:hover {
|
|
86
|
+
box-shadow:
|
|
87
|
+
3px 3px 0 color-mix(in srgb, var(--cd-accent-secondary) 55%, transparent),
|
|
88
|
+
0 0 18px color-mix(in srgb, var(--cd-accent) 30%, transparent);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* ── CRT scanline overlay ───────────────────────────────── */
|
|
92
|
+
|
|
93
|
+
.cd-scanline {
|
|
94
|
+
pointer-events: none;
|
|
95
|
+
position: fixed;
|
|
96
|
+
inset: 0;
|
|
97
|
+
z-index: 9999;
|
|
98
|
+
background: repeating-linear-gradient(
|
|
99
|
+
0deg,
|
|
100
|
+
transparent,
|
|
101
|
+
transparent 2px,
|
|
102
|
+
var(--cd-scanline-color) 2px,
|
|
103
|
+
var(--cd-scanline-color) 4px
|
|
104
|
+
);
|
|
105
|
+
mix-blend-mode: multiply;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* ── Pixel grid background (AI-shell app pattern) ────────── */
|
|
109
|
+
|
|
110
|
+
.cd-pixel-grid {
|
|
111
|
+
background-image:
|
|
112
|
+
linear-gradient(90deg, var(--cd-pixel-grid-color) 1px, transparent 1px),
|
|
113
|
+
linear-gradient(0deg, var(--cd-pixel-grid-color) 1px, transparent 1px);
|
|
114
|
+
background-size: 16px 16px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* ── Thin neon scrollbar ────────────────────────────────── */
|
|
118
|
+
|
|
119
|
+
.cd-scrollbar::-webkit-scrollbar { width: 4px; height: 4px; }
|
|
120
|
+
.cd-scrollbar::-webkit-scrollbar-track { background: transparent; }
|
|
121
|
+
.cd-scrollbar::-webkit-scrollbar-thumb {
|
|
122
|
+
background: var(--cd-scrollbar-thumb);
|
|
123
|
+
border-radius: 2px;
|
|
124
|
+
}
|
|
125
|
+
.cd-scrollbar::-webkit-scrollbar-thumb:hover {
|
|
126
|
+
background: color-mix(in srgb, var(--cd-scrollbar-thumb) 200%, transparent);
|
|
127
|
+
}
|
|
128
|
+
.cd-scrollbar {
|
|
129
|
+
scrollbar-width: thin;
|
|
130
|
+
scrollbar-color: var(--cd-scrollbar-thumb) transparent;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* ── Typography utilities ───────────────────────────────── */
|
|
134
|
+
|
|
135
|
+
.cd-label {
|
|
136
|
+
font-family: var(--cd-font-mono);
|
|
137
|
+
font-size: var(--cd-text-xs);
|
|
138
|
+
font-weight: 700;
|
|
139
|
+
text-transform: uppercase;
|
|
140
|
+
letter-spacing: 0.18em;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.cd-label-wide {
|
|
144
|
+
font-family: var(--cd-font-mono);
|
|
145
|
+
font-size: var(--cd-text-xs);
|
|
146
|
+
font-weight: 700;
|
|
147
|
+
text-transform: uppercase;
|
|
148
|
+
letter-spacing: 0.3em;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* ── Chromatic aberration / glitch text ─────────────────── */
|
|
152
|
+
|
|
153
|
+
.cd-glitch-text {
|
|
154
|
+
text-shadow:
|
|
155
|
+
2px 0 0 color-mix(in srgb, var(--cd-accent-secondary) 55%, transparent),
|
|
156
|
+
0 0 8px color-mix(in srgb, var(--cd-accent) 40%, transparent);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* ── Frosted glass surface ──────────────────────────────── */
|
|
160
|
+
|
|
161
|
+
.cd-glass {
|
|
162
|
+
background: var(--cd-bg-surface);
|
|
163
|
+
backdrop-filter: blur(8px);
|
|
164
|
+
-webkit-backdrop-filter: blur(8px);
|
|
165
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|