Skip to content

Implement theme provider and dark mode support#3

Open
leopc999 wants to merge 1 commit intoThomas-YHS:mainfrom
leopc999:main
Open

Implement theme provider and dark mode support#3
leopc999 wants to merge 1 commit intoThomas-YHS:mainfrom
leopc999:main

Conversation

@leopc999
Copy link
Copy Markdown

Introduce a ThemeProvider component to manage theme state and enable dark mode. Update various components to support theme toggling and refactor styles to utilize CSS variables and Tailwind CSS for improved design consistency and accessibility. Enhance user experience with a theme toggle button.

- Added ThemeProvider component to manage theme state and apply styles.
- Integrated theme toggling functionality in TopNav and WalletButton components.
- Updated styles and colors to use CSS variables for better theme management.
- Refactored LandingPage and other components to utilize new color tokens.
- Introduced Tailwind CSS configuration for custom design tokens.
- Enhanced accessibility and user experience with theme toggle button.
Copy link
Copy Markdown
Author

@leopc999 leopc999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

做了浅色和深色两种风格

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant