Skip to content

Commit

Permalink
Update styles.md
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff committed Jun 26, 2024
1 parent c91b8e6 commit a8b6c8f
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions content/components/web/alerts/styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,31 +65,28 @@ document.addEventListener('DOMContentLoaded', function() {
### Examples

<style>
[data-bs-theme=light] .alert {
background-color: white !important;
}
.bg-light .alert {
max-width: 600px;
}
.css-max-width {
display: none;
}
[data-bs-theme=dark] .popover-body .theme-d {
[data-bs-theme="dark"] .popover-body .theme-d {
display: inline-block !important;
}
[data-bs-theme=dark] code {
[data-bs-theme="dark"] code {
filter: brightness(250%);
}
.alert-danger i.modus-icons {
[data-bs-theme="light"] .alert-danger i.modus-icons {
color: var(--bs-danger);
}
.alert-primary i.modus-icons {
[data-bs-theme="light"] .alert-primary i.modus-icons {
color: var(--bs-primary);
}
.alert-success i.modus-icons {
[data-bs-theme="light"] .alert-success i.modus-icons {
color: var(--bs-success);
}
.alert-warning i.modus-icons {
[data-bs-theme="light"] .alert-warning i.modus-icons {
color: var(--bs-warning);
}
</style>
Expand Down

0 comments on commit a8b6c8f

Please sign in to comment.