From 77823128ff5b34655f3e0a0b87ec4d0910ba7168 Mon Sep 17 00:00:00 2001 From: Louis-Maxime Piton Date: Thu, 26 Oct 2023 07:09:09 +0200 Subject: [PATCH] Dark mode: Close button (#2317) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Julien Déramond --- scss/_variables.scss | 6 +- site/content/docs/5.3/dark-mode.md | 117 +++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+), 3 deletions(-) diff --git a/scss/_variables.scss b/scss/_variables.scss index aad3b86a6d..38191bb560 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -2191,9 +2191,9 @@ $btn-close-focus-shadow: $btn-focus-box-shadow !default; // Deprecated in // Boosted mod $btn-close-hover-color: $btn-close-color !default; -$btn-close-active-color: $primary !default; -$btn-close-active-border-color: $gray-500 !default; -$btn-close-disabled-color: $gray-500 !default; +$btn-close-active-color: var(--#{$prefix}link-hover-color) !default; +$btn-close-active-border-color: var(--#{$prefix}border-color-translucent) !default; +$btn-close-disabled-color: var(--#{$prefix}disabled-color) !default; $btn-close-icon-size: 1rem auto !default; $btn-close-padding-sm: subtract($btn-icon-padding-x, $spacer * .25) !default; diff --git a/site/content/docs/5.3/dark-mode.md b/site/content/docs/5.3/dark-mode.md index c2447c513c..b9fa8d675b 100644 --- a/site/content/docs/5.3/dark-mode.md +++ b/site/content/docs/5.3/dark-mode.md @@ -783,6 +783,123 @@ sitemap_exclude: true
+### Close button + +

No theme

+ +
+ + + + + + +
+ +

Dark theme on container

+ +
+ + + + + + +
+ +

Light theme on container

+ +
+ + + + + + +
+ +

Dark theme on component

+ +
+ + + + + + +
+ +

Light theme on component

+ +
+ + + + + + +
+ ### Dropdowns

No theme