1
0
Fork 0
forked from catppuccin/gitea

fix: incorrect note & warning admonishments (#66)

This commit is contained in:
Hammy 2025-04-15 01:44:08 +01:00 committed by GitHub
parent 01396a7243
commit bd3ccb35c5
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -325,6 +325,26 @@ $lvl3: if($isDark, $base, $crust);
color: var(--color-label-text) !important;
}
// admonitions are using *-text variables for border/text colour
// can't change values of the *-text variables without breaking readability on accented backgrounds
blockquote {
&.attention-tip {
border-left-color: var(--color-success-bg);
}
&.attention-warning {
border-left-color: var(--color-warning-bg);
}
}
svg,
strong {
&.attention-tip {
color: var(--color-success-bg);
}
&.attention-warning {
color: var(--color-warning-bg);
}
}
.inline-code-block {
color: #{$crust};
}