Skip to content

Commit

Permalink
fix: lodash esm
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Oct 6, 2022
1 parent 30066a9 commit 3be1dbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/service/color-config/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { camelCase, kebabCase } from 'lodash'
import camelCase from 'lodash/camelCase.js'
import kebabCase from 'lodash/kebabCase.js'

export const cssVariableName = (colorName: string) =>
`--va-${kebabCase(colorName)}`
Expand Down

0 comments on commit 3be1dbc

Please sign in to comment.