about summary refs log tree commit homepage
path: root/lib/dark216.rb
DateCommit message (Collapse)
2019-05-11dark216: adjust heredoc to stop confusing rdoc
rdoc 6.1.0 seems to have trouble with '' as a heredoc terminator.
2019-05-11dark216: disable text decoration on <a> tags for light users, too
For consistency with the dark scheme.
2019-04-29dark216: disable text decoration on <a> tags
Color-capable displays do not need text-decoration (the common default being underlines) to distinguish hyperlinks. Furthermore, underlines add visual noise which makes it tough to distinguish certain characters (e.g. 'i' vs 'j', 'L' vs '|'). This also saves a small amount of energy on OLEDs and CRTs since there's fewer pixels lit ;>
2019-04-22add dark216 color scheme for power savings
"oldweb" remains for compatibility and we still have minimal styling. Some browsers (e.g. Firefox 67.0a1 via "ui.systemUsesDarkTheme") are adding support for the "prefers-color-scheme" @media query. So this allows pages to respect user choice when it comes to dark or light schemes. OLED and CRT displays measure significant power savings when using dark schemes. Dark themes work better with less ambient light, so favoring darkness can lead to overall power savings even with CCFL and LED-lit displays.