Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typographyをtailwind.configに追加 #46

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

komura-c
Copy link

@komura-c komura-c requested a review from kp047i January 14, 2025 12:14
"10": ["10px", { fontWeight: 400 }],
"12": ["12px", { fontWeight: 400 }],
"14": ["14px", { fontWeight: 400 }],
"14-bold": ["14px", { fontWeight: 700 }],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@komura-c
[Q]
font weightは別でクラス指定してあげれば良いのかなと思ったんですがどう思いますか?
https://tailwindcss.com/docs/font-weight

Copy link
Author

@komura-c komura-c Jan 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kp047i
それであれば、font weightはデフォルトでfont-normal, font-boldがあるので要らないですかね?
この組み合わせしか使われてないのであれば、text-xxxでどちらも指定できた方が便利かなと思い追加しました!
kpさん的にはどちらの方が使いやすいでしょうか?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@komura-c
個人的にはシンプルにサイズだけで良いかなと思いました!

Copy link
Contributor

@kp047i kp047i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants