Koala new design custom colors update#3559
Open
Brett-S-OWB wants to merge 12 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Aktualisiert das Koala-Theme gemäß neuem Design: zentrale Farbanpassungen über Quasar-Variablen, Entfernen von benutzerdefinierten Farben für bestimmte Komponenten (EVU/PV/Speicher) sowie UI-Anpassungen im Energieflussdiagramm (Textfarben, Clip-Path, Spaltenabstände, Schriftart).
Changes:
- Entfernt Battery-/PV-Farb-APIs aus dem MQTT-Store und passt abhängige Charts auf Theme-Variablen um.
- Aktualisiert Quasar Theme-Variablen (inkl. neuer
--q-vehicle-fill) und reduziert Tint-Intensität. - Überarbeitet Energieflussdiagramm (responsive Breite/Spaltenabstände, Clip-Path für Textanimation, Roboto, dynamische Textfarbe passend zum Symbol).
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/modules/web_themes/koala/source/src/stores/mqtt-store.ts | Entfernt PV-/Battery-Farb-Exports (Aggregate/Custom) aus Store-API. |
| packages/modules/web_themes/koala/source/src/css/quasar.variables.scss | Neue Design-Farben, ergänzt --q-vehicle-fill, Anpassung Tint-Amount. |
| packages/modules/web_themes/koala/source/src/components/charts/historyChart/HistoryChart.vue | Nutzt Theme-Farben statt Store-Aggregate-Farben für Grid/PV/Battery. |
| packages/modules/web_themes/koala/source/src/components/charts/energyFlowChart/EnergyFlowChart.vue | Responsive Chartbreite, neuer Clip-Path, Textfarbe an Symbolfarbe, Roboto, Iconfarben angepasst. |
| packages/modules/web_themes/koala/source/src/components/charts/energyFlowChart/energy-flow-chart-models.ts | ComponentClass: ersetzt valueLabel durch optionales valueLabelColor. |
| packages/modules/web_themes/koala/source/src/components/charts/dailyTotals/DailyTotalsRow.vue | Entfernt feste Icon-Farbe aus CSS (Farbe kommt per Inline-Style). |
| packages/modules/web_themes/koala/source/src/components/charts/dailyTotals/DailyTotals.vue | Setzt mehrere Komponentenfarben auf Theme-Variablen, entfernt Grid-ID-Farbableitung. |
| packages/modules/web_themes/koala/source/src/components/BatteryCard.vue | Entfernt Styling für benutzerdefinierte Battery-Farbe (Border-left). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
262
to
267
| today: { | ||
| imported: mqttStore.counterDailyImported('textValue', id) as string, | ||
| exported: mqttStore.counterDailyExported('textValue', id) as string, | ||
| }, | ||
| color: mqttStore.gridComponentColor(id) || undefined, | ||
| color: 'var(--q-secondary-counter-stroke)', | ||
| }); |
Contributor
Author
There was a problem hiding this comment.
Geändert, Benutzerdefinierte Farben sind jetzt für sekundäre Zähler verfügbar
Comment on lines
4176
to
4182
| batteryDailyImportedTotal, | ||
| batteryDailyExportedTotal, | ||
| batteryTotalPower, | ||
| batteryChargePriorityRange, | ||
| batteryMode, | ||
| batteryAggregateColor, | ||
| batteryColor, | ||
| // Grid data | ||
| gridId, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Farben gemäß dem neuen Design aktualisiert
Benutzerdefinierte Farben für EVU, PV und Speicher entfernt
Textfarbe im Energieflussdiagramm an die jeweilige Symbolfarbe angepasst
Clip-Path für die Textanimation angepasst, sodass der Text bei der Animation von Ladepunkt und Fahrzeug korrekt ausgeblendet wird
Spaltenabstände im Energieflussdiagramm für größere Bildschirme vergrößert
Schriftart im Energieflussdiagramm aktualisiert