From f530f51937db77d9ea9d5494928532a53d44fa5b Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 17 May 2019 17:47:36 -0400 Subject: [PATCH] Add slight text shadow for HLabel --- harmonyqml/components/Base/HLabel.qml | 4 ++++ harmonyqml/components/Base/HStyle.qml | 1 + 2 files changed, 5 insertions(+) diff --git a/harmonyqml/components/Base/HLabel.qml b/harmonyqml/components/Base/HLabel.qml index 66c83e89..a264ad24 100644 --- a/harmonyqml/components/Base/HLabel.qml +++ b/harmonyqml/components/Base/HLabel.qml @@ -4,4 +4,8 @@ Label { font.family: HStyle.fontFamily.sans font.pixelSize: HStyle.fontSize.normal textFormat: Label.PlainText + + color: HStyle.colors.foreground + style: Label.Outline + styleColor: HStyle.colors.textBorder } diff --git a/harmonyqml/components/Base/HStyle.qml b/harmonyqml/components/Base/HStyle.qml index 8cf4d6ef..293a3948 100644 --- a/harmonyqml/components/Base/HStyle.qml +++ b/harmonyqml/components/Base/HStyle.qml @@ -30,6 +30,7 @@ QtObject { 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) + property color textBorder: Qt.hsla(0, 0, 0, 0.07) } readonly property QtObject controls: QtObject {