From a78c6ef282e63efc94d09d65541e3cab49d47765 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 10 Dec 2024 09:37:25 +0100 Subject: Update --- src/_badge.scss | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'src/_badge.scss') diff --git a/src/_badge.scss b/src/_badge.scss index b13dbc9..f18a9fb 100644 --- a/src/_badge.scss +++ b/src/_badge.scss @@ -1,15 +1,22 @@ @use 'iro-sass/src/props'; @use 'common'; +@use 'core'; @mixin styles { .badge, a.badge { padding-inline: 8px; border-radius: 10em; - } + vertical-align: baseline; - .badge.badgeUpdate, a.badge.badgeUpdate { - --background-color: #{props.get(common.$vlpnLink)}; - --color: #{props.get(common.$vlpnLinkFg)}; + &.badgeUpdate { + --background-color: #{props.get(common.$vlpnLink)}; + --color: #{props.get(common.$vlpnLinkFg)}; + } + + &.yellow { + --background-color: #{props.get(core.$theme, --yellow, --800)}; + --color: #{props.get(core.$theme, --yellow, --800-text)}; + } } } -- cgit v1.2.3-70-g09d2