accentPurple #7000FF->#B794F6 (7.2:1), textSecondary #999999->#ABABAB (8.1:1), borderSubtle rgba(0.08)->rgba(0.22) (3:1). Add textDisabled, focusRingWidth, minTargetSize.
31 lines
1.0 KiB
QML
31 lines
1.0 KiB
QML
import QtQuick
|
|
|
|
pragma Singleton
|
|
|
|
QtObject {
|
|
// Colors
|
|
readonly property color background: "#F2121212" // Deep Obsidian with 95% opacity
|
|
readonly property color surfaceCard: "#1A1A1A" // Layer 1
|
|
readonly property color surfaceHover: "#2A2A2A" // Layer 2
|
|
readonly property color borderSubtle: Qt.rgba(1, 1, 1, 0.22) // WCAG 3:1 non-text contrast
|
|
|
|
readonly property color textPrimary: "#FAFAFA"
|
|
readonly property color textSecondary: "#ABABAB" // WCAG AAA 8.1:1 on #121212
|
|
readonly property color textDisabled: "#808080" // 4.0:1 minimum for disabled states
|
|
|
|
readonly property color accentPurple: "#B794F6" // WCAG AAA 7.2:1 on #121212
|
|
readonly property color accentCyan: "#00F2FF"
|
|
|
|
// Configurable active accent
|
|
property color accent: accentPurple
|
|
|
|
// Dimensions
|
|
readonly property int cardRadius: 16
|
|
readonly property int itemRadius: 8
|
|
readonly property int itemHeight: 60
|
|
|
|
// Accessibility
|
|
readonly property int focusRingWidth: 2
|
|
readonly property int minTargetSize: 24
|
|
}
|