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

Improve theme page #204

Open
6 tasks
techniq opened this issue Jan 10, 2024 · 0 comments
Open
6 tasks

Improve theme page #204

techniq opened this issue Jan 10, 2024 · 0 comments

Comments

@techniq
Copy link
Owner

techniq commented Jan 10, 2024

  • Remember custom theme colors if you navigate away and back (store/read from localStorage, directly from stylesheet, ...)
  • Fix parsing of hsl(200 100% X) (typing X causes it to be parsed as hsl(0 0% 100%)
    • hsl(200, 100%, X) works and becomes hsl(200 100% 50%) once you type the last character ())
  • Handle using a dark theme as the only theme
    • Add toggle for single or light/dark
    • Add all light and dark option in a single selector
  • Applying custom themes as overrides should also set theme selector to light / dark only
  • Show more preview examples than just the palette (show Buttons, cards, etc)
    • Might not be as needed once you can override the docs page, but still helpful to have "at a glance" preview
  • Supporting loading a themes.json file, or copy/paste JSON? Might be difficult to handle a lot of customization
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

No branches or pull requests

1 participant