(light: number, dark: number)
| 67 | const alphaTone = (color: HexColor, alpha: number) => |
| 68 | overlay ? (withAlpha(color, alpha) as ColorValue) : blend(color, background, alpha) |
| 69 | const borderTone = (light: number, dark: number) => |
| 70 | alphaTone(ink, isDark ? Math.min(1, dark + 0.024 + (colors.compact ? 0.08 : 0)) : Math.min(1, light + 0.024)) |
| 71 | const diffHiddenSurface = surface( |
| 72 | isDark ? shift(colors.interactive, { c: 0.55, l: 0 }) : shift(colors.interactive, { c: 0.45, l: 0.08 }), |
| 73 | isDark |
no test coverage detected