80 lines
2.2 KiB
QML
80 lines
2.2 KiB
QML
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
*
|
|
* Copyright (C) 2013 - 2024, nymea GmbH
|
|
* Copyright (C) 2024 - 2025, chargebyte austria GmbH
|
|
*
|
|
* This file is part of nymea-app-energy-overlay.
|
|
*
|
|
* nymea-app-energy-overlay is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* nymea-app-energy-overlay is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
* for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with nymea-app-energy-overlay. If not, see <https://www.gnu.org/licenses/>.
|
|
*
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
|
pragma Singleton
|
|
import QtQuick
|
|
import "qrc:/ui"
|
|
|
|
StyleBase {
|
|
|
|
foregroundColor: darkGray
|
|
backgroundColor: "#ffffff"
|
|
tileBackgroundColor: "#08000000"
|
|
tileOverlayColor: "#10000000"
|
|
navBarForegroundColor: accentColor
|
|
generationBaseColor: accentColor
|
|
|
|
tooltipBackgroundColor: "#d3dce9"
|
|
|
|
accentColor: "#ff8200" //Style.orange
|
|
iconColor: darkGray
|
|
|
|
cornerRadius: 15
|
|
|
|
interfaceColors: {
|
|
"evcharger": "#6c877c"
|
|
}
|
|
|
|
// https://colorkit.co/palette/ed87ed-c75661-ff8200-f5f550-a6df5c-5ccd5c-455ca8-2f85e0-8db4fc-9da2f4/
|
|
red: "#E61E3C"
|
|
green: "#62B800"
|
|
blue: "#489EDE"
|
|
yellow: "#FFC800"
|
|
orange: "#FF8200"
|
|
darkGray: "#3C3C46"
|
|
gray: "#8C8C96"
|
|
|
|
lightBlue: "#8db4fc"
|
|
darkBlue: "#455ca8"
|
|
pink: "#ed87ed"
|
|
|
|
// lime: "#"
|
|
// turquoise: "#5ccd95"
|
|
// purple: "#955ccd"
|
|
// rose: "#cd5c95"
|
|
// darkGreen: "#5ccd5e"
|
|
|
|
|
|
// Note: Font files need to be provided in a "fonts" folder in the style
|
|
fontFamily: "open-sans"
|
|
|
|
// Customizations within the overlay
|
|
property color gradientStart: yellow
|
|
property color gradientStop: orange
|
|
|
|
property color rankingColor: orange
|
|
property color spotMarketChargingColor: green
|
|
property color userScheduleColor: red
|
|
}
|