1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

feat: allow toggling vibrant color for all charts

- supports new config key `app.vibrant_color` or env `WAKAPI_VIBRANT_COLOR`
- updates and extends `data/colors.json` with editor and os colors
- fixes #343
This commit is contained in:
bdeshi
2022-03-28 01:56:13 +06:00
parent 5aae18e241
commit f6cc489425
7 changed files with 306 additions and 125 deletions

View File

@ -7,7 +7,10 @@ type SummaryViewModel struct {
*models.SummaryParams
User *models.User
AvatarURL string
VibrantColor bool
EditorColors map[string]string
LanguageColors map[string]string
OSColors map[string]string
Error string
Success string
ApiKey string