primereact-sass-theme icon indicating copy to clipboard operation
primereact-sass-theme copied to clipboard

Question: Can we add custom color names to $color variables?

Open zainab-amir opened this issue 7 months ago • 0 comments

I am new to theming and trying to add some custom color names to mytheme but those don't get compiled. A

In the _variables.scss file, I updated the $colors variable to include a "custom" color [see below]

$colors: (
    "custom": #303748,
    "blue": #2196F3,
    ....
);

But when I try to use it in my react component like text-custom or bg-custom-500 it doesn't work.

zainab-amir avatar Jul 10 '24 15:07 zainab-amir