Opens in a new tab

Integration of SCSS mixins in WPCodeBox / WPCodeBox2

Auf das richtige Hochkomma kommt es an:

  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-blau: #1782c5;
}Code language: CSS (css)