mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-18 10:57:04 -04:00
Fixes?
This commit is contained in:
parent
a92bae80e0
commit
dedf88bb72
21 changed files with 2 additions and 145 deletions
|
@ -1,29 +0,0 @@
|
|||
# ThemeAttributes
|
||||
|
||||
This plugin adds data attributes and CSS variables 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-author-username` contains the username of the author
|
||||
- `data-is-self` is a boolean indicating whether this is the current user's message
|
||||
|
||||

|
||||
|
||||
## CSS Variables
|
||||
|
||||
### Avatars
|
||||
|
||||
`--avatar-url-<resolution>` contains a URL for the users avatar with the size attribute adjusted for the resolutions `128, 256, 512, 1024, 2048, 4096`.
|
||||
|
||||

|
Loading…
Add table
Add a link
Reference in a new issue