mirror of
https://github.com/catppuccin/gitea.git
synced 2025-07-09 02:44:05 -04:00
fix: incorrect note & warning admonishments (#66)
This commit is contained in:
parent
01396a7243
commit
bd3ccb35c5
@ -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};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user