← Back to Project mksite

Change the look

Colours, logo, menus and the footer credit.

Colours#

The theme sets its colours as variables at the top of its stylesheet. To change them, create the file assets/css/main.css in your own site. Hugo uses your copy in place of the theme’s. Copy the theme’s file there first, then edit the lines under :root.

VariableUsed for
--accentThe headline band, buttons and links
--highlightThe yellow marker under the current menu item and the “sun” button
--washPale backgrounds, such as code blocks and the footer

Logo and icon#

Put an SVG or PNG in static/ and name it in hugo.toml:

[params]
  logo = "/logo.svg"
  icon = "/logo.svg"

The footer can say “Developed under the ProjectOpenCZTSH Initiative”. To change the wording or remove it:

[params.initiative]
  name = "Your Initiative"
  url = "https://example.com"
  hide = false

Fonts#

The theme ships Schibsted Grotesk as a single file in static/fonts/. It is loaded from your own site, never from another server.