Skip to content

Themes

Skuilder uses Vuetify 3, and its theming system can be used to customize colors, typography, and more.

The basic structure is:

json
{
  "theme": {
    "name": "my-custom-theme",
    "defaultMode": "light",
    "light": {
      "dark": false,
      "colors": {
        "primary": "#1976D2",
        "secondary": "#424242",
        "accent": "#82B1FF",
        "error": "#F44336",
        "warning": "#FF9800",
        "info": "#2196F3",
        "success": "#4CAF50"
      }
    },
    "dark": {
      "dark": true,
      "colors": {
        "primary": "#2196F3",
        "secondary": "#90A4AE",
        "accent": "#82B1FF",
        "error": "#EF5350",
        "warning": "#FFA726",
        "info": "#42A5F5",
        "success": "#66BB6A"
      }
    }
  }
}

Configuration Location

In a scaffolded course, the theme is defined in your skuilder.config.json file at the root of your course directory (the same location where you have your package.json).

User Theme Switching

Users can toggle between modes in the settings menu, and their preference will be remembered across sessions.