Drop MoreThemes

This commit is contained in:
thororen1234 2025-03-21 12:44:17 -04:00
parent 252c4929cc
commit 75216ad833
No known key found for this signature in database
2 changed files with 1 additions and 34 deletions

View file

@ -10,7 +10,7 @@ You can join our [discord server](https://discord.gg/5Xh2W87egW) for commits, ch
### Extra included plugins
<details>
<summary>165 additional plugins</summary>
<summary>164 additional plugins</summary>
### All Platforms
- AllCallTimers by MaxHerbold & D3SOX
@ -104,7 +104,6 @@ You can join our [discord server](https://discord.gg/5Xh2W87egW) for commits, ch
- MessageTranslate by Samwich
- ModalFade by Kyuuhachi
- MoreStickers by Leko & Arjix
- MoreThemes by Kyuuhachi
- NeverPausePreviews by vappstar
- NewPluginsManager by Sqaaakoi
- NoAppsAllowed by kvba

View file

@ -1,32 +0,0 @@
/*
* Vencord, a Discord client mod
* Copyright (c) 2025 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
export default definePlugin({
name: "MoreThemes",
description: "Enables Darker and Midnight themes",
authors: [Devs.Kyuuhachi],
patches: [
{ // matches twice: the settings menu and the settings context menu
find: '("appearance_settings")',
replacement: {
match: /\("appearance_settings"\)/,
replace: "$&||true"
},
all: true,
},
{ // make it actually save the setting instead of falling back to dark
find: ')("ThemeStore"))return',
replacement: {
match: /(?<=\)\("ThemeStore"\))(?=\)return)/,
replace: "&&false"
},
}
],
});