More Plugins

This commit is contained in:
thororen1234 2024-07-18 17:48:50 -04:00
parent 5eefc88ec2
commit 0d9457e1bc
39 changed files with 3648 additions and 2 deletions

View file

@ -0,0 +1,34 @@
/*
* Vencord, a Discord client mod
* Copyright (c) 2024 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { disableStyle, enableStyle } from "@api/Styles";
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
import style from "./style.css?managed";
export default definePlugin({
name: "BetterUserArea",
description: "Reworks the user area styling to fit more buttons and overall look nicer",
authors: [Devs.Samwich],
patches: [{
find: ".Messages.ACCOUNT_SPEAKING_WHILE_MUTED",
replacement:
[
// add a custom class to make things easier
{
match: /className:(\i.container),/,
replace: "className: `${$1} vc-userAreaStyles`,"
},
]
}],
start() {
enableStyle(style);
},
stop() {
disableStyle(style);
}
});

View file

@ -0,0 +1,11 @@
/* stylelint-disable rule-empty-line-before */
.vc-userAreaStyles
{
display: grid;
height: 75px !important;
max-height: 9239080123px !important;
[class*="flex_"]
{
justify-content: space-between !important;
}
}