Files
Telemetrix/ui/palette.slint

55 lines
1.5 KiB
Plaintext

// Copyright (C) 2026 Hector van der Aa <hector@h3cx.dev>
// Copyright (C) 2026 Association Exergie <association.exergie@gmail.com>
// SPDX-License-Identifier: GPL-3.0-or-later
export global Palette {
// ---------- BRAND ----------
in property <color> brand: #f67a00;
in property <color> brand-soft: #ff9a33;
in property <color> brand-dim: #c85f00;
// ---------- BACKGROUND LAYERS ----------
// application root
in property <color> bg-main: #0f1115;
// window surfaces
in property <color> bg-secondary: #1a1d23;
// panels / cards
in property <color> bg-panel: #20242b;
// hover states
in property <color> bg-hover: #2a2f36;
// pressed states
in property <color> bg-active: #313742;
// ---------- TEXT ----------
in property <color> text-primary: #ffffff;
in property <color> text-secondary: #a0a7b4;
in property <color> text-dim: #6b7280;
in property <color> text-muted: #4b5563;
// ---------- STATES ----------
in property <color> success: #22c55e;
in property <color> warning: #f59e0b;
in property <color> error: #ef4444;
in property <color> info: #38bdf8;
// ---------- BORDERS ----------
// subtle separators
in property <color> border-subtle: #22262d;
// default component border
in property <color> border: #2f3540;
// strong window border
in property <color> border-strong: #404754;
// focus ring
in property <color> border-focus: #f67a00;
// divider lines
in property <color> border-divider: #3a404c;
}