Skip to content

Commit

Permalink
Update warning admonition CSS to use "danger"-style
Browse files Browse the repository at this point in the history
  • Loading branch information
pwizla committed Oct 24, 2023
1 parent 378a472 commit 3a544fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docusaurus/src/scss/admonition.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

1 comment on commit 3a544fc

@vercel
Copy link

@vercel vercel bot commented on 3a544fc Oct 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

documentation – ./

documentation-git-main-strapijs.vercel.app
documentation-strapijs.vercel.app
docs-vercel-v4.strapi.io

Please sign in to comment.