In your template css folder, create a file called editor.css, and add @import rules for your template css files, followed by your css variables. The editor will automatically load and user the editor.css file if it exists, eg:
@import url('template.css);
:root {
--primary-colour: #222222;
--primary-colour-dark: #0e0e0e;
--primary-colour-light: #373636;
--primary-colour-rgb: 34, 34, 34;
--secondary-colour: #242559;
--secondary-colour-dark: #18193c;
--secondary-colour-light: #372f77;
--secondary-colour-rgb: 36, 37, 89;
--tertiary-colour: #144380;
--tertiary-colour-dark: #0e315d;
--tertiary-colour-light: #1943a4;
--tertiary-colour-rgb: 20, 67, 128;
--quaternary-colour: #626366;
--quaternary-colour-dark: #4e4f52;
--quaternary-colour-light: #75767c;
--quaternary-colour-rgb: 98, 99, 102;
}
Ryan Demmer
Lead Developer / CEO / CTO
Just because you're not paranoid doesn't mean everybody isn't out to get you.