Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance Typography system with dynamic font-family (#3)
## Description Enhanced the typography system to support dynamic font families based on weights (`normal`, `thin`, `bold`). The `setFontFamily` function now updates font configurations globally, and `getFontFamilies` dynamically applies these settings to all typography components (`Title`, `Heading1`, `Body1`, etc.). Default font families (`Pretendard`) ensure backward compatibility while allowing seamless customization. ## Test Plan ```tsx setFontFamily({ normal: 'NotoSans-Regular', thin: 'NotoSans-Thin', bold: 'NotoSans-Bold', }); ``` ```tsx <Typography.Title>Bold Title</Typography.Title> <Typography.Body1>Normal Body Text</Typography.Body1> ``` ## Related Issues N/A ## Tests N/A ## Checklist Before you create this PR confirms that it meets all requirements listed below by checking the relevant checkboxes (`[x]`). This will ensure a smooth and quick review process. - [x] I read the [Contributor Guide](https://github.com/crossplatformkorea/cpk-ui/blob/main/CONTRIBUTING.md) and followed the process outlined there for submitting PRs. - [x] Run `yarn test:all` and make sure nothing fails. - [x] I am willing to follow-up on review comments in a timely manner.
- Loading branch information