Skip to content

Commit

Permalink
Merge pull request #38 from joomcode/FI-901
Browse files Browse the repository at this point in the history
fix(report): link color styles for dark theme
  • Loading branch information
nnn3d authored Oct 13, 2023
2 parents 1988cd1 + 7d09f1c commit b401f83
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
bin/forks/*/package
build
local
Expand Down
17 changes: 17 additions & 0 deletions styles/report.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
--test-details-padding: 15px;

--test-link-selected-color: hsl(54 100% 90%);

--link-color: #0000ee;
--link-visited-color: #551a8b;
}

@media (prefers-color-scheme: dark) {
Expand All @@ -44,6 +47,9 @@

--failed-bg-color: hsl(0 28% 21%);
--test-link-selected-color: hsl(221 31% 20%);

--link-color: #38a2ff;
--link-visited-color: #b68fff;
}
}

Expand Down Expand Up @@ -75,6 +81,17 @@ button:disabled {
cursor: not-allowed;
}

a,
a:hover,
a:active,
a:focus {
color: var(--link-color);
}

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

.header {
margin: 0 0 20px 0;
padding: 4px;
Expand Down

0 comments on commit b401f83

Please sign in to comment.