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

@@ -209,7 +209,10 @@
{{ template "foot.tpl.html" . }}
<script>
const vibrantColor = {{ .VibrantColor }}
const editorColors = {{ .EditorColors | json }}
const languageColors = {{ .LanguageColors | json }}
const osColors = {{ .OSColors | json }}
const wakapiData = {}
wakapiData.projects = {{ .Projects | json }}
@@ -228,4 +231,4 @@
</body>
</html>
</html>