From 0b241be675f96f7764796c981dc38c87bef1fbc3 Mon Sep 17 00:00:00 2001 From: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com> Date: Thu, 24 Jul 2025 13:07:09 +0200 Subject: [PATCH] Move marker colors to colors.scss --- app/assets/stylesheets/colors.scss | 6 ++++++ app/assets/stylesheets/common.scss | 3 --- app/assets/stylesheets/print.scss | 3 --- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/colors.scss b/app/assets/stylesheets/colors.scss index 5a4907aae..5116522d6 100644 --- a/app/assets/stylesheets/colors.scss +++ b/app/assets/stylesheets/colors.scss @@ -1,3 +1,9 @@ +:root { + --marker-red: #f6110a; + --marker-green: #9cef11; + --marker-blue: #0b8ef1; +} + svg.role-icon { fill: currentColor; &.inactive { diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index b4bbeeba6..85e87e302 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -11,9 +11,6 @@ body { font-size: $typeheight; --dark-mode-map-filter: none; - --marker-red: #f6110a; - --marker-green: #9cef11; - --marker-blue: #0b8ef1; } time[title] { diff --git a/app/assets/stylesheets/print.scss b/app/assets/stylesheets/print.scss index 0ad49789d..38daed789 100644 --- a/app/assets/stylesheets/print.scss +++ b/app/assets/stylesheets/print.scss @@ -8,9 +8,6 @@ html { body { height: 100%; margin: 0; - --marker-red: #f6110a; - --marker-green: #9cef11; - --marker-blue: #0b8ef1; } #content { -- 2.39.5