From db0a295904cf54c03023a9f64b458cdcddf363c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Tue, 21 Mar 2023 17:33:20 +0800 Subject: Reorganise auth, primary button, and reuse --- imports/Eduport/Eduport.qml | 15 +++++++++++++++ imports/Eduport/qmldir | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 imports/Eduport/Eduport.qml create mode 100644 imports/Eduport/qmldir (limited to 'imports/Eduport') diff --git a/imports/Eduport/Eduport.qml b/imports/Eduport/Eduport.qml new file mode 100644 index 0000000..b966920 --- /dev/null +++ b/imports/Eduport/Eduport.qml @@ -0,0 +1,15 @@ +pragma Singleton +import QtQuick 2.15 + +QtObject { + readonly property real fontSizeLead: 18.75 + readonly property real fontSizeFormControl: 16 + readonly property real fontSizeFormText: 14 + + readonly property FontLoader heebo: FontLoader { + source: "../../Heebo/Heebo-Bold.ttf" + } + readonly property font hFont: Qt.font({ + family: heebo.name + }) +} diff --git a/imports/Eduport/qmldir b/imports/Eduport/qmldir new file mode 100644 index 0000000..4318031 --- /dev/null +++ b/imports/Eduport/qmldir @@ -0,0 +1,2 @@ +module Eduport +singleton Eduport 1.0 Eduport.qml -- cgit v1.2.3