Skip to content

[BUG] - Uber theme code has foreground accents swapped for dark mode and light mode #6400

@starlightroad

Description

@starlightroad

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

  1. Go to Theme Builder.
  2. Click on Default under Theme.
  3. Select the theme Uber.
  4. Click anywhere on the overlay to close the theme selector.
  5. Click on the View code button via the header.
  6. 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

Image Image

Operating System Version

macOS

Browser

Firefox

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions