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

Bug: Incorrect tailwind lsp colors when applying selectors #61

Open
Subjective opened this issue May 12, 2023 · 0 comments
Open

Bug: Incorrect tailwind lsp colors when applying selectors #61

Subjective opened this issue May 12, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Subjective
Copy link

Describe the bug
lsp colors are only applied to the dark: selector when custom colors are defined. This occurs when tailwind is set to tailwind="both" during configuration.

To Reproduce
nvim-colorizer config:

  {
    "NvChad/nvim-colorizer.lua",
    opts = {
      user_default_options = {
        names = false,
        tailwind = "both",
      },
    },
  },

Configure custom colors within tailwind.config:

extend: {
    colors: {
        gray: {
          700: "#AC50EF",
          800: "#2ECFF6",
        }
    }
}

Expected behavior
I would expect lsp colors to take precedence over hardcoded colors upon loading.

Screenshots
image
image

Operating System:
MacOS Ventura 13.3

Neovim Version:
0.9.0

Colorizer Version:
dde3084

Additional context

@Subjective Subjective added the bug Something isn't working label May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants