Skip to content

Commit

Permalink
darkmode
Browse files Browse the repository at this point in the history
  • Loading branch information
Dexus committed Jan 31, 2025
1 parent d3ac0a6 commit b10c008
Showing 1 changed file with 32 additions and 5 deletions.
37 changes: 32 additions & 5 deletions main/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ body.dark-mode {
--bg-primary: #1a1a1a;
--bg-secondary: #2d2d2d;
--text-primary: #ffffff;
--text-secondary: #b0b0b0;
--text-secondary: #818489;
--border-color: #404040;
--nav-bg: #000000;
--button-primary: #1a98b8;
Expand Down Expand Up @@ -565,7 +565,7 @@ ul.dropdown li:hover {

/* info page */
#info {
width: 30%;
/*width: 30%;*/
height: 100%;
background-color: #fff;
padding: 0 5%;
Expand Down Expand Up @@ -1595,7 +1595,7 @@ textarea:focus {
width: 10px;
}
*::-webkit-scrollbar-track {
border-radius: 5px;
/*border-radius: 5px;*/
background-color: #384F71;
}

Expand All @@ -1608,7 +1608,7 @@ textarea:focus {
}

*::-webkit-scrollbar-thumb {
border-radius: 0px;
/*border-radius: 0px;*/
background-color: #3276A4;
}

Expand All @@ -1627,6 +1627,33 @@ body.dark-mode #configform dl.formgroup * {
color: var(--text-secondary);
background-color: var(--bg-secondary);
}
body.dark-mode #home * {
/* body.dark-mode #home * {
color: var(--text-secondary);
} */

body.dark-mode #home .topnav li.button {
color: var(--text-primary);
}

body.dark-mode #home .topnav li.button.disabled {
color: var(--text-secondary);
}



#parts .button {
background-color: var(--button-primary);
color: var(--text-primary);
}

#parts .button:hover {
background-color: #c6bda3;
}

#parts .button:active {
background-color: #404247;
}

#parts .button.disabled {
background-color: #999;
}

0 comments on commit b10c008

Please sign in to comment.