Skip to content

Commit 98dba31

Browse files
devversionjelbourn
authored andcommitted
demos: invisible radios and buttons in dark mode (#4572)
Due to a hard-coded background in our button and radio demo, the buttons and radios were invisible in dark mode. This is not really helpful when testing buttons or radios against dark themes.
1 parent 401cd96 commit 98dba31

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/demo-app/button/button-demo.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@
88
section {
99
display: flex;
1010
align-items: center;
11-
background-color: #f7f7f7;
1211
margin: 8px;
1312
}
1413

1514
p {
16-
padding:5px 15px;
15+
padding: 5px 15px;
1716
}
1817
}
1918

src/demo-app/radio/radio-demo.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
}
55

66
.demo-section {
7-
background-color: #f7f7f7;
87
margin: 8px;
98
padding: 16px;
109

0 commit comments

Comments
 (0)