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:
parent
ab91f8f269
commit
eac3896a5d
|
@ -0,0 +1,6 @@
|
|||
import QtQuick 2.13
|
||||
import StatusQ.Core.Theme 0.1
|
||||
|
||||
Text {
|
||||
font.family: Theme.palette.baseFont.name
|
||||
}
|
|
@ -1,4 +1,5 @@
|
|||
module StatusQ.Core
|
||||
|
||||
StatusBaseText 0.1 StatusBaseText.qml
|
||||
StatusIcon 0.1 StatusIcon.qml
|
||||
|
||||
|
|
Loading…
Reference in New Issue