Commit 98325cf
committed
Add theme context and provider for dark/light mode support
- Introduced a new enum to manage UI themes (Light, Dark, System).
- Implemented component to provide theme context to child components.
- Added functionality to update CSS based on the selected theme and system preferences.
- Integrated local storage to persist theme selection across sessions.
- Updated to include the new context module.
- Modified the page to include buttons for learning and joining the community.
- Added new icon modules for Rust logos.1 parent 9f72aab commit 98325cf
File tree
28 files changed
+671
-88
lines changed- .vscode
- assets/new
- background
- fonts
- logos
- src
- components
- icons
- new
- context
- pages
28 files changed
+671
-88
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments