2019-04-27 06:02:20 +10:00
|
|
|
pragma Singleton
|
|
|
|
import QtQuick 2.7
|
|
|
|
|
|
|
|
QtObject {
|
2019-04-29 01:01:38 +10:00
|
|
|
id: style
|
|
|
|
|
2019-05-18 05:41:52 +10:00
|
|
|
property int animationDuration: 100
|
2019-05-14 03:15:03 +10:00
|
|
|
|
2019-04-27 06:02:20 +10:00
|
|
|
readonly property QtObject fontSize: QtObject {
|
2019-04-28 14:44:55 +10:00
|
|
|
property int smallest: 6
|
|
|
|
property int smaller: 8
|
2019-07-05 17:27:32 +10:00
|
|
|
property int small: 13
|
2019-04-28 14:44:55 +10:00
|
|
|
property int normal: 16
|
|
|
|
property int big: 24
|
|
|
|
property int bigger: 32
|
|
|
|
property int biggest: 48
|
2019-04-27 06:02:20 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
readonly property QtObject fontFamily: QtObject {
|
2019-04-28 14:44:55 +10:00
|
|
|
property string sans: "SFNS Display"
|
|
|
|
property string serif: "Roboto Slab"
|
|
|
|
property string mono: "Hack"
|
|
|
|
}
|
|
|
|
|
2019-04-29 05:13:18 +10:00
|
|
|
property int radius: 5
|
|
|
|
|
2019-04-28 14:44:55 +10:00
|
|
|
readonly property QtObject colors: QtObject {
|
2019-07-03 13:48:36 +10:00
|
|
|
property color background0: Qt.hsla(0, 0, 0.9, 0.5)
|
|
|
|
property color background1: Qt.hsla(0, 0, 0.9, 0.7)
|
2019-04-29 01:01:38 +10:00
|
|
|
property color foreground: "black"
|
|
|
|
property color foregroundDim: Qt.hsla(0, 0, 0.2, 1)
|
|
|
|
property color foregroundError: Qt.hsla(0.95, 0.64, 0.32, 1)
|
2019-05-18 07:47:36 +10:00
|
|
|
property color textBorder: Qt.hsla(0, 0, 0, 0.07)
|
2019-04-28 14:44:55 +10:00
|
|
|
}
|
|
|
|
|
2019-04-29 05:13:18 +10:00
|
|
|
readonly property QtObject controls: QtObject {
|
|
|
|
readonly property QtObject button: QtObject {
|
|
|
|
property color background: colors.background1
|
|
|
|
}
|
|
|
|
|
|
|
|
readonly property QtObject textField: QtObject {
|
|
|
|
property color background: colors.background1
|
|
|
|
}
|
|
|
|
|
|
|
|
readonly property QtObject textArea: QtObject {
|
|
|
|
property color background: colors.background1
|
|
|
|
}
|
|
|
|
}
|
2019-04-29 01:01:38 +10:00
|
|
|
|
2019-04-28 14:44:55 +10:00
|
|
|
readonly property QtObject sidePane: QtObject {
|
2019-04-29 04:20:30 +10:00
|
|
|
property color background: colors.background1
|
2019-04-29 05:13:18 +10:00
|
|
|
|
|
|
|
readonly property QtObject settingsButton: QtObject {
|
|
|
|
property color background: colors.background1
|
|
|
|
}
|
|
|
|
|
|
|
|
readonly property QtObject filterRooms: QtObject {
|
|
|
|
property color background: colors.background1
|
|
|
|
}
|
2019-04-28 14:44:55 +10:00
|
|
|
}
|
|
|
|
|
2019-04-29 01:01:38 +10:00
|
|
|
readonly property QtObject chat: QtObject {
|
2019-05-12 07:51:00 +10:00
|
|
|
readonly property QtObject selectViewBar: QtObject {
|
|
|
|
property color background: colors.background1
|
|
|
|
}
|
|
|
|
|
2019-04-29 01:01:38 +10:00
|
|
|
readonly property QtObject roomHeader: QtObject {
|
2019-04-29 04:20:30 +10:00
|
|
|
property color background: colors.background1
|
2019-04-29 01:01:38 +10:00
|
|
|
}
|
|
|
|
|
2019-04-29 04:34:29 +10:00
|
|
|
readonly property QtObject roomEventList: QtObject {
|
2019-04-29 04:20:30 +10:00
|
|
|
property color background: "transparent"
|
2019-04-29 01:01:38 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
readonly property QtObject message: QtObject {
|
2019-04-29 04:20:30 +10:00
|
|
|
property color background: colors.background1
|
2019-04-29 01:01:38 +10:00
|
|
|
property color body: colors.foreground
|
|
|
|
property color date: colors.foregroundDim
|
|
|
|
}
|
|
|
|
|
|
|
|
readonly property QtObject event: QtObject {
|
2019-07-03 13:48:36 +10:00
|
|
|
property color background: Qt.darker(colors.background1, 1.1)
|
2019-04-29 01:01:38 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
readonly property QtObject daybreak: QtObject {
|
2019-04-29 04:20:30 +10:00
|
|
|
property color background: colors.background1
|
2019-04-29 01:01:38 +10:00
|
|
|
property color foreground: colors.foreground
|
|
|
|
property int radius: style.radius
|
|
|
|
}
|
|
|
|
|
|
|
|
readonly property QtObject inviteBanner: QtObject {
|
2019-04-29 04:20:30 +10:00
|
|
|
property color background: colors.background1
|
2019-04-29 01:01:38 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
readonly property QtObject leftBanner: QtObject {
|
2019-04-29 04:20:30 +10:00
|
|
|
property color background: colors.background1
|
|
|
|
}
|
|
|
|
|
2019-05-09 03:45:25 +10:00
|
|
|
readonly property QtObject unknownDevices: QtObject {
|
|
|
|
property color background: colors.background1
|
|
|
|
}
|
|
|
|
|
2019-05-12 05:52:56 +10:00
|
|
|
readonly property QtObject typingMembers: QtObject {
|
2019-04-29 01:01:38 +10:00
|
|
|
property color background: colors.background0
|
|
|
|
}
|
|
|
|
|
|
|
|
readonly property QtObject sendBox: QtObject {
|
2019-04-29 04:20:30 +10:00
|
|
|
property color background: colors.background1
|
2019-04-29 01:01:38 +10:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
readonly property QtObject box: QtObject {
|
2019-04-29 05:38:08 +10:00
|
|
|
property color background: colors.background0
|
2019-04-29 01:01:38 +10:00
|
|
|
property int radius: style.radius
|
|
|
|
}
|
|
|
|
|
|
|
|
readonly property QtObject avatar: QtObject {
|
2019-05-13 05:57:18 +10:00
|
|
|
property int size: 36
|
2019-04-29 01:01:38 +10:00
|
|
|
property int radius: style.radius
|
|
|
|
property color letter: "white"
|
|
|
|
|
|
|
|
readonly property QtObject background: QtObject {
|
|
|
|
property real saturation: 0.22
|
|
|
|
property real lightness: 0.5
|
|
|
|
property real alpha: 1
|
|
|
|
property color unknown: Qt.hsla(0, 0, 0.22, 1)
|
|
|
|
}
|
2019-04-28 14:44:55 +10:00
|
|
|
}
|
|
|
|
|
2019-04-29 01:01:38 +10:00
|
|
|
readonly property QtObject displayName: QtObject {
|
|
|
|
property real saturation: 0.32
|
|
|
|
property real lightness: 0.3
|
2019-04-27 06:02:20 +10:00
|
|
|
}
|
2019-05-13 05:57:18 +10:00
|
|
|
|
|
|
|
property int bottomElementsHeight: 32
|
2019-04-27 06:02:20 +10:00
|
|
|
}
|