Skip to content

Commit 1a36094

Browse files
committed
improve example style
Style buttons which switch themes with colour and background from it's theme.
1 parent 08dc49c commit 1a36094

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

css/simple-css-switch.css

+13-1
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,22 @@
2020
border-color: #a6a659;
2121
}
2222
.s-css-s--active-style {
23-
border: 0 none;
23+
border-style: inset;
2424
}
2525
.s-css-s--active-style:before {
2626
content: '▶';
2727
position: relative;
2828
left: -.5em;
2929
}
30+
.s-css-s-main-css {
31+
color: #eee;
32+
background-color: #2c2c2c;
33+
}
34+
.s-css-s-red-css {
35+
color: #dcd;
36+
background-color: #2e0505;
37+
}
38+
.s-css-s-green-css {
39+
color: #ddd;
40+
background-color: #122112;
41+
}

0 commit comments

Comments
 (0)