ORE Studio 0.0.4
Loading...
Searching...
No Matches
ColorConstants.hpp
1/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 *
3 * Copyright (C) 2024 Marco Craveiro <marco.craveiro@gmail.com>
4 *
5 * This program is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License as published by the Free Software
7 * Foundation; either version 3 of the License, or (at your option) any later
8 * version.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
13 * details.
14 *
15 * You should have received a copy of the GNU General Public License along with
16 * this program; if not, write to the Free Software Foundation, Inc., 51
17 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 *
19 */
20#ifndef ORES_QT_COLOR_CONSTANTS_HPP
21#define ORES_QT_COLOR_CONSTANTS_HPP
22
23#include <QColor>
24#include "ores.qt/export.hpp"
25
26namespace ores::qt {
27
41 static inline const QColor stale_indicator{255, 215, 0};
42
46 static inline const QColor icon_color{220, 220, 220};
47
54 static inline const QColor synthetic_indicator{100, 149, 237}; // Cornflower blue
55
59 static inline const QColor level_trace{107, 114, 128}; // Gray
60 static inline const QColor level_debug{59, 130, 246}; // Blue
61 static inline const QColor level_info{34, 197, 94}; // Green
62 static inline const QColor level_warn{234, 179, 8}; // Amber
63 static inline const QColor level_error{239, 68, 68}; // Red
64 static inline const QColor level_text{255, 255, 255}; // White text on badges
65
69 static inline const QColor active_session{34, 197, 94}; // Green (same as INFO)
70};
71
72}
73
74#endif
Qt-based graphical user interface for ORE Studio.
Definition AccountController.hpp:32
Centralized color constants for consistent UI styling.
Definition ColorConstants.hpp:34
static const QColor level_trace
Log level colors for telemetry viewer badges and filters.
Definition ColorConstants.hpp:59
static const QColor stale_indicator
Color for indicating stale/changed data that needs attention.
Definition ColorConstants.hpp:41
static const QColor icon_color
Standard icon color for toolbar icons in dark theme.
Definition ColorConstants.hpp:46
static const QColor synthetic_indicator
Color for indicating synthetic/generated data that hasn't been saved.
Definition ColorConstants.hpp:54
static const QColor active_session
Color for indicating active sessions in tree view.
Definition ColorConstants.hpp:69