add typography

This commit is contained in:
Benjamin Palko 2025-09-05 22:41:21 -04:00
parent 205ad37e3e
commit 7de7ae19bb
14 changed files with 77 additions and 189 deletions

View file

@ -21,7 +21,7 @@ Loader {
id: text
Layout.alignment: Qt.AlignHCenter
text: `${root.player.trackTitle} - ${root.player.trackArtist}`
font.pixelSize: Dimensions.mpris.fontSize
font.pixelSize: Styling.typography.textSize.base
}
RowLayout {
@ -57,7 +57,7 @@ Loader {
}
return `${formatTime(root.player.position / 60)}:${formatTime(root.player.position % 60)} - ${formatTime(root.player.length / 60)}:${formatTime(root.player.length % 60)}`;
}
font.pixelSize: Dimensions.mpris.fontSize
font.pixelSize: Styling.typography.textSize.sm
}
StyledSlider {

View file

@ -10,7 +10,7 @@ RoundButton {
property int rotation: 0
font.family: Styling.lucide.font.family
font.pixelSize: 19
font.pixelSize: 16
radius: 8
padding: 8

View file

@ -2,7 +2,8 @@ import qs.config
import QtQuick
Text {
font.family: Theme.fontFamily
font.family: Styling.typography.fontFamily
font.pixelSize: Styling.typography.textSize.base
color: Styling.theme.basecontent
Behavior on color {
ColorAnimation {