From 627ae4d79728168f39286163f98fbfb6e3170b2b Mon Sep 17 00:00:00 2001 From: big boy <46307379+blu3mangroup@users.noreply.github.com> Date: Wed, 4 Oct 2023 14:58:59 +0100 Subject: [PATCH 01/22] light mode, theme mixin created --- src/App.vue | 11 +- src/components/TheConnectingDialog.vue | 4 +- src/components/TheEditor.vue | 2 +- src/components/TheSidebar.vue | 23 ++- .../TheTimelapseRenderingSnackbar.vue | 4 +- src/components/TheTopbar.vue | 2 +- src/components/TheUpdateDialog.vue | 2 +- .../charts/HistoryAllPrintStatusChart.vue | 60 ++++--- .../charts/HistoryFilamentUsage.vue | 157 +++++++++--------- src/components/charts/HistoryPrinttimeAvg.vue | 129 +++++++------- src/components/charts/TempChart.vue | 26 +-- src/components/gcodeviewer/Viewer.vue | 4 +- src/components/mixins/theme.ts | 34 ++++ .../panels/Machine/ConfigFilesPanel.vue | 13 +- src/components/panels/StatusPanel.vue | 2 +- .../settings/SettingsUiSettingsTab.vue | 27 +++ src/locales/en.json | 4 + src/pages/Heightmap.vue | 38 ++--- src/store/gui/index.ts | 3 +- src/store/gui/types.ts | 1 + src/store/printer/getters.ts | 1 + src/store/server/history/getters.ts | 9 - src/store/server/history/types.ts | 3 - src/store/variables.ts | 1 + 24 files changed, 319 insertions(+), 241 deletions(-) create mode 100644 src/components/mixins/theme.ts diff --git a/src/App.vue b/src/App.vue index 29a4a2b71..a7e0aba90 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,5 @@