Equicord/src/equicordplugins/customFolderIcons/settings.tsx
vMohammad db7447a93d
Some checks are pending
Test / Test (push) Waiting to run
Release / Build Equicord (push) Waiting to run
add folder icons by sadan (#274)
* fixed and added custom folder icons by sadan

* better regex

* better regex

* Fixes

---------

Co-authored-by: thororen1234 <78185467+thororen1234@users.noreply.github.com>
2025-05-30 12:12:34 -04:00

28 lines
714 B
TypeScript

/*
* Vencord, a Discord client mod
* Copyright (c) 2024 sadan
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { definePluginSettings } from "@api/Settings";
import { OptionType } from "@utils/types";
export interface folderIcon {
url: string,
size: number,
}
export type folderIconsData = Record<string, folderIcon | null>;
export const settings = definePluginSettings({
solidIcon: {
type: OptionType.BOOLEAN,
default: false,
description: "Use a solid background on the background of the image"
},
folderIcons: {
type: OptionType.COMPONENT,
hidden: true,
description: "folder icon settings",
component: () => <></>
}
});