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

Undefined variable: "$text-color" #3

Open
pwab opened this issue Dec 19, 2024 · 0 comments
Open

Undefined variable: "$text-color" #3

pwab opened this issue Dec 19, 2024 · 0 comments

Comments

@pwab
Copy link

pwab commented Dec 19, 2024

When using the custom.scss file in the exampleSite directory I receive the following error while building:

Error: error building site:
    TOCSS: failed to transform "/css/custom.scss" (text/x-scss): "/.../assets/css/custom.scss:37:26":
    Undefined variable: "$text-color".

It seems the $text-color variable is not set before the custom scss is compiled or some import is missing. I solved this by adding $text-color: #000000; at the top of custom.scss but I'm not sure if this is the right solution.

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