74 lines
3.5 KiB
QML
74 lines
3.5 KiB
QML
import QtQuick
|
|
|
|
QtObject {
|
|
readonly property color textColor: "#ffffff"
|
|
readonly property color labelColor: "#d4b94a"
|
|
readonly property color panelBg: "#b80d0d0d"
|
|
readonly property color fieldBg: "#80000000"
|
|
readonly property color fieldBorder: "#ffd60a"
|
|
readonly property color buttonBg: "#ffd60a"
|
|
readonly property color buttonText: "#000000"
|
|
|
|
// ── glass ───────────────────────────────────────────────────────────
|
|
|
|
// Same look as the workspace manager. See Glass.qml.
|
|
readonly property color glassRimTop: "#8cffffff"
|
|
readonly property color glassRimBottom: "#14ffffff"
|
|
readonly property color glassShine: "#29ffffff"
|
|
readonly property color glassSelectedTint: "#66332b00"
|
|
readonly property color glassSelectedRimBottom: "#80ffd60a"
|
|
readonly property color glassShadow: "#59000000"
|
|
readonly property real glassShadowBlur: 24
|
|
readonly property real glassShadowOffset: 8
|
|
|
|
readonly property real cornerRadius: 10
|
|
|
|
// ── badge ───────────────────────────────────────────────────────────
|
|
|
|
// Color of a workspace that has not been given one yet.
|
|
readonly property color defaultColor: "#0a0a0a"
|
|
// Opacity of the workspace color behind the badge, 0 to 1, for
|
|
// workspaces that have none saved. It can be changed in the editor.
|
|
readonly property real badgeOpacity: 0.8
|
|
// Badge text on dark and on light workspace colors.
|
|
readonly property color badgeTextOnDark: "#ffd60a"
|
|
readonly property color badgeTextOnLight: "#000000"
|
|
readonly property real badgeHeight: 34
|
|
// Round top corner on the side facing into the screen.
|
|
readonly property real badgeRadius: 14
|
|
// Size of the curves where the badge runs into the screen edges.
|
|
readonly property real badgeFlare: 12
|
|
// Space between the badge and the screen edges. 0 sits it in the corner.
|
|
readonly property real badgeMargin: 0
|
|
readonly property real badgePadding: 12
|
|
readonly property real badgeFontSize: 14
|
|
// Longer names are cut off with "…".
|
|
readonly property real badgeMaxNameWidth: 220
|
|
|
|
// ── editor ──────────────────────────────────────────────────────────
|
|
|
|
// The editor sits in the middle of the screen, at most this wide.
|
|
readonly property real popupMaxWidth: 400
|
|
// Space between the two editor boxes.
|
|
readonly property real popupGap: 10
|
|
// Smallest space between the editor and the screen edges.
|
|
readonly property real popupMargin: 10
|
|
readonly property real popupPadding: 14
|
|
readonly property real popupSpacing: 10
|
|
readonly property real labelSize: 13
|
|
readonly property real fontSize: 15
|
|
readonly property real fieldHeight: 34
|
|
readonly property real fieldPadding: 10
|
|
readonly property real buttonWidth: 56
|
|
|
|
readonly property real swatchSize: 26
|
|
readonly property real swatchSpacing: 8
|
|
readonly property int swatchColumns: 8
|
|
readonly property real hueHeight: 18
|
|
|
|
readonly property list<color> swatches: [
|
|
"#fff3b0", "#ffe066", "#ffd60a", "#f5c518", "#ffb703", "#e0a800", "#c99700", "#ff9f1c",
|
|
"#000000", "#1c1c1c", "#2e2e2e", "#4a4a4a", "#e8e8e8", "#db4b4b", "#4fa84a", "#4a90e2"
|
|
]
|
|
}
|