making background colors nicer
This commit is contained in:
10
index.html
10
index.html
@ -49,7 +49,7 @@
|
||||
|
||||
<body class="light-theme">
|
||||
<button
|
||||
style="position: fixed; top: 10px; left: 10px; z-index: 100;"
|
||||
style="position: fixed; top: 10px; left: 10px; z-index: 100"
|
||||
onclick="switchStyle()"
|
||||
>
|
||||
Switch
|
||||
@ -86,6 +86,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="margin prev">
|
||||
<div class="card">Card</div>
|
||||
</div>
|
||||
|
||||
<div class="margin prev">
|
||||
<button class="btn">Hallo Welt</button>
|
||||
<button class="btn btn-primary">Hallo Welt</button>
|
||||
@ -207,7 +211,7 @@
|
||||
</div>
|
||||
|
||||
<div class="margin prev">
|
||||
<div class="header" style="justify-content: space-between;">
|
||||
<div class="header" style="justify-content: space-between">
|
||||
<span>I1</span>
|
||||
<span>I2</span>
|
||||
<div class="header-icon-button">
|
||||
@ -296,7 +300,7 @@
|
||||
}
|
||||
|
||||
let match = window.matchMedia("prefers-color-scheme: dark");
|
||||
match.addListener(ev => {
|
||||
match.addListener((ev) => {
|
||||
applyStyleSheet(ev.matches);
|
||||
});
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user