(theme: TuiThemeCurrent, indexed: RGBA[])
| 487 | } |
| 488 | |
| 489 | function splashTheme(theme: TuiThemeCurrent, indexed: RGBA[]): RunSplashTheme { |
| 490 | const left = nearestIndexed(indexed, theme.textMuted) |
| 491 | const right = nearestIndexed(indexed, theme.text) |
| 492 | return { |
| 493 | left, |
| 494 | right, |
| 495 | leftShadow: splashShadow(indexed, theme.background, left, 0.14), |
| 496 | rightShadow: splashShadow(indexed, theme.background, right, 0.14), |
| 497 | } |
| 498 | } |
| 499 | |
| 500 | function map( |
| 501 | footerTheme: TuiThemeCurrent, |
no test coverage detected