Skip to content

Commit 3d6d7db

Browse files
authored
update css docs (#477)
1 parent 536aa10 commit 3d6d7db

File tree

2 files changed

+52
-10
lines changed

2 files changed

+52
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</div>
2828

2929
[docs-dev-img]: https://img.shields.io/badge/docs-%20tutorial-orange?style=round-square
30-
[docs-dev-url]: https://browzarr.io/latest/docs/
30+
[docs-dev-url]: https://browzarr.io/docs/
3131

3232
Browzarr is a powerful, browser-native framework for visualizing, exploring, and analyzing **Zarr data stores**.
3333
Load multi-dimensional datasets directly in the browser, interactively slice and inspect chunks, and gain insights without any backend or server setup.

docs/assets/css/main.css

Lines changed: 51 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,55 @@
99
/* Container */
1010
--ui-container: 90rem;
1111

12-
/* Primary colors */
13-
--color-primary: #009689; /* gold */
14-
--color-primary-light: #6366f1; /* Indigo 500 */
15-
--color-primary-dark: #4338ca; /* Indigo 700 */
16-
17-
/* Secondary / accent colors (optional) */
18-
--color-secondary: #ec4899; /* Pink 500 */
19-
--color-secondary-light: #f472b6;
20-
--color-secondary-dark: #db2777;
12+
/* Sunset palette */
13+
--color-sunset-50: #E3F2FD;
14+
--color-sunset-100: #BBDEFB;
15+
--color-sunset-200: #90CAF9;
16+
--color-sunset-300: #64B5F6;
17+
--color-sunset-400: #42A5F5;
18+
--color-sunset-500: #1E88E5;
19+
--color-sunset-600: #5E35B1;
20+
--color-sunset-700: #E91E63;
21+
--color-sunset-800: #FF6F00;
22+
--color-sunset-900: #8E24AA;
23+
--color-sunset-950: #6A1B9A;
24+
25+
/* neutrals */
26+
--color-neutral-50: #F9FAFB;
27+
--color-neutral-100: #F3F4F6;
28+
--color-neutral-200: #E5E7EB;
29+
--color-neutral-300: #D1D5DB;
30+
--color-neutral-400: #9CA3AF;
31+
--color-neutral-500: #6B7280;
32+
--color-neutral-600: #4B5563;
33+
--color-neutral-700: #374151;
34+
--color-neutral-800: #1F2937;
35+
--color-neutral-900: #111827;
36+
--color-neutral-950: #0F172A;
37+
}
38+
39+
/* Map the semantic colors so utilities work */
40+
:root {
41+
--ui-primary: var(--color-neutral-600);
42+
--ui-secondary: var(--color-sunset-800);
43+
--ui-info: var(--color-sunset-400);
44+
--ui-success: var(--color-sunset-300);
45+
--ui-warning: var(--color-sunset-800);
46+
--ui-error: var(--color-sunset-700);
47+
48+
/* neutrals */
49+
--ui-text: var(--color-neutral-700);
50+
--ui-border: var(--color-neutral-200);
2151
}
52+
53+
.dark {
54+
--ui-primary: var(--color-neutral-300);
55+
--ui-secondary: var(--color-sunset-700);
56+
--ui-info: var(--color-sunset-200);
57+
--ui-success: var(--color-sunset-400);
58+
--ui-warning: var(--color-sunset-700);
59+
--ui-error: var(--color-sunset-900);
60+
61+
--ui-text: var(--color-neutral-50);
62+
--ui-border: var(--color-neutral-600);
63+
}

0 commit comments

Comments
 (0)