Skip to content

Commit

Permalink
Increase admonition title bg opacity (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobDotCom committed Feb 8, 2023
1 parent eaafa91 commit 193643f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/furo/assets/styles/variables/_admonitions.scss
Expand Up @@ -25,14 +25,14 @@ $admonitions: (

@mixin default-admonition($color, $icon-name) {
--color-admonition-title: #{$color};
--color-admonition-title-background: #{rgba($color, 0.1)};
--color-admonition-title-background: #{rgba($color, 0.2)};

--icon-admonition-default: var(--icon-#{$icon-name});
}

@mixin default-topic($color, $icon-name) {
--color-topic-title: #{$color};
--color-topic-title-background: #{rgba($color, 0.1)};
--color-topic-title-background: #{rgba($color, 0.2)};

--icon-topic-default: var(--icon-#{$icon-name});
}
Expand All @@ -42,7 +42,7 @@ $admonitions: (
--color-admonition-title--#{$name}: #{nth($values, 1)};
--color-admonition-title-background--#{$name}: #{rgba(
nth($values, 1),
0.1
0.2
)};
}
}

0 comments on commit 193643f

Please sign in to comment.