diff --git a/src/component/src/molecules/text/__tests__/__snapshots__/mount.test.ts.snap b/src/component/src/molecules/text/__tests__/__snapshots__/mount.test.ts.snap index 3dce41a..e39e2b6 100644 --- a/src/component/src/molecules/text/__tests__/__snapshots__/mount.test.ts.snap +++ b/src/component/src/molecules/text/__tests__/__snapshots__/mount.test.ts.snap @@ -3,7 +3,7 @@ exports[`mount and unmount component could be updated and unmounted without errors 1`] = `

@@ -12,7 +12,7 @@ exports[`mount and unmount component could be updated and unmounted without erro exports[`mount and unmount component could be updated and unmounted without errors 2`] = `

@@ -22,7 +22,7 @@ exports[`mount and unmount component could be updated and unmounted without erro exports[`mount and unmount component could be updated and unmounted without errors 3`] = `

@@ -31,7 +31,7 @@ exports[`mount and unmount component could be updated and unmounted without erro exports[`mount and unmount component could be updated and unmounted without errors 4`] = `

diff --git a/src/component/src/molecules/text/index.tsx b/src/component/src/molecules/text/index.tsx index c46919e..aad3860 100644 --- a/src/component/src/molecules/text/index.tsx +++ b/src/component/src/molecules/text/index.tsx @@ -4,7 +4,7 @@ import { BaseText, BaseTextProps } from "./base"; import { fonts, fontSizes, fontWeights, useThemes } from "./styles"; interface TextProps extends BaseTextProps { - theme?: "medium" | "regular" | "light" | "bold"; + theme?: "medium" | "regular" | "light" | "bold" | "semiBold"; lang?: "fa" | "en"; weight?: keyof typeof fontWeights | number; color?: string; diff --git a/src/component/src/molecules/text/styles.ts b/src/component/src/molecules/text/styles.ts index 825297e..3a33f28 100644 --- a/src/component/src/molecules/text/styles.ts +++ b/src/component/src/molecules/text/styles.ts @@ -98,6 +98,16 @@ export const fonts = { url: YekanBakhFaBold, format: "woff", }, + "semiBold-en": { + name: "RobotoBold", + url: RobotoBold, + format: "woff", + }, + "semiBold-fa": { + name: "YekanBakhFaBold", + url: YekanBakhFaBold, + format: "woff", + }, }; let _useThemes: (() => Record) | undefined;