From b424ee7b4004b126857953e167b8846704202b10 Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Sat, 9 Dec 2017 21:27:11 -0500 Subject: [PATCH] Update THEMES.md --- THEMES.md | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/THEMES.md b/THEMES.md index 72cb54b..a3bbfcc 100644 --- a/THEMES.md +++ b/THEMES.md @@ -10,10 +10,7 @@ Color support on modern terminals can be split into 4 categories: 3. 16 system colors - Everything above + bright variations 4. 256 extended colors - Everything above + 6x6x6 color palette + 24 greyscale colors -
- terminal colors -

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

-
+terminal colors The 16 system colors, along with the default foreground and background, can usually be customized through your terminal's profile settings. The @@ -22,10 +19,7 @@ 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
-
+iTerm preferences The curses library determines your terminal's color support by reading your environment's ``$TERM`` variable, and looking up your terminal's @@ -173,10 +167,7 @@ SelectedCursor = ansi_241 ansi_254 bold+reverse Link = ansi_33 - underline ``` -
- iTerm preferences -
The default solarized-light theme
-
+iTerm preferences 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 @@ -195,10 +186,7 @@ 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
-
+iTerm preferences In this case, the ``Link`` background stays ansi_230 (yellow) even the link is selected by the cursor.