-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.css
More file actions
153 lines (128 loc) · 4.42 KB
/
variables.css
File metadata and controls
153 lines (128 loc) · 4.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/* ==================== NEBULA DESIGN TOKENS ==================== */
/* Typography — Developer Mono pairing */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');
:root {
/* ==================== FONTS ==================== */
--font-primary: 'Outfit', sans-serif;
--font-code: 'JetBrains Mono', monospace;
--font-ui: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
--font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
/* ==================== TYPOGRAPHY SCALE ==================== */
--text-xs: 0.75rem; /* 12px */
--text-sm: 0.875rem; /* 14px */
--text-base: 1rem; /* 16px */
--text-lg: 1.125rem; /* 18px */
--text-xl: 1.25rem; /* 20px */
--text-2xl: 1.5rem; /* 24px */
--text-3xl: 1.875rem; /* 30px */
--leading-tight: 1.25;
--leading-normal: 1.5;
--leading-relaxed: 1.75;
/* ==================== Z-INDEX SCALE ==================== */
--z-base: 0;
--z-raised: 10;
--z-sidebar: 20;
--z-toolbar: 30;
--z-dropdown: 40;
--z-modal-backdrop: 50;
--z-modal: 60;
--z-toast: 70;
--z-max: 100;
/* ==================== SPACING (8px grid) ==================== */
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 24px;
--space-6: 32px;
--space-7: 48px;
--space-8: 64px;
/* ==================== SHADOWS ==================== */
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
--shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
/* ==================== TRANSITIONS ==================== */
--ease-default: cubic-bezier(0.4, 0, 0.2, 1);
--ease-in: cubic-bezier(0.4, 0, 1, 1);
--ease-out: cubic-bezier(0, 0, 0.2, 1);
--ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
--duration-fast: 150ms;
--duration-normal: 250ms;
--duration-slow: 400ms;
/* ==================== TOUCH TARGETS ==================== */
--touch-min: 44px;
--touch-comfortable: 48px;
/* ==================== SEMANTIC FEEDBACK ==================== */
--success: #22c55e;
--success-subtle: rgba(34, 197, 94, 0.1);
--warning: #f59e0b;
--warning-subtle: rgba(245, 158, 11, 0.1);
--error: #ef4444;
--error-subtle: rgba(239, 68, 68, 0.1);
--info: #3b82f6;
--info-subtle: rgba(59, 130, 246, 0.1);
/* ==================== NEBULA DARK (Default) ==================== */
/* Core Backgrounds */
--bg-universe: #050508;
/* The void */
--bg-element: #0f1123;
/* Solid panels if needed */
/* Glass System */
--bg-glass: rgba(15, 17, 35, 0.6);
/* Main panels */
--bg-glass-heavy: rgba(10, 12, 25, 0.85);
/* Sidebar/Modals */
--bg-glass-light: rgba(255, 255, 255, 0.05);
/* Hover states */
/* Borders */
--border-glass: rgba(255, 255, 255, 0.08);
--border-glow: rgba(0, 243, 255, 0.3);
/* Accents */
--accent-cyan: #00f3ff;
--accent-violet: #bc13fe;
--accent-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
/* Text */
--text-star: #ffffff;
--text-stardust: #8b9bb4;
--text-void: #050508;
/* Effects */
--shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
--shadow-neon: 0 0 10px rgba(0, 243, 255, 0.2);
--blur-panel: blur(24px) saturate(180%);
/* Layout */
--header-height: 60px;
--sidebar-width: 280px;
--radius-lg: 16px;
--radius-md: 12px;
--radius-sm: 8px;
/* Anchor Navigation */
--scroll-padding: 20px;
--scroll-offset: calc(var(--header-height) + var(--scroll-padding));
}
/* ==================== NEBULA LIGHT ==================== */
[data-theme='nebula-light'] {
/* Core Backgrounds */
--bg-universe: #f0f4f8;
--bg-element: #ffffff;
/* Glass System */
--bg-glass: rgba(255, 255, 255, 0.65);
--bg-glass-heavy: rgba(255, 255, 255, 0.85);
--bg-glass-light: rgba(0, 0, 0, 0.03);
/* Borders */
--border-glass: rgba(0, 0, 0, 0.06);
--border-glow: rgba(0, 188, 212, 0.4);
/* Accents */
--accent-cyan: #00bcd4;
--accent-violet: #9c27b0;
--accent-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
/* Text */
--text-star: #1a202c;
--text-stardust: #4a5568;
--text-void: #ffffff;
/* Effects */
--shadow-glass: 0 8px 24px rgba(149, 157, 165, 0.15);
--shadow-neon: 0 0 10px rgba(0, 188, 212, 0.2);
--blur-panel: blur(20px) saturate(150%);
}