Opens in a new tab

Integration of SCSS mixins in WPCodeBox / WPCodeBox2

It all comes down to using the right apostrophe:

  1. Create a "Partial" in WPCodebox. In this case "_mixins".
  2. Create the SCSS file that is to be compiled to CSS in WordPress. In this case "app.scss"
  3. To add the partial to the main SCSS file in WPCodebox2, make sure to use single quotes:
@use '_mixins'
:root {
  --color-mnc-blue: #1782c5;
}Code language: CSS (css)