(rgb: RGBA, theme: Theme)
| 108 | } |
| 109 | |
| 110 | function modifyLightSchemeColor(rgb: RGBA, theme: Theme): string { |
| 111 | const poleBg = getBgPole(theme); |
| 112 | const poleFg = getFgPole(theme); |
| 113 | return modifyColorWithCache(rgb, theme, modifyLightModeHSL, poleFg, poleBg); |
| 114 | } |
| 115 | |
| 116 | function modifyLightModeHSL({h, s, l, a}: HSLA, poleFg: HSLA, poleBg: HSLA): HSLA { |
| 117 | const isDark = l < 0.5; |
no test coverage detected