mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
...
This commit is contained in:
parent
77de8316d2
commit
ce2a543c43
1 changed files with 2 additions and 0 deletions
|
|
@ -208,6 +208,7 @@ float calc_background_opacity(uint bg) {
|
|||
);
|
||||
}
|
||||
|
||||
// Overriding of foreground colors for contrast requirements {{{
|
||||
#if defined(NEEDS_FOREGROUND) && DO_FG_OVERRIDE == 1
|
||||
#define OVERRIDE_FG_COLORS
|
||||
#pragma kitty_include_shader <hsluv.glsl>
|
||||
|
|
@ -249,6 +250,7 @@ vec3 override_foreground_color(vec3 over, vec3 under) {
|
|||
return fg_override(under_luminance, over_lumininace, under, over);
|
||||
}
|
||||
#endif
|
||||
// }}}
|
||||
|
||||
void main() {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue