From ff9851d395934d8b5a084b7290d992b127169d51 Mon Sep 17 00:00:00 2001 From: winston Date: Sun, 5 Nov 2023 23:18:59 +0100 Subject: [PATCH] feat: style `.warning` class (#91) See rust-lang/mdbook#2187 --- palette/catppuccin.scss | 1 + src/bin/assets/catppuccin.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/palette/catppuccin.scss b/palette/catppuccin.scss index ff04e34..2b71a67 100644 --- a/palette/catppuccin.scss +++ b/palette/catppuccin.scss @@ -61,5 +61,6 @@ --searchresults-border-color: #{map-get($color, "crust")}; --searchresults-li-bg: #{map-get($color, "base")}; --search-mark-bg: #{map-get($color, "peach")}; + --warning-border: #{map-get($color, "peach")}; } } diff --git a/src/bin/assets/catppuccin.css b/src/bin/assets/catppuccin.css index 9b53ac9..1ac8146 100644 --- a/src/bin/assets/catppuccin.css +++ b/src/bin/assets/catppuccin.css @@ -687,6 +687,7 @@ --searchresults-border-color: #11111b; --searchresults-li-bg: #1e1e2e; --search-mark-bg: #fab387; + --warning-border: #fab387; } .macchiato { @@ -718,6 +719,7 @@ --searchresults-border-color: #181926; --searchresults-li-bg: #24273a; --search-mark-bg: #f5a97f; + --warning-border: #f5a97f; } .frappe { @@ -749,6 +751,7 @@ --searchresults-border-color: #232634; --searchresults-li-bg: #303446; --search-mark-bg: #ef9f76; + --warning-border: #ef9f76; } .latte { @@ -780,4 +783,5 @@ --searchresults-border-color: #dce0e8; --searchresults-li-bg: #eff1f5; --search-mark-bg: #fe640b; + --warning-border: #fe640b; }