Edit config/_default/module.yaml to install the architectify-theme module.
This module carries both styling layers, so it works with either design module. Declare it first, before the section modules, the core theme and the styling module: its mounts have to shadow theirs.
imports:
- path: github.com/uncinq/architectify-theme/v2
# Core theme
- path: github.com/hugolify/hugolify-theme/v2
# Styling, one of the two
- path: github.com/hugolify/hugolify-theme-design-system # CSS + design tokens
# - path: github.com/hugolify/hugolify-theme-bootstrap # SASS + Bootstrap 5With hugolify-theme-design-system the theme comes from assets/tokens/; with hugolify-theme-bootstrap it comes from assets/sass/.
imports:
- path: github.com/uncinq/architectify-theme
- path: github.com/hugolify/hugolify-themeschema.org has no type for an architect, so the theme adds none to the generic ones of hugolify-theme. A firm takes LocalBusiness, in Hugolify admin under Config › Structured data:
# data/schema.yml
organization:
type: LocalBusinessSee Structured data.
The design-system layer is authored as DTCG token files under assets/tokens/theme/ and compiled to custom properties with Style Dictionary:
npm install
npm run buildThis writes assets/css/tokens/theme/**.css plus the assets/css/tokens/theme.css barrel, both committed: Hugo reads the generated CSS, never the JSON. Run it after touching any token file, and never edit the generated CSS by hand: the next build overwrites it.
These tools only build the tokens here, a site never needs them: hugo mod npm pack reads package.hugo.json, which lists no dependency, instead of package.json.
Tags are v-prefixed (v2.0.0): a /v2 module path is only resolvable from a v2.x.y semver tag.
npx release-itHugolify is free for personal or commercial projects (MIT license)