diff --git a/packages/plasma-b2c/src/tokens/index.ts b/packages/plasma-b2c/src/tokens/index.ts index fcb86445ca..6ed9d11f54 100644 --- a/packages/plasma-b2c/src/tokens/index.ts +++ b/packages/plasma-b2c/src/tokens/index.ts @@ -11,4 +11,4 @@ export { inputBorderHover, } from '@salutejs/plasma-hope'; -export * from '@salutejs/plasma-typo'; +export * from './typography'; diff --git a/packages/plasma-b2c/src/tokens/typography.ts b/packages/plasma-b2c/src/tokens/typography.ts new file mode 100644 index 0000000000..2b2a1d0837 --- /dev/null +++ b/packages/plasma-b2c/src/tokens/typography.ts @@ -0,0 +1,54 @@ +export { + dsplL, + dsplLBold, + dsplM, + dsplMBold, + dsplS, + dsplSBold, + h1, + h1Bold, + h2, + h2Bold, + h3, + h3Bold, + h4, + h4Bold, + h5, + h5Bold, + bodyL, + bodyLBold, + bodyM, + bodyMBold, + bodyS, + bodySBold, + bodyXS, + bodyXSBold, + bodyXXS, + bodyXXSBold, + textL, + textLBold, + textM, + textMBold, + textS, + textSBold, + textXS, + textXSBold, + body1, + body2, + body3, + button1, + button2, + caption, + display1, + display2, + display3, + footnote1, + footnote2, + headline1, + headline2, + headline3, + headline4, + paragraph1, + paragraph2, + underline, +} from '@salutejs/plasma-new-hope'; diff --git a/packages/plasma-web/src/tokens/typography.ts b/packages/plasma-web/src/tokens/typography.ts index 2dbe88831c..28a84851c0 100644 --- a/packages/plasma-web/src/tokens/typography.ts +++ b/packages/plasma-web/src/tokens/typography.ts @@ -1,5 +1,60 @@ import type { CSSObject } from 'styled-components'; +export { + dsplL, + dsplLBold, + dsplM, + dsplMBold, + dsplS, + dsplSBold, + h1, + h1Bold, + h2, + h2Bold, + h3, + h3Bold, + h4, + h4Bold, + h5, + h5Bold, + bodyL, + bodyLBold, + bodyM, + bodyMBold, + bodyS, + bodySBold, + bodyXS, + bodyXSBold, + bodyXXS, + bodyXXSBold, + textL, + textLBold, + textM, + textMBold, + textS, + textSBold, + textXS, + textXSBold, + body1, + body2, + body3, + button1, + button2, + caption, + display1, + display2, + display3, + footnote1, + footnote2, + headline1, + headline2, + headline3, + headline4, + paragraph1, + paragraph2, + underline, +} from '@salutejs/plasma-new-hope'; + export const fieldTypo = ({ fontFamily: 'var(--plasma-field-font-family)', fontSize: 'var(--plasma-field-font-size)',