Theme Config
Error
An Object which contains all the error information.
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"],
},
},
});
Props
error404
Object
title
string
requiredThe title of the error 404 page
subtitle
string
requiredThe subtitle of the error 404 page
description
string
requiredThe description shown on the error 404 page
dbdError
Object
disableSecretMenu
boolean
requiredIndicate if the secret keybind should be disabled
secretMenuCombination
string[]
requiredThe key combination to view the secret menu
Was this page helpful?