Skip to content

Commit ccc93aa

Browse files
committed
docs: increase OG image text and logo sizes for readability
1 parent 5ea6d9f commit ccc93aa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

apps/docs/build/generate-og-images.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ function template (title: string, description: string, category?: string) {
7676
type: 'img',
7777
props: {
7878
src: logo,
79-
width: 180,
80-
height: 58,
79+
width: 260,
80+
height: 84,
8181
style: {},
8282
},
8383
},
@@ -86,7 +86,7 @@ function template (title: string, description: string, category?: string) {
8686
type: 'div',
8787
props: {
8888
style: {
89-
fontSize: '18px',
89+
fontSize: '22px',
9090
color: 'rgba(255, 255, 255, 0.4)',
9191
marginLeft: '4px',
9292
},
@@ -111,10 +111,10 @@ function template (title: string, description: string, category?: string) {
111111
type: 'div',
112112
props: {
113113
style: {
114-
fontSize: '48px',
114+
fontSize: '56px',
115115
fontWeight: 700,
116116
lineHeight: '1.2',
117-
marginBottom: '20px',
117+
marginBottom: '24px',
118118
color: 'white',
119119
},
120120
children: title,
@@ -125,7 +125,7 @@ function template (title: string, description: string, category?: string) {
125125
type: 'div',
126126
props: {
127127
style: {
128-
fontSize: '22px',
128+
fontSize: '26px',
129129
color: 'rgba(255, 255, 255, 0.7)',
130130
lineHeight: '1.5',
131131
},
@@ -142,7 +142,7 @@ function template (title: string, description: string, category?: string) {
142142
style: {
143143
display: 'flex',
144144
alignItems: 'center',
145-
fontSize: '18px',
145+
fontSize: '22px',
146146
color: 'rgba(255, 255, 255, 0.5)',
147147
},
148148
children: '0.vuetifyjs.com',

0 commit comments

Comments
 (0)