Repository navigation
Expand file tree
/
Copy pathtailwind.css
More file actions
72 lines (59 loc) · 1.54 KB
/
Copy pathtailwind.css
File metadata and controls
72 lines (59 loc) · 1.54 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
/*
* Tailwind v4 CSS Entry Point (DX Auto-Detected)
*
* This file is automatically detected by Dioxus CLI (DX).
* DX will download the Tailwind CLI and generate assets/tailwind.css automatically.
*
* See: https://dioxuslabs.com/learn/0.7/essentials/ui/styling#tailwind
*/
@import "tailwindcss";
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap");
/* Tell Tailwind to scan Rust source files for classes */
@source "./src/**/*.{rs,html,css}";
@theme {
/* Custom Color Palette */
--color-dark-900: #0a0a0b;
--color-dark-800: #111113;
--color-dark-700: #18181b;
--color-dark-600: #1f1f23;
--color-dark-500: #27272a;
--color-dark-400: #3f3f46;
--color-accent: #00d4ff;
--color-accent-dim: #00a8cc;
/* Font Families */
--font-mono: "JetBrains Mono", monospace;
--font-sans: "Inter", system-ui, sans-serif;
}
@layer base {
body {
font-family: var(--font-sans);
}
}
/* Reset overflow for app shell */
html,
body,
#main {
height: 100%;
width: 100%;
overflow: hidden;
}
/* Scrollbar Styling - Tailwind doesn't handle this */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: #18181b;
}
::-webkit-scrollbar-thumb {
background: #3f3f46;
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: #52525b;
}
/* Custom focus ring for accessibility */
*:focus-visible {
outline: 2px solid #00d4ff;
outline-offset: 2px;
}