-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: fix styles #83
feat: fix styles #83
Conversation
@@ -7,7 +7,7 @@ export const cal = localFont({ | |||
}); | |||
|
|||
export const crimsonBold = Crimson_Text({ | |||
weight: "700", | |||
weight: "600", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weight を 600 に
@@ -1,5 +1,5 @@ | |||
.ProseMirror { | |||
@apply novel-p-12 novel-px-8 sm:novel-px-12; | |||
@apply novel-p-12 novel-px-8 sm:novel-px-12 novel-text-base novel-leading-normal; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
全体に font-size: 16px と line-height: 180% を追加
theme: { | ||
extend: { | ||
lineHeight: { | ||
normal: '180%', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lineheight をいじって 180% にするように
.ProseMirror h1 { | ||
font-size: 1.5rem; | ||
font-weight: 600; | ||
} | ||
|
||
.ProseMirror h2 { | ||
font-size: 1.25rem; | ||
font-weight: 600; | ||
} | ||
|
||
.ProseMirror h3 { | ||
font-size: 1.125rem; | ||
font-weight: 600; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heading のスタイルを上書き
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます〜〜😭
LGTM!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます!
slack:
https://sheinc.slack.com/archives/C02N557HFNF/p1705034179431749
全体
見出し
共通
h1
h2
h3