From 3a544fc57bc2f17aca24c8440f3741f7805120d1 Mon Sep 17 00:00:00 2001 From: Pierre Wizla Date: Tue, 24 Oct 2023 16:00:08 +0200 Subject: [PATCH] Update warning admonition CSS to use "danger"-style --- docusaurus/src/scss/admonition.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docusaurus/src/scss/admonition.scss b/docusaurus/src/scss/admonition.scss index c258a98ffb..62612f845e 100644 --- a/docusaurus/src/scss/admonition.scss +++ b/docusaurus/src/scss/admonition.scss @@ -85,8 +85,7 @@ --custom-selection-color: var(--strapi-success-100); } - &--caution, - &--warning { + &--caution { --custom-admonition-background-color: var(--strapi-warning-100); --custom-admonition-border-color: var(--strapi-warning-500); --custom-admonition-code-background-color: var(--strapi-warning-200); @@ -97,7 +96,8 @@ --custom-selection-color: var(--strapi-warning-100); } - &--danger { + &--danger, + &--warning { --custom-admonition-background-color: var(--strapi-danger-100); --custom-admonition-border-color: var(--strapi-danger-500); --custom-admonition-code-background-color: var(--strapi-danger-200);