From a9888043fcd37389e1e14e65eb2b3ab7b4a708bb Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 10 Dec 2024 17:12:20 +0100 Subject: Dark mode mainly --- src/_badge.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/_badge.scss') diff --git a/src/_badge.scss b/src/_badge.scss index 1076947..5913ea6 100644 --- a/src/_badge.scss +++ b/src/_badge.scss @@ -19,3 +19,17 @@ } } } + +@mixin styles--dark { + .badge, a.badge { + &.badgeUpdate { + --background-color: #{props.get(core.$theme, --red, --400)}; + --color: #{props.get(core.$theme, --red, --400-text)}; + } + + &.yellow { + --background-color: #{props.get(core.$theme, --yellow, --800)}; + --color: #{props.get(core.$theme, --yellow, --800-text)}; + } + } +} -- cgit v1.2.3-70-g09d2