Skip to content

Commit 9689413

Browse files
committed
feat(): adapt background to work with light/dark mode
1 parent 29ad5a2 commit 9689413

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

template/components/InteractiveDemo/InteractiveDemo.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.interactive-demo {
2-
color-scheme: light;
2+
color-scheme: inherit;
33
}
44

55
.interactive-demo__layout {
@@ -8,7 +8,6 @@
88

99
.interactive-demo__controls {
1010
padding: var(--db-spacing-fixed-2xs);
11-
background: var(--db-adaptive-bg-basic-level-1-default);
1211
border-radius: var(--db-border-radius-sm);
1312
border: var(--db-border-width-3xs) solid var(--db-adaptive-on-bg-basic-emphasis-60-default);
1413
position: sticky;

0 commit comments

Comments
 (0)