Skip to content

Commit

Permalink
fix: custom colors not working (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeVoresyah authored Mar 1, 2024
1 parent b9646af commit 9b99a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/hexToRGBA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export default (hex: string): string => {
const num = parseInt(color, 16);
return `rgba(${(num >> 16) & 255}, ${(num >> 8) & 255}, ${
num & 255
}, var(--osmi-opacity))`;
}, --osmi-opacity)`;
};

0 comments on commit 9b99a45

Please sign in to comment.