mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 02:17:03 -04:00
Update ThemeLibrary
This commit is contained in:
parent
ab7547e698
commit
bc0543c8dd
8 changed files with 316 additions and 89 deletions
|
@ -4,30 +4,20 @@
|
|||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import { definePluginSettings } from "@api/Settings";
|
||||
import { EquicordDevs } from "@utils/constants";
|
||||
import definePlugin, { OptionType } from "@utils/types";
|
||||
import definePlugin from "@utils/types";
|
||||
import { SettingsRouter } from "@webpack/common";
|
||||
|
||||
const settings = definePluginSettings({
|
||||
hideWarningCard: {
|
||||
type: OptionType.BOOLEAN,
|
||||
default: false,
|
||||
description: "Hide the warning card displayed at the top of the theme library tab",
|
||||
restartNeeded: false,
|
||||
},
|
||||
domain: {
|
||||
type: OptionType.BOOLEAN,
|
||||
default: false,
|
||||
description: "Use Github instead of the default domain for themes",
|
||||
restartNeeded: false,
|
||||
},
|
||||
});
|
||||
import { settings } from "./settings";
|
||||
|
||||
export default definePlugin({
|
||||
name: "ThemeLibrary",
|
||||
description: "A library of themes for Vencord.",
|
||||
authors: [EquicordDevs.Fafa],
|
||||
authors: [
|
||||
{
|
||||
name: "Fafa",
|
||||
id: 428188716641812481n,
|
||||
},
|
||||
],
|
||||
settings,
|
||||
toolboxActions: {
|
||||
"Open Theme Library": () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue