Skip to content
Astro Lumetric
Start free

Product · · 4 min read

Choose your design

Astro Lumetric draws the same pages in two designs, Stage and Grid. One setting picks one.

On this page
  1. Stage
  2. Grid
  3. The colours
  4. Switching

Astro Lumetric has two designs: Stage, the default, and Grid. They’re the same site, with the same pages, the same words and the same colours, drawn two ways. You choose one in src/config/theme.config.mjs:

design: 'stage',

Stage

Stage is soft and centred. The parts of a page have room around them, with rounded corners.

  • The hero. Centred: a small pill, a very large heading (on the homepage with its second line in grey), the line under it and the buttons, over a soft lime glow. On the homepage, the product’s dashboard sits under the buttons, a dark panel in both modes, drawn in HTML and CSS (src/components/saas/AppMock.astro).
  • Cards. Rounded, on the page, each with a fine border. The features on the homepage are two rows of three cards, each with an icon and a small picture.
  • Section labels. A short label in lime capitals above each section’s heading.
  • The closing band. A rounded near-black card inset on the page, the same in light and dark mode, with a lime glow rising from its foot, and everything centred: the label, the heading, a line, two buttons and three short points.
  • Sign in. One card in the middle of the page, over a soft lime glow.
  • The font. Inter Tight.

Grid

Grid is ruled and left-aligned. Fine lines divide the page into four columns, and everything sits on them. On a phone only the column’s two edges show.

  • The hero. Left-aligned in the ruled column: the pill as a small label on a line of its own, a still larger heading, then a ruled row with the line on the left and the buttons on the right. The homepage’s hero has a heading of its own, with the last word of its first line on a lime block, two figures beside the buttons, and a bar chart of six weeks of visitors under them (src/components/saas/HeroStrip.astro) in place of the dashboard.
  • Cards. Square cells that share their borders and let the page’s lines show through. The features are numbered in a small mono face: four cells in the first row, two wide ones in the second.
  • Section labels. Each section starts on a rule across the column, with its label numbered in order down the page: 01 — the first section, 02 — the next.
  • The closing band. No card: a ruled block in the column, with its numbered label, the heading large on the left, the line, buttons and points on the right, and a lime square in the corner.
  • Sign in. The column in two halves: the heading on the left, the form on the right.
  • The font. Space Grotesk.

Corners are smaller in Grid, except on the buttons, which stay round in both designs. Both designs use JetBrains Mono for small labels, figures and code.

The colours

Both designs use the same colours, from src/styles/themes/lime.css: near-black in dark mode, near-white in light mode, and one lime for the buttons, badges, charts and highlights, always with dark text on it. On the light page the lime is too pale to read as text, so text and thin lines in the accent turn a deeper green there. The site opens in dark mode, and the button in the header switches to light.

There’s no colour setting. To change the accent, change the lime in lime.css, and its hex value in src/config/colors.mjs, which the favicon, the browser’s theme colour and the share images read while the site builds.

The covers the theme draws for posts and customer stories are the same in both designs and both modes: near-black, with a lime glow, a fine grid, corner marks, a lime icon and a word.

Switching

Change design, then stop the dev server and start it again. The rest of the site would follow the new setting, but astro.config.mjs loads only the chosen design’s font, and it’s read once, when the server starts. A server that keeps running keeps the old font. A build always uses the setting as it is.

Related posts

Get started

New to Astro Lumetric?

The first guide installs the theme, runs it on your computer and puts it online.