Automate issuer overlay creation from ticker searches
This commit is contained in:
@@ -31,7 +31,7 @@ export function getPriceChangeColor(change: number): string {
|
||||
* Convert CSS variable to computed color value
|
||||
* Used for chart export since html-to-image can't render CSS variables
|
||||
*/
|
||||
export function cssVarToColor(cssVar: string): string {
|
||||
function cssVarToColor(cssVar: string): string {
|
||||
if (typeof window === 'undefined') return cssVar;
|
||||
|
||||
// If it's already a color value, return as-is
|
||||
|
||||
Reference in New Issue
Block a user