()
| 53 | // The default --brand color, derived from the same anchor token so the default |
| 54 | // theme renders identically to the source design tokens. |
| 55 | export function defaultBrand() { |
| 56 | let [L, C, H] = BRAND_REF; |
| 57 | return `oklch(${Math.round(L * 1e4) / 1e4} ${Math.round(C * 1e4) / 1e4} ${Math.round(H * 10) / 10})`; |
| 58 | } |
| 59 | |
| 60 | // Builds a CSS relative color derived from --brand: it keeps the given lightness |
| 61 | // and chroma but takes the hue from the brand color (offset by hueOffset degrees). |
no outgoing calls
no test coverage detected