1pragma Singleton 2import QtQuick 2.7 3 4QtObject { 5 // Master color definitions 6 readonly property color gray: "#333" 7 readonly property color black: "#111" 8 readonly property color white: "#aaa" 9 readonly property color accent: "#60a" 10 11 // These colors are for the main UI background 12 readonly property color mainBackgroundColor: gray 13 readonly property color mainTextColor: white 14 readonly property color mainTextHighlightColor: Qt.lighter(mainTextColor, 1.5) 15 readonly property color mainLineColor: white 16 17 // These colors are for the tiles 18 readonly property color tileBackgroundColor: black 19 readonly property color tileBackgroundHighlightColor: Qt.darker(accent, 3) 20 readonly property color tileTextColor: Qt.lighter(white, 1.5) 21 readonly property color tileLineColor: Qt.darker(white, 1.5) 22 readonly property color tileLineHighlightColor: Qt.lighter(white, 1.5) 23 24 // Colors for the editor 25 readonly property color editorBackgroundColor: tileBackgroundColor 26 readonly property color editorTextColor: tileTextColor 27 readonly property color editorLineColor: tileLineColor 28 29 // Colors for UI elements 30 readonly property color sliderKnobColor: gray 31 readonly property color sliderTrackColor: black 32 readonly property color sliderFillColor: accent 33 34 // Indicators 35 readonly property color ballColor: accent 36 readonly property color spectrumColor: accent 37 readonly property color waveformColor: accent 38 readonly property color dropTargetColor: Qt.lighter(accent, 2) 39} 40