docs: changelog and improve the foreground_text_hsb docs

refs: #491
This commit is contained in:
Wez Furlong committed 2021-02-20 11:36:04 -08:00
1 parent 39b5a21107
commit 528a4846c7
2 files changed
+20 -4

No files matched your search

+1
View File
@@ -19,6 +19,7 @@ brief notes about them may accumulate here.
* Wayland: the raw key modifiers are now correctly propagated so that they activate when used with key assignments using the `key = "raw:123"` binding syntax.
* Wayland: fixed window decoration and full screen handling [#224](https://github.com/wez/wezterm/issues/224)
* Wayland: fixed an issue where key repeat processing could "run away" and hang the application
* New: added [foreground_text_hsb](config/lua/config/foreground_text_hsb.md) setting to adjust hue, saturation and brightness when text is rendered.
### 20210203-095643-70a364eb
+19 -4
View File
@@ -22,7 +22,22 @@ The range of these values is 0.0 and up; they are used to multiply the existing
values, so the default of 1.0 preserves the existing component, whilst 0.5 will
reduce it by half, and 2.0 will double the value.
<img src="../../../screenshots/foreground-text-hsb-1-1-1.png">
<img src="../../../screenshots/foreground-text-hsb-1-1.5-1.png">
<img src="../../../screenshots/foreground-text-hsb-1-1-1.5.png">
<img src="../../../screenshots/foreground-text-hsb-1.5-1-1.png">
```lua
return {
-- This increases color saturation by 50%
foreground_text_hsb = {
hue = 1.0,
saturation = 1.5,
brightness = 1.0,
}
}
```
<img src="../../../screenshots/foreground-text-hsb-1-1-1.png"
alt="demonstrating the appearance of the default value">
<img src="../../../screenshots/foreground-text-hsb-1-1.5-1.png"
alt="demonstrating setting saturating to 1.5">
<img src="../../../screenshots/foreground-text-hsb-1-1-1.5.png"
alt="demonstrating setting brightness to 1.5">
<img src="../../../screenshots/foreground-text-hsb-1.5-1-1.png"
alt="demonstrating setting hue to 1.5">