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

Missing dark background for select options #3

Open
taidaid opened this issue Mar 7, 2024 · 0 comments
Open

Missing dark background for select options #3

taidaid opened this issue Mar 7, 2024 · 0 comments

Comments

@taidaid
Copy link

taidaid commented Mar 7, 2024

The theme shipped without good dark-mode support for select options:
image

My fix was to add it to the select__option key, however, ideally it would come built-in.

  select__option: {
    "group-data-[disabled]:opacity-50": true,
    "group-data-[disabled]:select-none": true,
    "group-data-[multiple]:checked:bg-indigo-100": true,
    "group-data-[multiple]:focus:bg-indigo-100": true,
    "group-data-[multiple]:text-sm": true,
    "group-data-[multiple]:outline-none": true,
    "group-data-[multiple]:border-none": true,
    "group-data-[multiple]:py-1.5": true,
    "group-data-[multiple]:px-1.5": true,
    "dark:group-data-[multiple]:focus:bg-indigo-700": true,
    "dark:group-data-[multiple]:checked:bg-indigo-700": true,
    "dark:bg-gray-900": true // added
  },
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