add typography
This commit is contained in:
parent
205ad37e3e
commit
7de7ae19bb
14 changed files with 77 additions and 189 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue