Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add custom theme switch component #726

Merged
merged 3 commits into from
Jun 17, 2024

Conversation

tinaszheng
Copy link
Contributor

@tinaszheng tinaszheng commented Jun 17, 2024

image

still waiting on designs for the "checked" version

image

Pull Request Checklist


PR-Codex overview

This PR updates the global CSS variables for light and dark themes, adds a new ThemeSwitch component, and integrates theme switching functionality.

Detailed summary

  • Updated global CSS variables for light and dark themes
  • Added ThemeSwitch component for theme switching
  • Integrated theme switching functionality in Styling component

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Jun 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aa-sdk-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 17, 2024 4:04pm

@tinaszheng tinaszheng marked this pull request as ready for review June 17, 2024 15:37
@tinaszheng tinaszheng changed the title feat: Add custom theme switch component feat: add custom theme switch component Jun 17, 2024
@layer utilities {
.text-balance {
text-wrap: balance;
@layer base {
Copy link
Contributor

Choose a reason for hiding this comment

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

we could integrate w the above block but also not the worst to keep this separate

@tinaszheng tinaszheng merged commit 0fcedb2 into tina/ui-demo Jun 17, 2024
3 of 5 checks passed
@tinaszheng tinaszheng deleted the tina/custom-theme-switch branch June 17, 2024 19:45
tinaszheng added a commit that referenced this pull request Jun 19, 2024
* feat: add custom theme switch

* fix: undo lockfile changes

* feat: update theme in global config
moldy530 pushed a commit that referenced this pull request Jun 25, 2024
* feat: add custom theme switch

* fix: undo lockfile changes

* feat: update theme in global config
moldy530 pushed a commit that referenced this pull request Jun 25, 2024
* feat: add custom theme switch

* fix: undo lockfile changes

* feat: update theme in global config
moldy530 pushed a commit that referenced this pull request Jun 28, 2024
* feat: add custom theme switch

* fix: undo lockfile changes

* feat: update theme in global config
moldy530 pushed a commit that referenced this pull request Jul 17, 2024
* feat: add custom theme switch

* fix: undo lockfile changes

* feat: update theme in global config
moldy530 pushed a commit that referenced this pull request Jul 30, 2024
* feat: add custom theme switch

* fix: undo lockfile changes

* feat: update theme in global config
moldy530 pushed a commit that referenced this pull request Aug 13, 2024
* feat: add custom theme switch

* fix: undo lockfile changes

* feat: update theme in global config
moldy530 pushed a commit that referenced this pull request Aug 28, 2024
* feat: add custom theme switch

* fix: undo lockfile changes

* feat: update theme in global config
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.

2 participants