HeroUI Version
3
Describe the bug
As the title suggests, the copied code from Theme Builder for the Uber theme has --accent-foreground swapped. In light mode, the value of --accent-foreground should be oklch(99.11% 0 0). In dark mode, the value of --accent-foreground should be oklch(15% 0 0).
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
- Go to Theme Builder.
- Click on Default under Theme.
- Select the theme Uber.
- Click anywhere on the overlay to close the theme selector.
- Click on the View code button via the header.
- See the
--accent-foreground properties for light mode and dark mode.
Expected behavior
I expected to see the correct values for the Uber theme when I copied and pasted it to my global CSS file. However, that was not the case. I had to swap the foreground accent values for the dark mode and light mode classes.
Screenshots or Videos
Operating System Version
macOS
Browser
Firefox
HeroUI Version
3
Describe the bug
As the title suggests, the copied code from Theme Builder for the Uber theme has
--accent-foregroundswapped. In light mode, the value of--accent-foregroundshould beoklch(99.11% 0 0). In dark mode, the value of--accent-foregroundshould beoklch(15% 0 0).Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
--accent-foregroundproperties for light mode and dark mode.Expected behavior
I expected to see the correct values for the Uber theme when I copied and pasted it to my global CSS file. However, that was not the case. I had to swap the foreground accent values for the dark mode and light mode classes.
Screenshots or Videos
Operating System Version
macOS
Browser
Firefox