We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 288db23 commit ee7ccd2Copy full SHA for ee7ccd2
src/index.ts
@@ -1,6 +1,4 @@
1
-import toColor from '@barelyhuman/tocolor'
2
-
3
-const { hexToHSL, hslToHex } = toColor
+import { hexToHSL, hslToHex } from '@barelyhuman/tocolor'
4
5
function lighter(percentage: number, color: string) {
6
if (isNaN(percentage)) return color
0 commit comments