From 87f750ad14016bebf47430c6ccf4497639a07f6d Mon Sep 17 00:00:00 2001 From: Louis-Maxime Piton Date: Tue, 19 Dec 2023 11:21:16 +0100 Subject: [PATCH] Dark mode: Toasts (#2380) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Julien Déramond --- site/content/docs/5.3/components/toasts.md | 13 +++- site/content/docs/5.3/dark-mode.md | 87 ++++++++++++++++++++++ 2 files changed, 97 insertions(+), 3 deletions(-) diff --git a/site/content/docs/5.3/components/toasts.md b/site/content/docs/5.3/components/toasts.md index d5793fb4ba..e47ffc0a1b 100644 --- a/site/content/docs/5.3/components/toasts.md +++ b/site/content/docs/5.3/components/toasts.md @@ -95,7 +95,7 @@ We use the following JavaScript to trigger our live toast demo: Toasts are slightly translucent to blend in with what's below them. -{{< example class="bg-dark" stackblitz_add_js="true" >}} +{{< example class="bg-secondary" stackblitz_add_js="true" >}} +### Toasts + +

No theme

+ +
+ +
+ +

Dark theme on container

+ +
+ +
+ +

Light theme on container

+ +
+ +
+ +

Dark theme on component

+ +
+ +
+ +

Light theme on component

+ +
+ +
+ ### Tooltips

No theme