1+ /* 1️⃣ Import Tailwind */
12@import "tailwindcss" ;
2- @plugin "tailwindcss-animate" ;
33
4- @custom-variant dark (& : is (.dark * ));
4+ /* 2️⃣ Import Satoshi font from Fontshare */
5+ @import url ("https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap" );
56
6- @tailwind base;
7- @tailwind components;
8- @tailwind utilities;
7+ /* 3️⃣ Define theme variables (font + glass shadow) */
8+ @theme {
9+ --font-sans : "Satoshi" , system-ui, -apple-system, BlinkMacSystemFont,
10+ "Segoe UI" , Roboto, Helvetica, Arial, sans-serif;
911
10- /* src/index.css */
11- html , body , # root { height : 100% ; }
12- body { background : transparent; }
13-
14-
15- /* :root {
16- font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
17- line-height: 1.5;
18- font-weight: 400;
19-
20- color-scheme: light dark;
21- color: rgba(255, 255, 255, 0.87);
22- background-color: #242424;
23-
24- font-synthesis: none;
25- text-rendering: optimizeLegibility;
26- -webkit-font-smoothing: antialiased;
27- -moz-osx-font-smoothing: grayscale;
28- --radius: 0.625rem;
29- --background: oklch(1 0 0);
30- --foreground: oklch(0.13 0.028 261.692);
31- --card: oklch(1 0 0);
32- --card-foreground: oklch(0.13 0.028 261.692);
33- --popover: oklch(1 0 0);
34- --popover-foreground: oklch(0.13 0.028 261.692);
35- --primary: oklch(0.21 0.034 264.665);
36- --primary-foreground: oklch(0.985 0.002 247.839);
37- --secondary: oklch(0.967 0.003 264.542);
38- --secondary-foreground: oklch(0.21 0.034 264.665);
39- --muted: oklch(0.967 0.003 264.542);
40- --muted-foreground: oklch(0.551 0.027 264.364);
41- --accent: oklch(0.967 0.003 264.542);
42- --accent-foreground: oklch(0.21 0.034 264.665);
43- --destructive: oklch(0.577 0.245 27.325);
44- --border: oklch(0.928 0.006 264.531);
45- --input: oklch(0.928 0.006 264.531);
46- --ring: oklch(0.707 0.022 261.325);
47- --chart-1: oklch(0.646 0.222 41.116);
48- --chart-2: oklch(0.6 0.118 184.704);
49- --chart-3: oklch(0.398 0.07 227.392);
50- --chart-4: oklch(0.828 0.189 84.429);
51- --chart-5: oklch(0.769 0.188 70.08);
52- --sidebar: oklch(0.985 0.002 247.839);
53- --sidebar-foreground: oklch(0.13 0.028 261.692);
54- --sidebar-primary: oklch(0.21 0.034 264.665);
55- --sidebar-primary-foreground: oklch(0.985 0.002 247.839);
56- --sidebar-accent: oklch(0.967 0.003 264.542);
57- --sidebar-accent-foreground: oklch(0.21 0.034 264.665);
58- --sidebar-border: oklch(0.928 0.006 264.531);
59- --sidebar-ring: oklch(0.707 0.022 261.325);
12+ --shadow-glass : 0 12px 40px rgba (0 , 0 , 0 , 0.35 );
6013}
6114
62- a {
63- font-weight: 500;
64- color: #646cff;
65- text-decoration: inherit;
66- }
67- a:hover {
68- color: #535bf2;
69- }
15+ /* 4️⃣ Base styles that apply globally */
16+ @layer base {
17+ html {
18+ font-size : 19px ; /* slightly larger base */
19+ }
7020
71- body {
72- margin: 0;
73- display: flex;
74- place-items: center;
75- min-width: 320px;
76- min-height: 100vh;
77- }
21+ body {
22+ @apply font-sans antialiased text-slate-100 bg-transparent selection:bg-white/20;
23+ text-shadow : 0 1px 2px rgba (0 , 0 , 0 , 0.4 );
24+ }
7825
79- h1 {
80- font-size: 3.2em;
81- line-height: 1.1;
26+ /* ✨ Ensure all inputs, selects, and buttons use white text */
27+ input , select , textarea , button {
28+ @apply text-slate-100 placeholder:text-slate-400;
29+ }
8230}
8331
84- button {
85- border-radius: 8px;
86- border: 1px solid transparent;
87- padding: 0.6em 1.2em;
88- font-size: 1em;
89- font-weight: 500;
90- font-family: inherit;
91- background-color: #1a1a1a;
92- cursor: pointer;
93- transition: border-color 0.25s;
94- }
95- button:hover {
96- border-color: #646cff;
97- }
98- button:focus,
99- button:focus-visible {
100- outline: 4px auto -webkit-focus-ring-color;
101- }
10232
103- @media (prefers-color-scheme: light) {
104- :root {
105- color: #213547;
106- background-color: #ffffff;
107- }
108- a:hover {
109- color: #747bff;
110- }
111- button {
112- background-color: #f9f9f9;
113- }
114- }
11533
116- @theme inline {
117- --radius-sm: calc(var(--radius) - 4px);
118- --radius-md: calc(var(--radius) - 2px);
119- --radius-lg: var(--radius);
120- --radius-xl: calc(var(--radius) + 4px);
121- --color-background: var(--background);
122- --color-foreground: var(--foreground);
123- --color-card: var(--card);
124- --color-card-foreground: var(--card-foreground);
125- --color-popover: var(--popover);
126- --color-popover-foreground: var(--popover-foreground);
127- --color-primary: var(--primary);
128- --color-primary-foreground: var(--primary-foreground);
129- --color-secondary: var(--secondary);
130- --color-secondary-foreground: var(--secondary-foreground);
131- --color-muted: var(--muted);
132- --color-muted-foreground: var(--muted-foreground);
133- --color-accent: var(--accent);
134- --color-accent-foreground: var(--accent-foreground);
135- --color-destructive: var(--destructive);
136- --color-border: var(--border);
137- --color-input: var(--input);
138- --color-ring: var(--ring);
139- --color-chart-1: var(--chart-1);
140- --color-chart-2: var(--chart-2);
141- --color-chart-3: var(--chart-3);
142- --color-chart-4: var(--chart-4);
143- --color-chart-5: var(--chart-5);
144- --color-sidebar: var(--sidebar);
145- --color-sidebar-foreground: var(--sidebar-foreground);
146- --color-sidebar-primary: var(--sidebar-primary);
147- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
148- --color-sidebar-accent: var(--sidebar-accent);
149- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
150- --color-sidebar-border: var(--sidebar-border);
151- --color-sidebar-ring: var(--sidebar-ring);
152- }
15334
154- .dark {
155- --background: oklch(0.13 0.028 261.692);
156- --foreground: oklch(0.985 0.002 247.839);
157- --card: oklch(0.21 0.034 264.665);
158- --card-foreground: oklch(0.985 0.002 247.839);
159- --popover: oklch(0.21 0.034 264.665);
160- --popover-foreground: oklch(0.985 0.002 247.839);
161- --primary: oklch(0.928 0.006 264.531);
162- --primary-foreground: oklch(0.21 0.034 264.665);
163- --secondary: oklch(0.278 0.033 256.848);
164- --secondary-foreground: oklch(0.985 0.002 247.839);
165- --muted: oklch(0.278 0.033 256.848);
166- --muted-foreground: oklch(0.707 0.022 261.325);
167- --accent: oklch(0.278 0.033 256.848);
168- --accent-foreground: oklch(0.985 0.002 247.839);
169- --destructive: oklch(0.704 0.191 22.216);
170- --border: oklch(1 0 0 / 10%);
171- --input: oklch(1 0 0 / 15%);
172- --ring: oklch(0.551 0.027 264.364);
173- --chart-1: oklch(0.488 0.243 264.376);
174- --chart-2: oklch(0.696 0.17 162.48);
175- --chart-3: oklch(0.769 0.188 70.08);
176- --chart-4: oklch(0.627 0.265 303.9);
177- --chart-5: oklch(0.645 0.246 16.439);
178- --sidebar: oklch(0.21 0.034 264.665);
179- --sidebar-foreground: oklch(0.985 0.002 247.839);
180- --sidebar-primary: oklch(0.488 0.243 264.376);
181- --sidebar-primary-foreground: oklch(0.985 0.002 247.839);
182- --sidebar-accent: oklch(0.278 0.033 256.848);
183- --sidebar-accent-foreground: oklch(0.985 0.002 247.839);
184- --sidebar-border: oklch(1 0 0 / 10%);
185- --sidebar-ring: oklch(0.551 0.027 264.364);
35+ /* @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
36+
37+ @import "tailwindcss";
38+ @plugin "tailwindcss-animate";
39+
40+
41+
42+ /* Global font + smoothing */
43+ /* html,
44+ body {
45+ @apply font-sans antialiased text-slate-100;
46+ font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
47+ Roboto, Helvetica, Arial, sans-serif;
18648}
18749
188- @layer base {
189- * {
190- @apply border-border outline-ring/50 ;
191- }
192- body {
193- @apply bg-background text-foreground;
194- }
195- } */
50+ @custom-variant dark (&:is(.dark *));
51+
52+ @tailwind base ;
53+ @tailwind components;
54+ @tailwind utilities;
55+
56+ html, body, #root { height: 100%; }
57+ body { background: transparent; } */
0 commit comments