2023-08-31 01:49:53 +02:00
|
|
|
# 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
|
2024-05-11 22:57:48 +02:00
|
|
|
- `data-author-username` contains the username of the author
|
2023-08-31 01:49:53 +02:00
|
|
|
- `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)
|