diff options
author | Kurtis Rader <krader@skepticism.us> | 2016-01-04 19:23:03 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2016-01-14 22:34:25 -0800 |
commit | f8ed1d182e9c1615c2a433e9a235da9ac4d99e8b (patch) | |
tree | bd3d505dbb868df2aa4382f23f87df78936eb2ed /share/tools | |
parent | 68fcb790b0725a08e82e2b823542e2e9695bbf90 (diff) |
improve set_color and theme color documentation
This is meant to make it clear that fish cannot control the terminal
window background color. It also augments the set_color documentation to
describe how it decides which color the terminal can display.
Resolves #2421.
Resolves #2184.
Diffstat (limited to 'share/tools')
-rw-r--r-- | share/tools/web_config/fishconfig.css | 4 | ||||
-rw-r--r-- | share/tools/web_config/partials/colors.html | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/share/tools/web_config/fishconfig.css b/share/tools/web_config/fishconfig.css index bba26b41..63cd69b4 100644 --- a/share/tools/web_config/fishconfig.css +++ b/share/tools/web_config/fishconfig.css @@ -312,6 +312,10 @@ body { height: 12px; } +.colorpicker_text_notice { + margin: 0px 20px 10px 20px; /* top right bottom left */ +} + .colorpicker_text_sample, .colorpicker_text_sample_tight { font-size: 12pt; padding: 25px; diff --git a/share/tools/web_config/partials/colors.html b/share/tools/web_config/partials/colors.html index 032ed310..1db8c896 100644 --- a/share/tools/web_config/partials/colors.html +++ b/share/tools/web_config/partials/colors.html @@ -1,5 +1,12 @@ <div> <!-- ko with: color_picker --> + <div class="colorpicker_text_notice"> + The background color in the theme preview box below is for + illustration only. The displayed background color is not part of the + theme and will not be saved. Fish is not able to change the terminal + window background color. See your terminal documentation for how to + set its background color. + </div> <div class="colorpicker_text_sample" ng-style="{'background-color': terminalBackgroundColor}"> <span style="position: absolute; left: 10px; top: 3px;" data-ng-style="{'color': text_color_for_color(terminalBackgroundColor || 'white')}">{{ selectedColorScheme.name }}</span><br> <div class="color_picker_background_cells"> |