astryx-dracula 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/BRAND.md +77 -0
- package/LICENSE +21 -0
- package/README.md +62 -0
- package/USAGE.md +100 -0
- package/astryx-dracula.d.ts +13 -0
- package/astryx-dracula.js +295 -0
- package/astryx-dracula.variants.d.ts +19 -0
- package/fonts/JetBrainsMono-Regular.woff2 +0 -0
- package/fonts/JetBrainsMono-SemiBold.woff2 +0 -0
- package/icons.tsx +77 -0
- package/package.json +63 -0
- package/theme.css +709 -0
- package/tokens.css +91 -0
package/tokens.css
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/* Astryx Styles — pure Dracula brand tokens.
|
|
2
|
+
* Plain-CSS path: `@import './tokens.css'` then use var(--color-*) / var(--dracula-*) / var(--space-*).
|
|
3
|
+
* This file is the pre-theme paint fallback. Values follow the Dracula spec UI
|
|
4
|
+
* palette (Background Light #343746 surfaces, Selection #44475A quiet edges,
|
|
5
|
+
* Current Line #6272A4 visible edges). Do not add new hexes here.
|
|
6
|
+
* Fonts: copy `fonts/` to your app's served static dir (Vite: `public/fonts/`). */
|
|
7
|
+
|
|
8
|
+
@font-face {
|
|
9
|
+
font-family: 'JetBrains Mono';
|
|
10
|
+
font-style: normal;
|
|
11
|
+
font-weight: 400;
|
|
12
|
+
font-display: swap;
|
|
13
|
+
src: url('/fonts/JetBrainsMono-Regular.woff2') format('woff2');
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@font-face {
|
|
17
|
+
font-family: 'JetBrains Mono';
|
|
18
|
+
font-style: normal;
|
|
19
|
+
font-weight: 600;
|
|
20
|
+
font-display: swap;
|
|
21
|
+
src: url('/fonts/JetBrainsMono-SemiBold.woff2') format('woff2');
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:root {
|
|
25
|
+
color-scheme: dark;
|
|
26
|
+
|
|
27
|
+
--dracula-bg: #282A36;
|
|
28
|
+
--dracula-current-line: #6272A4;
|
|
29
|
+
--dracula-selection: #44475A;
|
|
30
|
+
--dracula-fg: #F8F8F2;
|
|
31
|
+
--dracula-comment: #6272A4;
|
|
32
|
+
--dracula-cyan: #8BE9FD;
|
|
33
|
+
--dracula-green: #50FA7B;
|
|
34
|
+
--dracula-orange: #FFB86C;
|
|
35
|
+
--dracula-pink: #FF79C6;
|
|
36
|
+
--dracula-purple: #BD93F9;
|
|
37
|
+
--dracula-red: #FF5555;
|
|
38
|
+
--dracula-yellow: #F1FA8C;
|
|
39
|
+
--dracula-bg-light: #343746;
|
|
40
|
+
--dracula-bg-lighter: #424450;
|
|
41
|
+
--dracula-bg-dark: #21222C;
|
|
42
|
+
--dracula-functional-red: #DE5735;
|
|
43
|
+
--dracula-functional-orange: #A39514;
|
|
44
|
+
--dracula-functional-green: #089108;
|
|
45
|
+
--dracula-functional-cyan: #0081D6;
|
|
46
|
+
--dracula-functional-purple: #815CD6;
|
|
47
|
+
|
|
48
|
+
--space-gap: 23px;
|
|
49
|
+
--space-viewport: 15px;
|
|
50
|
+
--widget-content-vertical: 15px;
|
|
51
|
+
--widget-content-horizontal: 17px;
|
|
52
|
+
--widget-gap: 23px;
|
|
53
|
+
--tile-row: 96px;
|
|
54
|
+
--border-radius: 5px;
|
|
55
|
+
--radius-element: 5px;
|
|
56
|
+
--font-family-mono: 'JetBrains Mono', ui-monospace, monospace;
|
|
57
|
+
|
|
58
|
+
--color-background: #282A36;
|
|
59
|
+
--color-accent: #BD93F9;
|
|
60
|
+
--color-success: #50FA7B;
|
|
61
|
+
--color-error: #FF5555;
|
|
62
|
+
--color-warning: #F1FA8C;
|
|
63
|
+
--color-info: #8BE9FD;
|
|
64
|
+
--color-text-primary: #F8F8F2;
|
|
65
|
+
--color-text-secondary: #9AA1BC;
|
|
66
|
+
--color-text-disabled: #6272A4;
|
|
67
|
+
--color-text-accent: #BD93F9;
|
|
68
|
+
--color-border: #6272A4;
|
|
69
|
+
--color-widget-background: #343746;
|
|
70
|
+
--color-widget-content-border: #6272A4;
|
|
71
|
+
--color-widget-background-highlight: #44475A;
|
|
72
|
+
--color-separator: #44475A;
|
|
73
|
+
--color-popover-background: #424450;
|
|
74
|
+
--color-popover-border: #6272A4;
|
|
75
|
+
--color-graph-gridlines: #44475A;
|
|
76
|
+
--color-progress-border: #44475A;
|
|
77
|
+
--color-progress-value: #6272A4;
|
|
78
|
+
--color-widget-shadow: #21222C;
|
|
79
|
+
--color-text-highlight: #F8F8F2;
|
|
80
|
+
--color-text-paragraph: #B0B3C4;
|
|
81
|
+
--color-text-base: #9AA1BC;
|
|
82
|
+
--color-text-base-muted: #8288A6;
|
|
83
|
+
--color-text-subdue: #4C5067;
|
|
84
|
+
--color-current-line: #6272A4;
|
|
85
|
+
--color-selection: #44475A;
|
|
86
|
+
--color-primary: #BD93F9;
|
|
87
|
+
--color-positive: #50FA7B;
|
|
88
|
+
--color-negative: #FF5555;
|
|
89
|
+
--color-tag-orange: #FFB86C;
|
|
90
|
+
--color-tag-pink: #FF79C6;
|
|
91
|
+
}
|