对于初学者来说,Solarized并不是针对某个特定的编辑器或软件。您可以为Vim,Emacs,IntelliJ和其他六个编辑器,四个不同的终端模拟器,甚至Mutt(控制台电子邮件客户端)获得Solarized。也可以作为Photoshop或GIMP的调色板使用。
Solarized author, Ethan Schoonover, did not just pick colors he felt were pretty. Instead, he used something called Lab color space to figure out the exact differences in lightness various screen elements should have, and selected the colors based on fixed color wheel relationships (some of the hues are analogous, some are Triad-based, etc.). Sure, the result is pretty, but it’s also very readable.
Solarized配色方案有浅色和深色背景。这是浅色背景变化的样子:
,这是同一文件的深色变化:
您可以看到两种模式的相似程度。它们感觉像是一种配色方案,但都可读性强。实际上,它们的可读性完全相同:它们具有对称的亮度差异,因此在暗背景和亮背景之间切换时,可以在方案元素之间保持相同的感知对比度。
这是一种简约方案,只有十六种颜色甚至可以将颜色数量进一步降低到仅五种特定的色调,而且仍然很可读。
关于Solarized的另一件事给人留下了深刻的印象。大多数配色方案只是一个文本文件,几乎没有任何文档。 Solarized有一个华美的网页(当然,是根据方案着色的),作者在其中列出了该方案的理由及其在细化细节方面的优势。上面的两个截图是从该页面截取的,您可以在其中找到许多显示Vim中不同文件类型的截图,以及许多其他应用程序。
I’ve been using Solarized for a few weeks now, mainly in Vim via Putty. For this particular scenario, installation was not trivial: I’ve had to configure Solarized for PuTTY, and then configure it for Vim as well. Even so, the colors I get on my own screen seem somewhat different from what I see on the Solarized website. I do like the look I ended up with, but you’ll have to agree it doesn’t look exactly like the beautiful screenshots above:
标签: