Add slight text shadow for HLabel

This commit is contained in:
miruka 2019-05-17 17:47:36 -04:00
parent 0b85252dd6
commit f530f51937
2 changed files with 5 additions and 0 deletions

View File

@ -4,4 +4,8 @@ Label {
font.family: HStyle.fontFamily.sans font.family: HStyle.fontFamily.sans
font.pixelSize: HStyle.fontSize.normal font.pixelSize: HStyle.fontSize.normal
textFormat: Label.PlainText textFormat: Label.PlainText
color: HStyle.colors.foreground
style: Label.Outline
styleColor: HStyle.colors.textBorder
} }

View File

@ -30,6 +30,7 @@ QtObject {
property color foreground: "black" property color foreground: "black"
property color foregroundDim: Qt.hsla(0, 0, 0.2, 1) property color foregroundDim: Qt.hsla(0, 0, 0.2, 1)
property color foregroundError: Qt.hsla(0.95, 0.64, 0.32, 1) property color foregroundError: Qt.hsla(0.95, 0.64, 0.32, 1)
property color textBorder: Qt.hsla(0, 0, 0, 0.07)
} }
readonly property QtObject controls: QtObject { readonly property QtObject controls: QtObject {