Skip to content

Commit c50683b

Browse files
committed
refactor: improve dark mode support
1 parent 476120f commit c50683b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/scss/examples.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,20 @@
9595
margin-top: .5rem;
9696
margin-bottom: .5rem;
9797
}
98+
99+
.docs-example-modal {
100+
.modal {
101+
position: static;
102+
display: block;
103+
}
104+
}
105+
}
106+
}
107+
108+
@if $enable-dark-mode {
109+
@include color-mode(dark) {
110+
.example .tab-content {
111+
background-color: var(--#{$prefix}secondary-bg) !important;
112+
}
98113
}
99114
}

0 commit comments

Comments
 (0)