1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

CSS: Dark palette: switch to yellow links

The newish APCA contrast algorithm correctly reveals that blue-on-black
and purple-on-black links have lower perceptual contrast than
yellow-on-black links.

A Fediverse survey with 19 participants revealed that others tend to
prefer the older look over this one, but the number in favor was much
larger than I thought; it was a 3:2 split. I decided that on my poor
laptop screen facing sunlight with simulated color vision deficiencies,
the yellow links are indeed easier to read so I went with them.
This commit is contained in:
Rohan Kumar 2021-06-03 01:24:04 -07:00
parent 72b20bf6e0
commit 2abdb82cb3
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -1,7 +1,7 @@
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
html { html {
background: #000; background: #000;
color: #eee; color: #fff;
} }
/* IndieWeb u-photo shouldn't look like floating punctuation marks */ /* IndieWeb u-photo shouldn't look like floating punctuation marks */
@ -13,15 +13,15 @@
} }
a { a {
color: #8cf; color: #ed5;
} }
a:visited { a:visited {
color: #d9f; color: #ddc;
} }
a:active { a:active {
color: #e3e; color: #c80;
} }
blockquote, blockquote,