mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-28 07:54:22 -04:00
chore(pluginCards): warning to few plugins, change restart modal style & more (#88)
* add warning to plugins * update wording and restart button * update warning gif
This commit is contained in:
parent
5b79cf56c2
commit
f9c12779c8
12 changed files with 103 additions and 14 deletions
|
@ -4,9 +4,12 @@
|
|||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import "./style.css";
|
||||
|
||||
import { definePluginSettings } from "@api/Settings";
|
||||
import { EquicordDevs } from "@utils/constants";
|
||||
import definePlugin, { OptionType } from "@utils/types";
|
||||
import { Forms } from "@webpack/common";
|
||||
|
||||
const settings = definePluginSettings({
|
||||
platform: {
|
||||
|
@ -39,6 +42,11 @@ export default definePlugin({
|
|||
name: "PlatformSpoofer",
|
||||
description: "Spoof what platform or device you're on",
|
||||
authors: [EquicordDevs.Drag],
|
||||
settingsAboutComponent: () => <>
|
||||
<Forms.FormText className="platform-warning">
|
||||
We can't guarantee this plugin won't get you warned or banned.
|
||||
</Forms.FormText>
|
||||
</>,
|
||||
settings: settings,
|
||||
patches: [
|
||||
{
|
12
src/equicordplugins/platformSpoofer/style.css
Normal file
12
src/equicordplugins/platformSpoofer/style.css
Normal file
|
@ -0,0 +1,12 @@
|
|||
.platform-warning {
|
||||
font-size: 16px;
|
||||
background-color: rgb(240 71 71 / 10%);
|
||||
color: rgb(240 71 71);
|
||||
border: 1px solid rgb(240 71 71 / 60%);
|
||||
border-radius: 4px;
|
||||
font-weight: 500;
|
||||
padding: 6px 10px;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
font-style: bold;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue