From 7ff249eddccfae2ff130fd346c64f8e3019d0a50 Mon Sep 17 00:00:00 2001 From: Louis-Maxime Piton Date: Wed, 25 Oct 2023 08:55:37 +0200 Subject: [PATCH] Dark mode: modal (#2322) --- scss/_variables.scss | 2 +- site/content/docs/5.3/dark-mode.md | 157 +++++++++++++++++++++++++++++ 2 files changed, 158 insertions(+), 1 deletion(-) diff --git a/scss/_variables.scss b/scss/_variables.scss index 55038f8e85..7e58864751 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -1871,7 +1871,7 @@ $modal-title-line-height: $line-height-base !default; $modal-content-padding-y: $spacer !default; // Boosted mod $modal-content-padding-x: 0 !default; // Boosted mod $modal-content-padding: $modal-content-padding-y $modal-content-padding-x !default; // Boosted mod -$modal-content-color: null !default; +$modal-content-color: var(--#{$prefix}body-color) !default; // Boosted mod: instead of `null` $modal-content-bg: var(--#{$prefix}body-bg) !default; $modal-content-border-color: var(--#{$prefix}border-color-translucent) !default; $modal-content-border-width: var(--#{$prefix}border-width) !default; diff --git a/site/content/docs/5.3/dark-mode.md b/site/content/docs/5.3/dark-mode.md index 879b4193c1..b88b1e6ba2 100644 --- a/site/content/docs/5.3/dark-mode.md +++ b/site/content/docs/5.3/dark-mode.md @@ -1069,6 +1069,163 @@ sitemap_exclude: true +### Modal + +

No theme

+ +
+ + + +
+ +

Dark theme on container

+ +
+ + + +
+ +

Light theme on container

+ +
+ + + +
+ +

Dark theme on component

+ +
+ + + +
+ +

Light theme on component

+ +
+ + + +
+ ### Navs & tabs

No theme