(color: HexColor, alpha: number)
| 65 | } |
| 66 | const background = backgroundHex ?? neutral[0] |
| 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( |
no test coverage detected