Skip to content

Commit

Permalink
Stop using system colors
Browse files Browse the repository at this point in the history
  • Loading branch information
wixoaGit committed Jan 7, 2025
1 parent e63087c commit cdc6a01
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
@media (prefers-color-scheme: light) {
:root {
--background-color: #fafafa;
--text-color: #black;
--link-color: #00e;
--contents-box-shadow: grey;
--hero-button-box-shadow: black;
--hero-button-background: #fffb;
Expand All @@ -14,6 +16,8 @@
@media (prefers-color-scheme: dark) {
:root {
--background-color: #1b1b1b;
--text-color: #fbfbfe;
--link-color: #8c8cff;
--contents-box-shadow: black;
--hero-button-box-shadow: white;
--hero-button-background: #000b;
Expand Down Expand Up @@ -47,7 +51,7 @@ a:link,a:visited {
}

a:visited {
color: LinkText;
color: var(--link-color);
}

a:hover {
Expand Down Expand Up @@ -97,7 +101,7 @@ a:hover {

#hero-links p {
float: right;
color: CanvasText;
color: var(--text-color);
margin: 0px 0px 0px 4px;
font-size: 24px;
}
Expand Down

0 comments on commit cdc6a01

Please sign in to comment.