feat: add basic typography components
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
import QtQuick
|
||||||
|
import QtQuick.Controls.Basic
|
||||||
|
|
||||||
|
Text {
|
||||||
|
color: Theme.caption
|
||||||
|
font.family: Fonts.dotrice
|
||||||
|
font.bold: true
|
||||||
|
font.capitalization: Font.AllUppercase
|
||||||
|
font.pointSize: 10
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
import QtQuick
|
||||||
|
import QtQuick.Controls.Basic
|
||||||
|
|
||||||
|
Text {
|
||||||
|
color: Theme.primaryText
|
||||||
|
font.family: Fonts.plusJakartaSans
|
||||||
|
font.bold: false
|
||||||
|
font.pointSize: 20
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
import QtQuick
|
||||||
|
import QtQuick.Controls.Basic
|
||||||
|
|
||||||
|
Text {
|
||||||
|
color: Theme.secondaryText
|
||||||
|
font.family: Fonts.plusJakartaSans
|
||||||
|
font.bold: false
|
||||||
|
font.pointSize: 12
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
import QtQuick
|
||||||
|
import QtQuick.Controls.Basic
|
||||||
|
|
||||||
|
Text {
|
||||||
|
color: Theme.secondaryText
|
||||||
|
font.family: Fonts.plusJakartaSans
|
||||||
|
font.bold: false
|
||||||
|
font.pointSize: 15
|
||||||
|
}
|
||||||
@@ -14,6 +14,10 @@ set(plain_qml_files
|
|||||||
AppIcon.qml
|
AppIcon.qml
|
||||||
AppPrimaryButton.qml
|
AppPrimaryButton.qml
|
||||||
AppCard.qml
|
AppCard.qml
|
||||||
|
AppCaption.qml
|
||||||
|
AppHeadline.qml
|
||||||
|
AppSubHeadline.qml
|
||||||
|
AppLabel.qml
|
||||||
)
|
)
|
||||||
set(qml_singletons
|
set(qml_singletons
|
||||||
Fonts.qml
|
Fonts.qml
|
||||||
|
|||||||
Reference in New Issue
Block a user