Skip to content

Commit

Permalink
Change button hover state to use color instead of filter
Browse files Browse the repository at this point in the history
Fixes #183
  • Loading branch information
lkhrs committed Jan 9, 2024
1 parent 8981244 commit 1c8e445
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion simple.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
--text-light: #585858;
--border: #898EA4;
--accent: #0d47a1;
--accent-hover: #1266e2;
--accent-text: var(--bg);
--code: #d81b60;
--preformatted: #444;
Expand All @@ -32,6 +33,7 @@
--text: #dcdcdc;
--text-light: #ababab;
--accent: #ffb300;
--accent-hover: #ffe099;
--accent-text: var(--bg);
--code: #f06292;
--preformatted: #ccc;
Expand Down Expand Up @@ -231,7 +233,8 @@ input[type="submit"]:enabled:hover,
input[type="reset"]:enabled:hover,
input[type="button"]:enabled:hover,
label[type="button"]:hover {
filter: brightness(1.4);
background-color: var(--accent-hover);
border-color: var(--accent-hover);
cursor: pointer;
}

Expand Down

0 comments on commit 1c8e445

Please sign in to comment.