diff options
author | Remty <remty516@gmail.com> | 2023-04-04 15:28:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-04 13:28:41 +0000 |
commit | 2e6dfaa8795d093e50d87ebb5e7805cddb29a52c (patch) | |
tree | 918968e8860b5be5ec956481a334391a8e878ff2 /src/plugins/fakeProfileThemes.tsx | |
parent | 96dc2e12d030ac6d725bdfc58f1c47d35aae67a8 (diff) | |
download | Vencord-2e6dfaa8795d093e50d87ebb5e7805cddb29a52c.tar.gz Vencord-2e6dfaa8795d093e50d87ebb5e7805cddb29a52c.tar.bz2 Vencord-2e6dfaa8795d093e50d87ebb5e7805cddb29a52c.zip |
FakeProfileThemes: add usage guide (#778)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'src/plugins/fakeProfileThemes.tsx')
-rw-r--r-- | src/plugins/fakeProfileThemes.tsx | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/plugins/fakeProfileThemes.tsx b/src/plugins/fakeProfileThemes.tsx index de42dd9..ede0e72 100644 --- a/src/plugins/fakeProfileThemes.tsx +++ b/src/plugins/fakeProfileThemes.tsx @@ -23,7 +23,7 @@ import { Devs } from "@utils/constants"; import { Margins } from "@utils/margins"; import { copyWithToast } from "@utils/misc"; import definePlugin, { OptionType } from "@utils/types"; -import { Button } from "@webpack/common"; +import { Button, Forms } from "@webpack/common"; import { User } from "discord-types/general"; import virtualMerge from "virtual-merge"; @@ -100,6 +100,21 @@ export default definePlugin({ } } ], + settingsAboutComponent: () => ( + <Forms.FormSection> + <Forms.FormTitle tag="h3">Usage</Forms.FormTitle> + <Forms.FormText> + After enabling this plugin, you will see custom colors in the profiles of other people using compatible plugins. <br /> + To set your own colors: + <ul> + <li>• go to your profile settings</li> + <li>• choose your own colors in the Nitro preview</li> + <li>• click the "Copy 3y3" button</li> + <li>• paste the invisible text anywhere in your bio</li> + </ul><br /> + <b>Please note:</b> if you are using a theme which hides nitro upsells, you should disable it temporarily to set colors. + </Forms.FormText> + </Forms.FormSection>), settings, colorDecodeHook(user: UserProfile) { if (user) { |