Skip to content

Commit f5eaf9a

Browse files
committed
update new stats
1 parent a062828 commit f5eaf9a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"USERNAME": "FabioDevCode",
33
"TITLE": "Langages Utilisés",
4-
"STATS_TITLE": "FabioDevCode's GitHub Stats",
4+
"STATS_TITLE": "GitHub Stats",
55
"BG_COLOR": "#202830",
66
"BORDER_COLOR": "#202830",
77
"TITLE_COLOR": "#D1D7E0",

generate-stats.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function generateUserStatsSVG(stats, username) {
153153
const iconColor = CONFIG.ICON_COLOR || '#6e7681';
154154
const valueColor = CONFIG.VALUE_COLOR || CONFIG.TEXT_COLOR;
155155

156-
let itemsY = 55;
156+
let itemsY = 50;
157157
const statsItems = statItems.map(item => {
158158
const formattedValue = formatNumber(item.value);
159159
const itemSVG = `
@@ -164,11 +164,11 @@ function generateUserStatsSVG(stats, username) {
164164
<text x="28" y="12" font-size="14" fill="${CONFIG.TEXT_COLOR}">${item.label}:</text>
165165
<text x="145" y="12" font-size="14" font-weight="600" fill="${valueColor}">${formattedValue}</text>
166166
</g>`;
167-
itemsY += 30;
167+
itemsY += 24;
168168
return itemSVG;
169169
}).join('');
170170

171-
const height = 230;
171+
const height = 195;
172172
const width = 420;
173173

174174
return `<?xml version="1.0" encoding="UTF-8"?>

0 commit comments

Comments
 (0)