From 0066dfc2e8586e4595ea49edaddeaa6acb4d8833 Mon Sep 17 00:00:00 2001 From: Dale Glass Date: Sun, 7 Aug 2022 18:20:06 +0200 Subject: [PATCH] Add missing qml files --- .../qml/stylesUit/FiraSansMedium.qml | 21 +++++++++++++++++++ .../qml/stylesUit/FiraSansRegular.qml | 8 +++---- .../qml/stylesUit/FiraSansSemiBold.qml | 11 +++++----- 3 files changed, 31 insertions(+), 9 deletions(-) create mode 100644 interface/resources/qml/stylesUit/FiraSansMedium.qml diff --git a/interface/resources/qml/stylesUit/FiraSansMedium.qml b/interface/resources/qml/stylesUit/FiraSansMedium.qml new file mode 100644 index 0000000000..a7550f300a --- /dev/null +++ b/interface/resources/qml/stylesUit/FiraSansMedium.qml @@ -0,0 +1,21 @@ +// +// FiraSansMedium.qml +// +// Created by Dale Glass on 7 Aug 2022 +// Copyright 2022 Overte e.V. +// +// Distributed under the Apache License, Version 2.0. +// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html +// + +import QtQuick 2.7 + +Text { + id: root + property real size: 32 + font.pixelSize: size + verticalAlignment: Text.AlignVCenter + horizontalAlignment: Text.AlignLeft + font.family: "Fira Sans" + font.weight: Font.Medium +} diff --git a/interface/resources/qml/stylesUit/FiraSansRegular.qml b/interface/resources/qml/stylesUit/FiraSansRegular.qml index 05f6ecf74b..7e3005811f 100644 --- a/interface/resources/qml/stylesUit/FiraSansRegular.qml +++ b/interface/resources/qml/stylesUit/FiraSansRegular.qml @@ -1,14 +1,14 @@ // -// FiraSansRegular.qml +// FiraSansMedium.qml // -// Created by David Rowe on 12 May 2016 -// Copyright 2016 High Fidelity, Inc. +// Created by Dale Glass on 7 Aug 2022 +// Copyright 2022 Overte e.V. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // -import QtQuick 2.5 +import QtQuick 2.7 Text { id: root diff --git a/interface/resources/qml/stylesUit/FiraSansSemiBold.qml b/interface/resources/qml/stylesUit/FiraSansSemiBold.qml index 32554c2f25..9663b12c7b 100644 --- a/interface/resources/qml/stylesUit/FiraSansSemiBold.qml +++ b/interface/resources/qml/stylesUit/FiraSansSemiBold.qml @@ -1,14 +1,14 @@ // -// FiraSansSemiBold.qml +// FiraSansMedium.qml // -// Created by David Rowe on 12 Feb 2016 -// Copyright 2016 High Fidelity, Inc. +// Created by Dale Glass on 7 Aug 2022 +// Copyright 2022 Overte e.V. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // -import QtQuick 2.5 +import QtQuick 2.7 Text { id: root @@ -16,5 +16,6 @@ Text { font.pixelSize: size verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignLeft - font.family: "Fira Sans SemiBold" + font.family: "Fira Sans" + font.weight: Font.DemiBold }