mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-25 06:17:02 -04:00
More Plugins
This commit is contained in:
parent
5eefc88ec2
commit
0d9457e1bc
39 changed files with 3648 additions and 2 deletions
34
src/equicordplugins/betterUserArea/index.tsx
Normal file
34
src/equicordplugins/betterUserArea/index.tsx
Normal 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);
|
||||
}
|
||||
});
|
11
src/equicordplugins/betterUserArea/style.css
Normal file
11
src/equicordplugins/betterUserArea/style.css
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue