Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
696 changes: 348 additions & 348 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
"@astrojs/preact": "^4.1.3",
"@primer/react-brand": "^0.63.0",
"@tailwindcss/vite": "^4.1.18",
"astro": "^5.16.15",
"framer-motion": "^12.29.2",
"astro": "^5.17.1",
"framer-motion": "^12.33.0",
"html2canvas": "^1.4.1",
"preact": "^10.28.2",
"preact": "^10.28.3",
"react": "^19.2.4",
"react-social-icons": "^6.25.0",
"tailwindcss": "^4.1.18"
},
"devDependencies": {
"@playwright/test": "^1.58.0",
"baseline-browser-mapping": "^2.9.18",
"@playwright/test": "^1.58.1",
"baseline-browser-mapping": "^2.9.19",
"vite": "^7.3.1"
}
}
2 changes: 1 addition & 1 deletion src/components/DevemonCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ const DevemonCard = forwardRef<DevemonCardRef, DevemonCardProps>(
>
<span
style={{
fontFamily: "Mona Sans SemiCondensed, sans-serif",
fontFamily: "Mona Sans, sans-serif",
fontWeight: "600",
color: "#d1d5db",
fontSize: "12px",
Expand Down
21 changes: 13 additions & 8 deletions src/components/GitHubWallpaperApp.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
}

/* Footer positioning - centered when no right column, in right column when active */
.MainLayout > footer {
.MainLayout>footer {
grid-column: 1 / -1;
grid-row: -1;
justify-self: center;
}

.MainLayout--active > footer {
.MainLayout--active>footer {
grid-column: 2;
align-self: end;
justify-self: stretch;
Expand Down Expand Up @@ -92,7 +92,8 @@
background-color: var(--color-bg-secondary);
border: 2px solid var(--color-border-tertiary);
padding: var(--space-xl);
border-top: none; /* Connect visually with tabs */
border-top: none;
/* Connect visually with tabs */
}

@media (min-width: 640px) {
Expand Down Expand Up @@ -136,8 +137,8 @@
}

/* Footer back to normal flow on mobile */
.MainLayout > footer,
.MainLayout--active > footer {
.MainLayout>footer,
.MainLayout--active>footer {
grid-column: unset;
grid-row: unset;
align-self: unset;
Expand All @@ -153,7 +154,8 @@
.PreviewArea {
border: 2px solid var(--color-border-tertiary);
border-radius: 8px;
margin-top: 0; /* Remove margin since we have gap on parent */
margin-top: 0;
/* Remove margin since we have gap on parent */
}

.RightColumn {
Expand Down Expand Up @@ -255,6 +257,7 @@

/* Media queries consolidated */
@media (min-width: 640px) {

.FormContent,
.TabSections {
gap: var(--space-2xl);
Expand All @@ -272,7 +275,7 @@
margin-bottom: var(--space-xs);
text-transform: uppercase;
letter-spacing: 2px;
font-family: "Mona Sans SemiCondensed", ui-monospace, SFMono-Regular, Menlo,
font-family: "Mona Sans", ui-monospace, SFMono-Regular, Menlo,
Monaco, Consolas, monospace;
}

Expand Down Expand Up @@ -301,6 +304,7 @@

/* Consolidated font size media queries */
@media (min-width: 640px) {

.ControlLabel,
.CheckboxGroupLabel {
font-size: 14px;
Expand All @@ -322,6 +326,7 @@
opacity: 0;
transform: translateY(10px);
}

to {
opacity: 1;
transform: translateY(0);
Expand Down Expand Up @@ -390,4 +395,4 @@
.FooterCopyright a {
color: inherit;
text-decoration: none;
}
}
6 changes: 3 additions & 3 deletions src/components/WallpaperGenerator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ const WallpaperGenerator = forwardRef<
${isStatic ? "" : 'class="username"'}
x="${centerX}"
y="${centerY - avatarSize * 0.2}"
font-family="'Mona Sans SemiCondensed', system-ui, sans-serif"
font-family="'Mona Sans', system-ui, sans-serif"
font-size="${fontSize}"
font-weight="600"
fill="${textColor}"
Expand All @@ -799,7 +799,7 @@ const WallpaperGenerator = forwardRef<
${isStatic ? "" : 'class="username"'}
x="${centerX}"
y="${centerY - avatarSize * 0.2 + fontSize * 0.9}"
font-family="'Mona Sans SemiCondensed', system-ui, sans-serif"
font-family="'Mona Sans', system-ui, sans-serif"
font-size="${smallFontSize}"
fill="${handleColor}"
opacity="0.95"
Expand All @@ -813,7 +813,7 @@ const WallpaperGenerator = forwardRef<
x="${centerX}"
y="${centerY + avatarSize * 0.2 + fontSize * 0.9 + smallFontSize * 2.5
}"
font-family="'Mona Sans SemiCondensed', system-ui, sans-serif"
font-family="'Mona Sans', system-ui, sans-serif"
font-size="${smallFontSize * 0.75}"
fill="${textColor}"
opacity="0.9"
Expand Down
8 changes: 4 additions & 4 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -249,31 +249,31 @@

/* Desktop heading utilities */
.heading-1 {
font-family: "Mona Sans SemiCondensed", sans-serif;
font-family: "Mona Sans", sans-serif;
font-size: 80px;
line-height: 0.9;
letter-spacing: -1.6px;
font-weight: 600;
}

.heading-2 {
font-family: "Mona Sans SemiCondensed", sans-serif;
font-family: "Mona Sans", sans-serif;
font-size: 72px;
line-height: 0.9;
letter-spacing: -0.72px;
font-weight: 600;
}

.heading-3 {
font-family: "Mona Sans SemiCondensed", sans-serif;
font-family: "Mona Sans", sans-serif;
font-size: 48px;
line-height: 1;
letter-spacing: -0.96px;
font-weight: 600;
}

.heading-4 {
font-family: "Mona Sans SemiCondensed", sans-serif;
font-family: "Mona Sans", sans-serif;
font-size: 40px;
line-height: 1;
font-weight: 600;
Expand Down
7 changes: 3 additions & 4 deletions tailwind.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,10 @@ export default {
fontFamily: {
// Mona Sans - Primary body and UI text
'sans': ['"Mona Sans"', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif'],
// Mona Sans (with stretch fallback) - Headings
// Note: Mona Sans SemiCondensed not widely available, using Mona Sans with font-stretch
'display': ['"Mona Sans"', '"Mona Sans SemiCondensed"', 'system-ui', '-apple-system', 'sans-serif'],
// Mona Sans - Headings
'display': ['"Mona Sans"', 'system-ui', '-apple-system', 'sans-serif'],
// Monaspace Neon - Actions, eyebrows, labels
'mono': ['"Mona Sans SemiCondensed"', 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'monospace'],
'mono': ['"Mona Sans"', 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'monospace'],
},

// Font sizes matching Figma typography scale
Expand Down