feat: switch back to data.json

This commit is contained in:
Gabe616 2023-09-29 16:37:35 +02:00
parent 435e5a7cd1
commit fd3677d4a9
7 changed files with 44 additions and 279 deletions

View file

@ -1,26 +1,24 @@
# If you aren't sure exactly what all this is about, read here first
### data.json
## data.json
This is the file that the Vendetta plugin imports for now, Vendetta checks the profile pictures using the user ID and the badges are checked based on Username. This has to be fixed in the Plugin or else it will NOT work otherwise.
This is the file that dist.css is built from. Badges and avatars are based on user ID, more in template.css
### datadesktop.json
This is the file that dist.css is built from. Here Badges and Profilepictures are based on user ID, more on template.css
### dist.css
## dist.css
This is the CSS code users import, here the data from datadesktop.json is used according to template.css.
### template.css
## template.css
This is the file where the instruction on how to use datadesktop.json lies. If the (pseudo)CSS in this file says "Take the ID of the user and replace the avatar of them with the URL next to their name" this is how dist.css is built.
Example:
```css
.{ID} {
display: none;
display: none;
}
```
Would then build the dist.css in a way that would display: none, so hide, every avatar from a user that has the import to dist.css