tabv2 support

This commit is contained in:
Mylloon 2023-12-08 15:43:59 +01:00
parent 1a3b2b68e9
commit 2ab27d7880
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 30 additions and 12 deletions

View file

@ -1,18 +1,28 @@
- `v1` refers to the OG Discord style
- `v2` refers to the new UI style, also called `TabsV2`
# Connections
- `BACKGROUND_TERTIARY` : Background guild list
- `BACKGROUND_ACCENT` : Background invitation button
- `SPOILER_HIDDEN_BACKGROUND` : Spoiler when hidden
- `SPOILER_REVEALED_BACKGROUND` : Spoiler when revealed
- **`v2`**`BACKGROUND_PRIMARY` : Background of tchat
- **`v1`** `BACKGROUND_TERTIARY` : Background guild list
- **`v1`** `BACKGROUND_ACCENT` : Background invitation button
- **`v1`** `SPOILER_HIDDEN_BACKGROUND` : Spoiler when hidden
- **`v1`** `SPOILER_REVEALED_BACKGROUND` : Spoiler when revealed
- **`v2`** `BACKGROUND_MOBILE_PRIMARY` : Background in Vendetta menus
- **`v2`** `BACKGROUND_SECONDARY_ALT` : Background guild list
---
- `PRIMARY_600` : Background app (starting screen, tchat)
- `PRIMARY_630` : Background channel list
- `PRIMARY_660` : Background button aside of chatbox
- `PRIMARY_700` : Background of chatbox
- `PRIMARY_800` : Backgroud of menubar and in profile
- `PRIMARY_560` : Background of card in forums
- **`v1`** `PRIMARY_600` : Background app (starting screen, tchat)
- **`v2`** `PRIMARY_600` : Background starting screen
- **`v1`** `PRIMARY_630` : Background channel list
- **`v1`** `PRIMARY_660` : Background button aside of chatbox
- **`v1`** `PRIMARY_700` : Background of chatbox
- **`v1`** `PRIMARY_800` : Backgroud of menubar and in profile
- **`v1`** `PRIMARY_560` : Background of card in forums
- **`v2`** `PLUM_17` : Background of navbar
- **`v2`** `PLUM_18` : Background of settings button
- **`v2`** `PLUM_20` : Background of channel list
> [Some utils](https://github.com/nexpid/VendettaThemeUtil) and
> [some documentation](https://docs.riichi.tech/objects/semantic-colors)

View file

@ -9,10 +9,14 @@
],
"spec": 2,
"semanticColors": {
"BACKGROUND_PRIMARY": ["#000000"],
"BACKGROUND_TERTIARY": ["#000000"],
"BACKGROUND_ACCENT": ["#08080A"],
"SPOILER_HIDDEN_BACKGROUND": ["#1E1F22"],
"SPOILER_REVEALED_BACKGROUND": ["#232428"]
"SPOILER_REVEALED_BACKGROUND": ["#232428"],
"BACKGROUND_MOBILE_PRIMARY": ["#000000"],
"BACKGROUND_SECONDARY_ALT": ["#000000"],
"ANDROID_NAVIGATION_BAR_BACKGROUND": ["#FF0000"]
},
"rawColors": {
"PRIMARY_560": "#08080A",
@ -20,7 +24,11 @@
"PRIMARY_630": "#000000",
"PRIMARY_660": "#08080A",
"PRIMARY_700": "#08080A",
"PRIMARY_800": "#08080A"
"PRIMARY_800": "#08080A",
"PLUM_17": "#000000",
"PLUM_18": "#08080A",
"PLUM_20": "#000000"
},
"plus": {
"version": "0",