From 71ce8f3107f6e355e1c64ecd67dc9dabcdb48346 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Sun, 3 Jun 2018 11:47:45 +0200 Subject: Split css variables and fix url variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- core/css/css-variables.scss | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 core/css/css-variables.scss (limited to 'core/css/css-variables.scss') diff --git a/core/css/css-variables.scss b/core/css/css-variables.scss new file mode 100644 index 00000000000..f6f2c4d1c44 --- /dev/null +++ b/core/css/css-variables.scss @@ -0,0 +1,26 @@ +// CSS4 Variables +// Remember, you cannot use scss functions with css4 variables +// All css4 variables must be fixed! Scss is a PRE processor +// css4 variables are processed after scss! +:root { + --color-main-text: $color-main-text; + --color-main-background: $color-main-background; + --color-primary: $color-primary; + --color-primary-text: $color-primary-text; + --color-error: $color-error; + --color-warning: $color-warning; + --color-success: $color-success; + --color-primary-element: $color-primary-element; + + --color-text-details: $color-text-details; + + --image-logo: $image-logo; + --image-login-background: $image-login-background; + + --color-loading: $color-loading; + --color-loading-dark: $color-loading-dark; + --color-box-shadow: $color-box-shadow; + --color-border: $color-border; + --border-radius: $border-radius; +} + -- cgit v1.2.3