mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-07 05:42:55 -04:00
* fixed and added custom folder icons by sadan * better regex * better regex * Fixes --------- Co-authored-by: thororen1234 <78185467+thororen1234@users.noreply.github.com>
28 lines
714 B
TypeScript
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: () => <></>
|
|
}
|
|
});
|