Re: Automatic scheme: dark or light

On Wed, Apr 29, 2009 at 2:14 PM, Maciej Wakuła <adderek.pl@gmail.com> wrote:
> Probably this could explain this feature:
> http://vimdoc.sourceforge.net/htmldoc/options.html#%27background%27

Yeah, I understand the feature itself, but handling this in vim, where
the application has full control of what colors it uses, and handling
it on the web, where the page author has completely control, are quite
different cases, and really have next to nothing to do with each other
in implementation.

Authors can already provide alternate stylesheets, which current UAs
allow you to choose and can potentially remember.  This will not,
however, address your basic use-case (viewing the internet in a
light-on-dark scheme), as the vast majority of sites *do not* provide
alternate styles.  The specific thing you're asking for (allow authors
to specify what general scheme their sheet follows) puts the onus on
site authors, which will never widely happen, and will *especially*
not happen on legacy content.

When you open an old vim document, you can apply whatever styles you
want without worrying about what the original document author used.

~TJ

Received on Wednesday, 29 April 2009 22:27:33 UTC