Skip to content

Commit 601ff20

Browse files
committed
fix(apps): add graphic novel and windows 95 themes to github thumbnail generator
1 parent 1b3f570 commit 601ff20

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/pages/apps/github-thumbnail/themes/graphicNovel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ export const graphicNovel = (ctx, width, height, scale, data) => {
7070
ctx.fillText(repoOwner.toUpperCase(), padding, height * 0.25);
7171

7272
// Description - White Serif (Typewriter style)
73-
ctx.fillStyle = '#ffffff';
74-
ctx.font = `normal ${30 * scale}px "Courier New", monospace`;
73+
ctx.fillStyle = '#ff0000';
74+
ctx.font = `normal ${30 * scale}px "Space Mono", monospace`;
7575
wrapText(ctx, description, padding, height * 0.55, width * 0.6, 40 * scale);
7676

7777
// 5. Speech Bubble for Stats

src/pages/apps/github-thumbnail/themes/win95.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const win95 = (ctx, width, height, scale, data) => {
5757
ctx.fillStyle = white;
5858
ctx.textAlign = 'left';
5959
ctx.font = `bold ${20 * scale}px "Arial", sans-serif`;
60-
ctx.fillText(`${repoOwner} - Notepad`, winX + titlePad + 10*scale, winY + titlePad + 28*scale);
60+
ctx.fillText(`${repoOwner}`, winX + titlePad + 10*scale, winY + titlePad + 28*scale);
6161

6262
// X Button
6363
const btnSize = titleH - 4*scale;
@@ -208,5 +208,5 @@ export const win95 = (ctx, width, height, scale, data) => {
208208
drawBevel(appX, appY, appW, startH, true);
209209
ctx.fillStyle = black;
210210
ctx.textAlign = 'left';
211-
ctx.fillText(`${repoName} - Notepad`, appX + 10*scale, appY + 22*scale);
211+
ctx.fillText(` ${repoName}`, appX + 10*scale, appY + 22*scale);
212212
};

0 commit comments

Comments
 (0)