Skip to main content
Abstract gradient shapes

astro-theme-university

A modern Astro 7 theme for university-style sites: neutral defaults, re-brandable with a handful of CSS custom properties and data-only branding props, and no client-framework runtime.

Quick start

Install the theme from its latest release tag alongside its peer dependencies:

pnpm add astro "git+https://github.com/ANUcybernetics/astro-theme-university.git#vX.Y.Z" @astrojs/mdx sharp pagefind lightningcss @iconify-json/iconoir

Add the integration to your Astro config:

import { defineConfig } from "astro/config";
import universityTheme from "astro-theme-university";

export default defineConfig({
  integrations: [universityTheme()],
});

Features

Re-brandable

Re-brandable

Teal-accented defaults, Public Sans typography, and a palette-driven token system. Override one custom property to re-brand the whole theme.

Dark mode

Dark mode

Light and dark themes with localStorage persistence and system preference detection.

Accessible

Accessible

Skip links, focus indicators, reduced motion support, and WCAG AA contrast throughout.

Build checks

Build checks

Automatic broken link detection and accessibility auditing at build time via axe-core.

Modern CSS

Modern CSS

CSS layers, grid, subgrid, and custom properties, with no Tailwind or preprocessors.

Components

Components

Callouts, cards, video embeds, navigation, and footer, all themed and accessible.

Browse the full documentation →