Skip to content

Commit

Permalink
dark mode is now default
Browse files Browse the repository at this point in the history
  • Loading branch information
joaorceschini committed May 4, 2024
1 parent 9c19d9c commit 2ded1ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
rel="stylesheet"
/>
</head>
<body>
<body class="dark-mode">
<h1 id="title">apm test</h1>
<div class="settings">
<button id="dark-light" onclick="darkLight()">dark mode</button>
<button id="dark-light" onclick="darkLight()">light mode</button>
<button id="sound" onclick="hitsoundSwith()">disable sound</button>
<button id="crescentDecrescent" onclick="crescentDecrescent()">
crescent
Expand Down Expand Up @@ -68,7 +68,7 @@ <h1 id="title">apm test</h1>

const bodyElement = document.body;
const buttonDarkLightElement = document.getElementById("dark-light");
var darkMode;
var darkMode = true;

function darkLight() {
if (!darkMode) {
Expand Down

0 comments on commit 2ded1ea

Please sign in to comment.