mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 22:23:02 -04:00
Make 1 CSS File For Warnings
This commit is contained in:
parent
15f0b90791
commit
0bfdcd25fd
11 changed files with 22 additions and 44 deletions
|
@ -53,6 +53,7 @@ You can join our [discord server](https://discord.gg/5Xh2W87egW) for commits, ch
|
|||
- FakeProfileThemesAndEffects by ryan
|
||||
- FindReply by newwares
|
||||
- FixFileExtensions by thororen
|
||||
- FollowVoiceUser by TheArmagan
|
||||
- FrequentQuickSwitcher by Samwich
|
||||
- FriendshipRanks by Samwich
|
||||
- FullVcPfp by mochie
|
||||
|
|
|
@ -16,13 +16,21 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import "@equicordplugins/_misc/styles.css";
|
||||
|
||||
import { EquicordDevs } from "@utils/constants";
|
||||
import definePlugin from "@utils/types";
|
||||
import { Forms } from "@webpack/common";
|
||||
|
||||
export default definePlugin({
|
||||
name: "EquicordHelper",
|
||||
description: "Fixes some misc issues with discord",
|
||||
authors: [EquicordDevs.thororen, EquicordDevs.nyx],
|
||||
settingsAboutComponent: () => <>
|
||||
<Forms.FormText className="plugin-warning">
|
||||
This Plugin is used for fixing misc issues with discord such as some crashes
|
||||
</Forms.FormText>
|
||||
</>,
|
||||
required: true,
|
||||
patches: [
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
.quests-warning{
|
||||
.plugin-warning {
|
||||
font-size: 16px !important;
|
||||
background-color: var(--info-warning-background) !important;
|
||||
color: var(--info-warning-text) !important;
|
|
@ -4,12 +4,14 @@
|
|||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import "@equicordplugins/_misc/styles.css";
|
||||
|
||||
import { NavContextMenuPatchCallback } from "@api/ContextMenu";
|
||||
import { definePluginSettings } from "@api/Settings";
|
||||
import { EquicordDevs } from "@utils/constants";
|
||||
import definePlugin, { OptionType } from "@utils/types";
|
||||
import { findByPropsLazy, findStoreLazy } from "@webpack";
|
||||
import { Menu, React } from "@webpack/common";
|
||||
import { Forms, Menu, React } from "@webpack/common";
|
||||
import { VoiceState } from "@webpack/types";
|
||||
import { Channel, User } from "discord-types/general";
|
||||
|
||||
|
@ -79,7 +81,7 @@ export default definePlugin({
|
|||
authors: [EquicordDevs.TheArmagan],
|
||||
settings,
|
||||
settingsAboutComponent: () => <>
|
||||
<Forms.FormText className="followvoiceuser-warning">
|
||||
<Forms.FormText className="plugin-warning">
|
||||
This Plugin is used to follow a Friend/Friends into voice chat(s).
|
||||
</Forms.FormText>
|
||||
</>,
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import "./style.css";
|
||||
import "@equicordplugins/_misc/styles.css";
|
||||
|
||||
import { EquicordDevs } from "@utils/constants";
|
||||
import definePlugin from "@utils/types";
|
||||
|
@ -27,7 +27,7 @@ export default definePlugin({
|
|||
description: "Prevents in-call/PiP previews (screenshare, streams, etc) from pausing even if the client loses focus",
|
||||
authors: [EquicordDevs.vappstar],
|
||||
settingsAboutComponent: () => <>
|
||||
<Forms.FormText className="platform-warning">
|
||||
<Forms.FormText className="plugin-warning">
|
||||
This plugin will cause discord to use more resources than normal
|
||||
</Forms.FormText>
|
||||
</>,
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
.platform-warning {
|
||||
font-size: 16px !important;
|
||||
background-color: rgb(240 71 71 / 10%);
|
||||
color: rgb(240 71 71) !important;
|
||||
border: 1px solid rgb(240 71 71 / 60%) !important;
|
||||
border-radius: 5px !important;
|
||||
font-weight: bold;
|
||||
padding: 6px 10px;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import "./style.css";
|
||||
import "@equicordplugins/_misc/styles.css";
|
||||
|
||||
import { definePluginSettings } from "@api/Settings";
|
||||
import { EquicordDevs } from "@utils/constants";
|
||||
|
@ -43,7 +43,7 @@ export default definePlugin({
|
|||
description: "Spoof what platform or device you're on",
|
||||
authors: [EquicordDevs.Drag],
|
||||
settingsAboutComponent: () => <>
|
||||
<Forms.FormText className="platform-warning">
|
||||
<Forms.FormText className="plugin-warning">
|
||||
We can't guarantee this plugin won't get you warned or banned.
|
||||
</Forms.FormText>
|
||||
</>,
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
.platform-warning {
|
||||
font-size: 16px !important;
|
||||
background-color: rgb(240 71 71 / 10%);
|
||||
color: rgb(240 71 71) !important;
|
||||
border: 1px solid rgb(240 71 71 / 60%) !important;
|
||||
border-radius: 5px !important;
|
||||
font-weight: bold;
|
||||
padding: 6px 10px;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
}
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import "./style.css";
|
||||
import "@equicordplugins/_misc/styles.css";
|
||||
|
||||
import { ApplicationCommandInputType, ApplicationCommandOptionType, findOption, sendBotMessage } from "@api/Commands";
|
||||
import { Devs, EquicordDevs } from "@utils/constants";
|
||||
|
@ -48,7 +48,7 @@ export default definePlugin({
|
|||
description: "Purges messages from a channel",
|
||||
authors: [EquicordDevs.bhop, Devs.nyx],
|
||||
settingsAboutComponent: () => <>
|
||||
<Forms.FormText className="purge-warning">
|
||||
<Forms.FormText className="plugin-warning">
|
||||
We can't guarantee this plugin won't get you warned or banned.
|
||||
</Forms.FormText>
|
||||
</>,
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
.purge-warning {
|
||||
font-size: 16px !important;
|
||||
background-color: rgb(240 71 71 / 10%) !important;
|
||||
color: rgb(240 71 71) !important;
|
||||
border: 1px solid rgb(240 71 71 / 60%) !important;
|
||||
border-radius: 5px !important;
|
||||
font-weight: bold;
|
||||
padding: 6px 10px;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
}
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import "./style.css";
|
||||
import "@equicordplugins/_misc/styles.css";
|
||||
|
||||
import { showNotification } from "@api/Notifications";
|
||||
import ErrorBoundary from "@components/ErrorBoundary";
|
||||
|
@ -229,7 +229,7 @@ export default definePlugin({
|
|||
description: "A plugin to complete quests without having the game installed.",
|
||||
authors: [Devs.amia],
|
||||
settingsAboutComponent: () => <>
|
||||
<Forms.FormText className="quests-warning">
|
||||
<Forms.FormText className="plugin-warning">
|
||||
Game Quests do not work on Equibop/Web Platforms. Only Video Quests do.
|
||||
</Forms.FormText>
|
||||
</>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue