mirror of
https://github.com/Equicord/Equicord.git
synced 2025-03-28 19:27:53 -04:00
Drop MoreThemes
This commit is contained in:
parent
252c4929cc
commit
75216ad833
2 changed files with 1 additions and 34 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
}
|
||||
],
|
||||
});
|
Loading…
Add table
Reference in a new issue