Skip to content

redesign: align Spawn with ctrl-alt-gg.hu homepage design language - #19

Merged
tormachris merged 5 commits into
mainfrom
copilot/redesign-site-colors
Jun 14, 2026
Merged

redesign: align Spawn with ctrl-alt-gg.hu homepage design language#19
tormachris merged 5 commits into
mainfrom
copilot/redesign-site-colors

Conversation

Copilot AI commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

The Spawn page was visually thin — a plain gray body sandwiched between two identical brand-red bars. This brings it in line with the homepage's card-based, elevated design system.

CSS (assets/css/main.css)

  • Body glowradial-gradient from brand-800 (16%) at the top, bleeding into the surface so the header transitions naturally rather than hard-cutting to white
  • Elevated link buttonsshadow-card at rest → shadow-panel + translateY(-2px) + brightness(0.95) on hover, matching the homepage game-card treatment
  • Radius/shadow tokens promoted to @theme--radius-{pill,card,panel} and --shadow-{card,panel} were in :root only; moving them to @theme generates actual Tailwind utilities (rounded-card, shadow-card, etc.)
  • Dark-mode gradient stops extracted from duplicated magic hex literals into named @theme tokens (--color-brand-dark-from/to) shared by header and footer

Templates

  • layouts/index.htmlmax-w-sm centred container; gap-3 spacing; brand-red gradient underline under the headline (mirrors prose-cag h2::after); flex icon+label rows with rounded-card; $page used consistently
  • layouts/partials/header.html — dark-mode gradient via new @theme tokens
  • layouts/partials/footer.html — same dark-mode tokens; mt-8 → mt-12 (homepage parity)

Copilot AI added 4 commits June 14, 2026 10:38
- Add body radial glow (brand-800, 16 %) that dissolves from the header
  into the surface, ending the jarring hard edge between the dark header
  and the plain white body
- Elevate .link buttons to card style: box-shadow-card at rest,
  box-shadow-panel + translateY(-2px) + brightness(0.95) on hover —
  mirrors the homepage's game-card hover treatment
- Revamp index.html layout: max-w-sm centred container, gap-based
  spacing, brand-red gradient underline below the headline (same
  pattern as prose-cag h2::after on the homepage), flex row icon +
  text inside each link, rounded-card corner radius
- Add dark-mode gradient overrides (dark:from-[#130404]
  dark:to-[#1e0606]) to header and footer, matching the homepage
- Increase footer top margin from mt-8 to mt-12 (homepage parity)"
Replace magic-number hex literals duplicated across header.html and
footer.html with named CSS custom properties --color-brand-dark-from
and --color-brand-dark-to, and use the generated dark:from-brand-dark-from /
dark:to-brand-dark-to utilities in the templates."
- Move --radius-{pill,card,panel} and --shadow-{card,panel} from :root
  into @theme so Tailwind generates rounded-card, rounded-panel,
  shadow-card, shadow-panel as proper utility classes
- Update layouts/index.html to access params via $page consistently
  per the template conventions (removes the unused-variable lint warning)"
Copilot AI changed the title redesign: align Spawn visual design with ctrl-alt-gg.hu homepage redesign: align Spawn with ctrl-alt-gg.hu homepage design language Jun 14, 2026
Copilot AI requested a review from tormachris June 14, 2026 10:43
@tormachris
tormachris requested a review from Copilot June 14, 2026 10:44
@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-cliff-0be80a303-19.westeurope.4.azurestaticapps.net

@tormachris
tormachris marked this pull request as ready for review June 14, 2026 10:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns the Spawn link-collection page with the ctrl-alt-gg.hu homepage’s elevated, card-based design language by introducing shared design tokens, subtle background treatment, and updated link-list layout.

Changes:

  • Introduces shared @theme tokens (radius/shadow utilities and dark-mode brand gradient stops) and applies a subtle brand “glow” background on body.
  • Redesigns the homepage link list layout and typography for a centered, card-like presentation with icon+label rows.
  • Updates header/footer gradients to use the new dark-mode gradient stop tokens and adjusts footer spacing.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
assets/css/main.css Promotes radius/shadow tokens into @theme, adds body glow, and updates .link styling to elevated card behavior.
layouts/index.html Reworks hero/header spacing and link list markup to a centered, card-style layout with icons.
layouts/partials/header.html Switches dark-mode gradient stops to new @theme tokens.
layouts/partials/footer.html Switches dark-mode gradient stops to new @theme tokens and increases top margin.

Comment thread layouts/index.html Outdated
Comment thread assets/css/main.css
Comment on lines +211 to 215
.link:hover {
transform: translateY(-2px);
filter: brightness(0.95);
box-shadow: var(--shadow-panel);
}
@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-cliff-0be80a303-19.westeurope.4.azurestaticapps.net

@tormachris
tormachris merged commit b4407c3 into main Jun 14, 2026
5 checks passed
@tormachris
tormachris deleted the copilot/redesign-site-colors branch June 14, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants