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
Teal-accented defaults, Public Sans typography, and a palette-driven token system. Override one custom property to re-brand the whole theme.
Dark mode
Light and dark themes with localStorage persistence and system preference
detection.
Accessible
Skip links, focus indicators, reduced motion support, and WCAG AA contrast throughout.
Build checks
Automatic broken link detection and accessibility auditing at build time via axe-core.
Modern CSS
CSS layers, grid, subgrid, and custom properties, with no Tailwind or preprocessors.
Components
Callouts, cards, video embeds, navigation, and footer, all themed and accessible.