Skip to content

Commit

Permalink
Merge pull request #397 from yue4u/fix/sub-module-import-polished
Browse files Browse the repository at this point in the history
fix: sub-module import polished
  • Loading branch information
toshusai authored Jan 10, 2024
2 parents f104537 + c1b9bba commit 7c604f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/theme/src/default.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { rgba } from 'polished'
import rgba from 'polished/lib/color/rgba'
import { CharcoalTheme } from './theme'
import {
BORDER_RADIUS,
Expand Down
7 changes: 5 additions & 2 deletions packages/utils/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { linearGradient, parseToRgb, rgba, rgbToColorString } from 'polished'
import { RgbColor } from 'polished/lib/types/color'
import rgba from 'polished/lib/color/rgba'
import rgbToColorString from 'polished/lib/color/rgbToColorString'
import parseToRgb from 'polished/lib/color/parseToRgb'
import linearGradient from 'polished/lib/mixins/linearGradient'
import { type RgbColor } from 'polished/lib/types/color'

import {
type AlphaEffect,
Expand Down

0 comments on commit 7c604f5

Please sign in to comment.