I am facing an issue with GitHub pages, SASS, CSS, and Jekyll. I have defined some CSS variables for colors and files using the format
--[variable name]: variable value
. Here is an example:
--logo_light: url("../img/logo-desktop.svg") no-repeat;
--crearGifo_light: url("../img/button-crear-gifo.svg") no-repeat;
--crearGifoHover_light: url("../img/CTA-crear-gifo-hover.svg") no-repeat;
When trying to use GitHub pages to publish the site, I encounter the following error: https://i.sstatic.net/YB6DK.png
Your site is having problems building: Your SCSS file styles/styles.scss has an error on line 26: Invalid CSS after " --logo_light: ": expected "}", was "url("../img/log...". For more information, see https://docs.github.com/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#invalid-sass-or-scss.
I have reviewed the documentation but couldn't find a solution. I attempted to add {{ variable value }}
as suggested in the docs, but it did not resolve the issue. Any assistance on this matter would be highly appreciated. Thank you!
REPO: https://github.com/nicolaszuleta95/Proyecto2_Acamica_GIFOS