|
276 | 276 | foreground and background is below this threshold, the foreground color will be set |
277 | 277 | to white if the background is dark or black if the background is light. The default |
278 | 278 | value is :code:`0`, which means no overriding is performed. Useful when working with applications |
279 | | -that use colors that do not contrast well with your preferred color scheme. Note that this |
280 | | -will not work in situations where kitty has to render in multiple passes, for example, |
281 | | -when rendering with images under text or with non-opaque background and images. |
| 279 | +that use colors that do not contrast well with your preferred color scheme. |
282 | 280 | ''') |
283 | 281 |
|
284 | 282 | egr() # }}} |
|
1352 | 1350 | option_type='unit_float', ctype='float', |
1353 | 1351 | long_text=''' |
1354 | 1352 | The opacity of the background. A number between zero and one, where one is |
1355 | | -opaque and zero is fully transparent. This will only work if supported by the OS |
1356 | | -(for instance, when using a compositor under X11). Note that it only sets the |
1357 | | -background color's opacity in cells that have the same background color as the |
1358 | | -default terminal background, so that things like the status bar in vim, |
| 1353 | +opaque and zero is fully transparent. This will only work if supported by the |
| 1354 | +OS (for instance, when using a compositor under X11). Note that it only sets |
| 1355 | +the background color's opacity in cells that have the same background color as |
| 1356 | +the default terminal background, so that things like the status bar in vim, |
1359 | 1357 | powerline prompts, etc. still look good. But it means that if you use a color |
1360 | 1358 | theme with a background color in your editor, it will not be rendered as |
1361 | 1359 | transparent. Instead you should change the default background color in your |
1362 | 1360 | kitty config and not use a background color in the editor color scheme. Or use |
1363 | | -the escape codes to set the terminals default colors in a shell script to launch |
1364 | | -your editor. Be aware that using a value less than 1.0 is a (possibly |
1365 | | -significant) performance hit. If you want to dynamically change transparency of |
1366 | | -windows, set :opt:`dynamic_background_opacity` to :code:`yes` (this is off by |
1367 | | -default as it has a performance cost). Changing this option when reloading the |
1368 | | -config will only work if :opt:`dynamic_background_opacity` was enabled in the |
1369 | | -original config. |
| 1361 | +the escape codes to set the terminals default colors in a shell script to |
| 1362 | +launch your editor. Be aware that using a value less than 1.0 is a (possibly |
| 1363 | +significant) performance hit. When using a low value for this setting, it is |
| 1364 | +desirable that you set the :opt:`background` color to a color the matches the |
| 1365 | +general color of the desktop background, for best text rendering. If you want |
| 1366 | +to dynamically change transparency of windows, set |
| 1367 | +:opt:`dynamic_background_opacity` to :code:`yes` (this is off by default as it |
| 1368 | +has a performance cost). Changing this option when reloading the config will |
| 1369 | +only work if :opt:`dynamic_background_opacity` was enabled in the original |
| 1370 | +config. |
1370 | 1371 | ''' |
1371 | 1372 | ) |
1372 | 1373 |
|
|
0 commit comments