(minHeight: string = 'self(minHeight)')
| 32 | * @returns A CSS `calc()` expression wrapped as an arbitrary style value. |
| 33 | */ |
| 34 | export function centerPadding(minHeight: string = 'self(minHeight)'): `[${string}]` { |
| 35 | return `[calc((${minHeight} - self(borderTopWidth, 0px) - self(borderBottomWidth, 0px) - 1lh) / 2)]`; |
| 36 | } |
| 37 | |
| 38 | function fontRelative(base: number, baseFontSize = 14): `[${string}]` { |
| 39 | return `[${internalFontRelative(base, baseFontSize)}]`; |
no outgoing calls
no test coverage detected