Theming

April 18, 2026 ยท View on GitHub

Change theme

The default theme can be changed using the yaml configuration file

theme: default # 'default', 'walkxcode', or 'neon' see files in 'src/assets/themes'.

Favicon

Use your own favicon by changing the icons files in the assets/icons directory. More information on the format here.

Colors and background customization

Default colors and background can be customized for each theme variant (light and dark), using either the yaml config file, or the css variables (see "Additional stylesheets" below).

Available options

yamlcssdescription
highlight-primary--highlight-primaryheader background, group title icons
highlight-secondary--highlight-secondarynavbar background, default tag color
highlight-hover--highlight-hovernavbar links hover, search input background
background--backgroundpage background color
card-background--card-backgroundservice card background color
text--textmain text color
text-header--text-headerheader text color
text-title--text-titleservice card title color
text-subtitle--text-subtitleservice card subtitle color
card-shadow--card-shadowService card box-shadow
link--linkLinks color (footer & message), service card icon color
link-hover--link-hoverLinks hover color (footer & message), service card icon hover color
background-image--background-imagepage background image url (when used in css, set url(<image-url>) instead of just the url. see example below)

YAML example

colors:
  light:
    highlight-primary: "#3367d6"
    background-image: "assets/your/light/bg.webp"
    ...
  dark:
    highlight-primary: "#3367d6"
    background-image: "assets/your/dark/bg.webp"
    ...

CSS example

.light {
    --highlight-primary: #3367d6;
    --background-image: url("assets/your/light/bg.webp");
    ...
}

.dark {
    --highlight-primary: #3367d6;
    --background-image: url("assets/your/dark/bg.webp");
    ...
}

Additional stylesheets

One or more additional stylesheets can be loaded to add or override style from the current theme. Use the 'stylesheet' option in the yaml configuration file to load your own CSS file.

stylesheet:
   - "assets/custom.css"

Customization example

Max width modification

body #main-section .container {
    max-width: 2000px; // adjust to your needs (eg: calc(100% - 100px), none, ...)
}

Background gradient

#app {
    height: 100%;
    background: linear-gradient(90deg, #5c2483, #0095db);
}