Skip to content

Commit

Permalink
Merge pull request #630 from pixiv/feat/export-removeHalfLeadingCss-f…
Browse files Browse the repository at this point in the history
…or-migration

feat: export removeHalfLeadingCss for migration
  • Loading branch information
yue4u authored Oct 9, 2024
2 parents dd69f2d + cfaf064 commit 2c3c8cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/styled/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export {
useMedia,
} from './helper'
export { defineThemeVariables } from './util'
export { removeHalfLeadingCss } from './utils/typographyCss'
export * from './SetThemeScript'

type Blank = null | undefined | false
Expand Down
2 changes: 1 addition & 1 deletion packages/styled/src/utils/typographyCss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const boldCss = css`
font-weight: bold;
`

const removeHalfLeadingCss = css`
export const removeHalfLeadingCss = css`
&::before {
display: block;
width: 0;
Expand Down

0 comments on commit 2c3c8cc

Please sign in to comment.