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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user