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

feat: Add helper comments for extended-colors when previewing. #3816

Open
4 tasks done
LoTwT opened this issue May 17, 2024 · 0 comments · May be fixed by #3858
Open
4 tasks done

feat: Add helper comments for extended-colors when previewing. #3816

LoTwT opened this issue May 17, 2024 · 0 comments · May be fixed by #3858

Comments

@LoTwT
Copy link

LoTwT commented May 17, 2024

Clear and concise description of the problem

I extend a color in the uno.config.ts and use it in my project. When previewing, it displays the color in RGB, the unocss generated results. When developing, I want to check the color to match the figma which provides the HEX instead of RGB.

// uno.config.ts
export default defineConfig({
  theme: {
    colors: {
      "my-color": "#0070E0",
    },
  },
})

image

Suggested solution

image

Could it add some helper comments like above?

Alternative

Additional context

Same proposal in the hyoban/tailwindcss-classname-highlight.

No response

Validations

  • Read the Contributing Guidelines.
  • Read the README.md of using the package.
  • Already used the Interactive Docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@Simon-He95 Simon-He95 linked a pull request May 30, 2024 that will close this issue
@Simon-He95 Simon-He95 changed the title Add helper comments for extended-colors when previewing. feat: Add helper comments for extended-colors when previewing. May 30, 2024
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

Successfully merging a pull request may close this issue.

1 participant