From 4ef5f39f6d25dd3bd3cd6717bb2c365d8328b55b Mon Sep 17 00:00:00 2001 From: voidarc Date: Thu, 6 Aug 2026 17:44:10 +0100 Subject: [PATCH] added propo option to StyledText --- Components/StyledText.qml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Components/StyledText.qml b/Components/StyledText.qml index 4da4ce9..d20bbe7 100644 --- a/Components/StyledText.qml +++ b/Components/StyledText.qml @@ -2,12 +2,17 @@ import QtQuick import "../Color.js" as Colors Text { + id: root + + property double fontSize: 12 + property bool propo: false + color: Colors.base elide: Text.ElideRight font { - family: "FiraMono Nerd Font" - pointSize: 12 + family: root.propo == true ? "FiraMono Nerd Font Propo" : "FiraMono Nerd Font" + pointSize: fontSize weight: 800 } }