your personal website on atproto - mirror blento.app

fix formatting

Florian df540daf d2adfa15

-2
-2
src/lib/cards/helper.ts
··· 5 return getComputedStyle(document.body).getPropertyValue(variable).trim(); 6 } 7 8 - 9 export function getHexCSSVar(variable: string) { 10 return convertCSSToHex(getCSSVar(variable)); 11 } 12 - 13 14 /** 15 * Converts a CSS color string to a hue value in the 0-1 range
··· 5 return getComputedStyle(document.body).getPropertyValue(variable).trim(); 6 } 7 8 export function getHexCSSVar(variable: string) { 9 return convertCSSToHex(getCSSVar(variable)); 10 } 11 12 /** 13 * Converts a CSS color string to a hue value in the 0-1 range