diff options
author | V <vendicated@riseup.net> | 2023-08-31 01:49:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-31 01:49:53 +0200 |
commit | 0b7c0e958772d4204ad286f0c09fff0add1f1f2d (patch) | |
tree | 3ecae4ea95c7f3a84118c731dbf110352143eccb /src/plugins/themeAttributes/README.md | |
parent | d88524e8cf3a61e3399e049f615fa5d28d66693f (diff) | |
download | Vencord-0b7c0e958772d4204ad286f0c09fff0add1f1f2d.tar.gz Vencord-0b7c0e958772d4204ad286f0c09fff0add1f1f2d.tar.bz2 Vencord-0b7c0e958772d4204ad286f0c09fff0add1f1f2d.zip |
new plugin: themeAttributes (#1686)
Diffstat (limited to 'src/plugins/themeAttributes/README.md')
-rw-r--r-- | src/plugins/themeAttributes/README.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/plugins/themeAttributes/README.md b/src/plugins/themeAttributes/README.md new file mode 100644 index 0000000..110eca5 --- /dev/null +++ b/src/plugins/themeAttributes/README.md @@ -0,0 +1,20 @@ +# ThemeAttributes + +This plugin adds data attributes to various elements inside Discord + +This allows themes to more easily theme those elements or even do things that otherwise wouldn't be possible + +## Available Attributes + +### All Tab Bars (User Settings, Server Settings, etc) + +`data-tab-id` contains the id of that tab + +![image](https://github.com/Vendicated/Vencord/assets/45497981/1263b782-f673-4f09-820c-4cc366d062ad) + +### Chat Messages + +- `data-author-id` contains the id of the author +- `data-is-self` is a boolean indicating whether this is the current user's message + +![image](https://github.com/Vendicated/Vencord/assets/45497981/34bd5053-3381-402f-82b2-9c812cc7e122) |