Skip to content

Commit 7fd1115

Browse files
committed
fix(theme): try to use axway typography values for headers
1 parent 4a9cfe1 commit 7fd1115

File tree

1 file changed

+11
-14
lines changed
  • packages/vuepress/vuepress-theme-titanium/styles

1 file changed

+11
-14
lines changed

packages/vuepress/vuepress-theme-titanium/styles/theme.styl

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -156,34 +156,31 @@ h1, h2, h3, h4, h5, h6
156156
opacity: 1
157157

158158
h1, h2, h3, h4, strong
159-
color #2c3e50
159+
color $black
160+
font-weight 700
160161

161162
h1, h2
162-
line-height 1
163163
letter-spacing -.025rem
164164

165165
h1
166-
font-size 1.875rem
167-
font-weight 500
166+
font-size 2.625rem
167+
line-height 3.125rem
168168

169169
h2
170-
font-size 1.5rem
171-
font-weight 400
170+
font-size 2rem
171+
line-height 2.5rem
172172
padding-bottom .3rem
173173
border-bottom 1px solid $borderColor
174-
margin-top 4rem
175-
margin-bottom 1rem
174+
margin 1.5rem 0
176175

177176
h3
178-
font-size 1.25rem
179-
font-weight 500
180-
line-height 1.25
177+
font-size 1.5rem
178+
line-height 2rem
181179
margin-top 1.5rem
182180

183181
h4
184-
font-size 1.125rem
185-
font-weight 500
186-
line-height 1.375rem
182+
font-size 1.25rem
183+
line-height 1.625rem
187184
margin-bottom 0
188185

189186
code, kbd, .line-number

0 commit comments

Comments
 (0)