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 # Connections
- `BACKGROUND_TERTIARY` : Background guild list - **`v2`**`BACKGROUND_PRIMARY` : Background of tchat
- `BACKGROUND_ACCENT` : Background invitation button - **`v1`** `BACKGROUND_TERTIARY` : Background guild list
- `SPOILER_HIDDEN_BACKGROUND` : Spoiler when hidden - **`v1`** `BACKGROUND_ACCENT` : Background invitation button
- `SPOILER_REVEALED_BACKGROUND` : Spoiler when revealed - **`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) - **`v1`** `PRIMARY_600` : Background app (starting screen, tchat)
- `PRIMARY_630` : Background channel list - **`v2`** `PRIMARY_600` : Background starting screen
- `PRIMARY_660` : Background button aside of chatbox - **`v1`** `PRIMARY_630` : Background channel list
- `PRIMARY_700` : Background of chatbox - **`v1`** `PRIMARY_660` : Background button aside of chatbox
- `PRIMARY_800` : Backgroud of menubar and in profile - **`v1`** `PRIMARY_700` : Background of chatbox
- `PRIMARY_560` : Background of card in forums - **`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 utils](https://github.com/nexpid/VendettaThemeUtil) and
> [some documentation](https://docs.riichi.tech/objects/semantic-colors) > [some documentation](https://docs.riichi.tech/objects/semantic-colors)

View file

@ -9,10 +9,14 @@
], ],
"spec": 2, "spec": 2,
"semanticColors": { "semanticColors": {
"BACKGROUND_PRIMARY": ["#000000"],
"BACKGROUND_TERTIARY": ["#000000"], "BACKGROUND_TERTIARY": ["#000000"],
"BACKGROUND_ACCENT": ["#08080A"], "BACKGROUND_ACCENT": ["#08080A"],
"SPOILER_HIDDEN_BACKGROUND": ["#1E1F22"], "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": { "rawColors": {
"PRIMARY_560": "#08080A", "PRIMARY_560": "#08080A",
@ -20,7 +24,11 @@
"PRIMARY_630": "#000000", "PRIMARY_630": "#000000",
"PRIMARY_660": "#08080A", "PRIMARY_660": "#08080A",
"PRIMARY_700": "#08080A", "PRIMARY_700": "#08080A",
"PRIMARY_800": "#08080A" "PRIMARY_800": "#08080A",
"PLUM_17": "#000000",
"PLUM_18": "#08080A",
"PLUM_20": "#000000"
}, },
"plus": { "plus": {
"version": "0", "version": "0",