(fill: HexColor)
| 106 | return (light + 0.05) / (dark + 0.05) |
| 107 | } |
| 108 | const on = (fill: HexColor) => { |
| 109 | const light = "#ffffff" as HexColor |
| 110 | const dark = "#000000" as HexColor |
| 111 | return hit(light, fill) > hit(dark, fill) ? light : dark |
| 112 | } |
| 113 | |
| 114 | const tokens: ResolvedTheme = {} |
| 115 |
no test coverage detected