Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

metronic


I am unable to change the primary color in the _variables.custom.scss file, and the changes not apply.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (6)


Hey, did you compile the scss files to css ?



I made changes in the _variables.custom.scss file, then ran npm run css:build, but the changes didn't take effect.



If you are unable to change the primary color in the _variables.custom.scss file and the changes are not being applied, please try modifying it in either of the following files:

/src/sass/components/_variables.custom.scss
/src/sass/components/_variables.override.scss

Make sure to save the changes after modifying the primary color in one of these files. After making the changes, you may need to recompile your Sass or restart your development server to see the updated styles.

If the issue persists, double-check that the variable name and syntax in your customization match the expected format.

Feel free to reach out if you encounter any further issues.



Double-check that the variable name and syntax in your customization match the expected format. Any deviation from the expected syntax might cause issues.
drift hunters unblocked



Unlock the potential of your business with our expert SEO services. Drive traffic, boost rankings, and dominate search engine results today!



Explore unique and modern lawn shirt design to improve your style. Select a variety of designs, shades and fashions to choose the perfect pair for every occasion. With our stylish lawn shirts that merge comfort and class, stand out from others.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(