21.08.2025, Technische Doku & Snippets

Integration von SCSS Mixins in WPCodeBox / WPCodeBox2

  1. Erstelle ein “Partial” in WPCodebox. In diesem Fall “_mixins”.
  2. Erstelle die SCSS Datei, die in WordPress zu CSS kompiliert werden soll. In diesem Fall “app.scss”
  3. Um das Partial der Haupt-SCSS Datei in WPCodebox2 hinzuzufügen, ist zu beachten, die einfachen Anführungszeichen zu benutzen:
@use '_mixins'
:root {
  --color-mnc-blau: #1782c5;
}Code-Sprache: SCSS (scss)

Siehe auch