From b383b3f07711f6977114ce050fbc8d0ccbed6a12 Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Sat, 9 Dec 2017 21:32:17 -0500 Subject: [PATCH] Update THEMES.md --- THEMES.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/THEMES.md b/THEMES.md index d1dd6ba..615248c 100644 --- a/THEMES.md +++ b/THEMES.md @@ -12,7 +12,7 @@ Color support on modern terminals can be split into 4 categories:

terminal colors -The 256 terminal color codes, image from https://github.com/eikenb/terminal_colors +
The 256 terminal color codes, image from https://github.com/eikenb/terminal_colors

The 16 system colors, along with the default foreground and background, @@ -22,7 +22,10 @@ all terminals. RTV's default theme only uses the 8 primary system colors, which is why it matches the "look and feel" of the terminal that you're running it in. +

iTerm preferences +
Setting the system colors in iTerm preferences +

The curses library determines your terminal's color support by reading your environment's ``$TERM`` variable, and looking up your terminal's @@ -170,7 +173,10 @@ SelectedCursor = ansi_241 ansi_254 bold+reverse Link = ansi_33 - underline ``` -iTerm preferences +

+ +
The default solarized-light theme +

In the snippet above, the ``Link`` element has it's background color set to the ``-`` token. This means that it will inherit it's background @@ -189,7 +195,10 @@ SelectedCursor = ansi_241 ansi_254 bold+reverse Link = ansi_33 ansi_230 underline ``` -iTerm preferences +

+ +
A modified solarized-light theme, with the Link background set to ansi_230 +

In this case, the ``Link`` background stays ansi_230 (yellow) even the link is selected by the cursor.