Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
albertfolch-redeemeum committed Jan 24, 2025
1 parent 1043389 commit 452ce7c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib/styles/contrast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ export const getColor1OverColor2WithContrast = ({
defaultDarkColor1?: string;
contrastThreshold?: number;
}) => {
if (!color2 || !color1) {
// eslint-disable-next-line no-debugger
debugger;
}
const contrast = getContrast(color2, color1);
const contrastWithWhite = getContrast(color2, defaultLightColor1);
const contrastWithBlack = getContrast(color2, defaultDarkColor1);
Expand Down

0 comments on commit 452ce7c

Please sign in to comment.