diff --git a/packages/styled/src/index.ts b/packages/styled/src/index.ts index 85809b213..518b7793a 100644 --- a/packages/styled/src/index.ts +++ b/packages/styled/src/index.ts @@ -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 diff --git a/packages/styled/src/utils/typographyCss.ts b/packages/styled/src/utils/typographyCss.ts index 85a05f5c9..82ed207a6 100644 --- a/packages/styled/src/utils/typographyCss.ts +++ b/packages/styled/src/utils/typographyCss.ts @@ -4,7 +4,7 @@ const boldCss = css` font-weight: bold; ` -const removeHalfLeadingCss = css` +export const removeHalfLeadingCss = css` &::before { display: block; width: 0;