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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set the path and trailcolor in form of variables name #232

Open
ekta-r opened this issue Jul 6, 2023 · 1 comment
Open

How to set the path and trailcolor in form of variables name #232

ekta-r opened this issue Jul 6, 2023 · 1 comment

Comments

@ekta-r
Copy link

ekta-r commented Jul 6, 2023

馃悰 Bug report

Summary of issue

I would like to set up the trailColor and pathColor in the form of variable name which are defined in the tailwind.config file. Right now it's accepting the hex code value not the variable name.

Your environment

  • What browser version were you using? Chrome
  • What version of react-circular-progressbar are you using? 2.1.0
@KaustubhPatange
Copy link

KaustubhPatange commented Feb 18, 2024

Bit late to answer the question, but to anybody finding this question, tailwind configures it's default colors in root in hsl so to use them in css use hsl(var(--your-variable-name)).

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

2 participants