Skip to content

Commit

Permalink
Merge pull request #155 from pixelspark/fix/dark-map-colors
Browse files Browse the repository at this point in the history
Fix/dark map colors
  • Loading branch information
jovandeginste committed May 26, 2024
2 parents f4fb86e + d16134e commit e5c5cb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions assets/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -455,11 +455,10 @@ video {

@media (prefers-color-scheme: dark) {
.map-tiles {
--tw-brightness: brightness(0.6);
--tw-contrast: contrast(3);
--tw-hue-rotate: hue-rotate(200deg);
--tw-brightness: brightness(0.85);
--tw-contrast: contrast(0.80);
--tw-invert: invert(100%);
--tw-saturate: saturate(0.3);
--tw-saturate: saturate(0.0);
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
}
Expand Down
2 changes: 1 addition & 1 deletion main.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}

.map-tiles {
@apply dark:brightness-[0.6] dark:invert dark:contrast-[3] dark:hue-rotate-[200deg] dark:saturate-[0.3];
@apply dark:saturate-[0.0] dark:invert dark:contrast-[0.80] dark:brightness-[0.85];
}

table.sortable
Expand Down

0 comments on commit e5c5cb4

Please sign in to comment.