theme: SoftUI({
  error: {
    error404: {
      title: String,
      subtitle: String,
      description:
        String,
    },
    dbdError: {
      disableSecretMenu: Boolean,
      secretMenuCombination: String[],
    },
  },
});

Example Usage

theme: SoftUI({
  error: {
    error404: {
      title: "Error 404",
      subtitle: "Page Not Found",
      description:
        "It seems you have stumbled into the abyss. Click the button below to return to the dashboard",
    },
    dbdError: {
      disableSecretMenu: false,
      secretMenuCombination: ["69", "82", "82", "79", "82"],
    },
  },
});

Image

Props

error404
Object
title
string
required

The title of the error 404 page

subtitle
string
required

The subtitle of the error 404 page

description
string
required

The description shown on the error 404 page

dbdError
Object
disableSecretMenu
boolean
required

Indicate if the secret keybind should be disabled

secretMenuCombination
string[]
required

The key combination to view the secret menu