Skip to content

Commit

Permalink
formatHex does not exist on our version of d3. I dunno why types say …
Browse files Browse the repository at this point in the history
…that it should exist.
  • Loading branch information
adrianmroz-allegro committed Nov 24, 2022
1 parent ee957db commit a276da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/models/colors/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface VisualizationColors {
}

export function lightMain(colors: VisualizationColors): string {
return hsl(colors.main).brighter(0.3).formatHex();
return hsl(colors.main).brighter(1.3).toString();
}

export function alphaMain(colors: VisualizationColors): string {
Expand Down

0 comments on commit a276da6

Please sign in to comment.