mirror of
https://github.com/catppuccin/gitea.git
synced 2025-06-08 00:17:01 +09:00
fix: incorrect note & warning admonishments (#66)
This commit is contained in:
parent
01396a7243
commit
bd3ccb35c5
1 changed files with 20 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue