feat(Core): introduce StatusBaseText component

Abstract text component that defaults to Status' `Inter` font.
Also known as `StyledText` in Status Desktop.

This will close #20 as it doesn't make sense to implement multiple
components for a single text type. Size and weight of text can be configured
on a per usage basis.

Closes #20
This commit is contained in:
Pascal Precht 2021-05-05 09:14:00 +02:00 committed by Pascal Precht
parent 1d05b8dce0
commit c7d533af02
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,6 @@
import QtQuick 2.13
import StatusQ.Core.Theme 0.1
Text {
font.family: Theme.palette.baseFont.name
}

View File

@ -1,4 +1,5 @@
module StatusQ.Core
StatusBaseText 0.1 StatusBaseText.qml
StatusIcon 0.1 StatusIcon.qml