mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-25 15:58:31 +00:00
21 lines
678 B
Markdown
21 lines
678 B
Markdown
|
# 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
|
||
|
|
||
|

|
||
|
|
||
|
### 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
|
||
|
|
||
|

|