(rgb: RGBA, theme: Theme)
| 296 | } |
| 297 | |
| 298 | function _modifyBorderColor(rgb: RGBA, theme: Theme) { |
| 299 | if (theme.mode === 0) { |
| 300 | return modifyLightSchemeColor(rgb, theme); |
| 301 | } |
| 302 | const poleFg = getFgPole(theme); |
| 303 | const poleBg = getBgPole(theme); |
| 304 | return modifyColorWithCache(rgb, theme, modifyBorderHSL, poleFg, poleBg); |
| 305 | } |
| 306 | |
| 307 | export function modifyBorderColor(rgb: RGBA, theme: Theme, shouldRegisterColorVariable = true): string { |
| 308 | if (!shouldRegisterColorVariable) { |
no test coverage detected