mirror of
https://github.com/skoelle/m5stack-dashboard.git
synced 2026-09-17 16:50:23 +00:00
25 lines
1.1 KiB
C++
25 lines
1.1 KiB
C++
#pragma once
|
|
#include <M5Stack.h>
|
|
|
|
// "iPhone Dark Mode" inspired theme: near-black background, white text,
|
|
// desaturated accent colors used sparingly.
|
|
|
|
namespace Theme {
|
|
constexpr uint16_t BG = 0x0000; // near-black background
|
|
constexpr uint16_t BG_CARD = 0x1082; // slightly lighter card background (dark gray)
|
|
constexpr uint16_t TEXT = 0xFFFF; // white
|
|
constexpr uint16_t TEXT_DIM = 0x8410; // light gray, secondary text
|
|
|
|
constexpr uint16_t ACCENT_WEATHER = 0x051D; // muted blue
|
|
constexpr uint16_t ACCENT_SUN = 0xFEA0; // warm yellow
|
|
constexpr uint16_t ACCENT_RAIN = 0x03BF; // muted cyan/blue
|
|
constexpr uint16_t ACCENT_CALENDAR= 0x7BEF; // muted lavender/gray
|
|
constexpr uint16_t ACCENT_UBAHN = 0x0410; // U-Bahn blue (muted)
|
|
constexpr uint16_t ACCENT_SBAHN = 0x0540; // S-Bahn green (muted)
|
|
constexpr uint16_t ACCENT_WARN = 0xFB00; // muted orange for delays/warnings
|
|
constexpr uint16_t ACCENT_ERROR = 0xF800; // red for errors/cancellations
|
|
|
|
constexpr int SCREEN_W = 320;
|
|
constexpr int SCREEN_H = 240;
|
|
}
|