mirror of https://github.com/status-im/StatusQ.git
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
1d05b8dce0
commit
c7d533af02
|
@ -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