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 25, 2022
1 parent 11171e3 commit a07aa8f
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 a07aa8f

Please sign in to comment.