feat(charts): voltage, colors, legends, and adaptive ui (#4383)

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich 2026-01-30 17:20:57 -06:00 committed by GitHub
parent 8941643f69
commit 9a8a31b298
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 1061 additions and 880 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2025 Meshtastic LLC
* Copyright (c) 2025-2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -14,7 +14,6 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package org.meshtastic.core.ui.theme
import androidx.compose.foundation.isSystemInDarkTheme
@ -51,13 +50,11 @@ object GraphColors {
val Purple = Color(0xFF9C27B0)
val Pink = Color(red = 255, green = 102, blue = 204)
val Orange = Color(0xFFFF8800)
val Green = Color.Green
val Red = Color.Red
val Blue = Color.Blue
val Yellow = Color.Yellow
val Magenta = Color.Magenta
val Cyan = Color.Cyan
val Gold = Color(0xFFFFD700)
val Cyan = Color(0xFF00BCD4)
val Red = Color(0xFFE91E63)
val Blue = Color(0xFF2196F3)
val Green = Color(0xFF4CAF50)
}
object StatusColors {