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

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

Open
zainab-amir opened this issue Jul 10, 2024 · 0 comments
Open

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

zainab-amir opened this issue Jul 10, 2024 · 0 comments

Comments

@zainab-amir
Copy link

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.

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