diff --git a/lookandfeel/contents/components/ActionButton.qml b/lookandfeel/contents/components/ActionButton.qml --- a/lookandfeel/contents/components/ActionButton.qml +++ b/lookandfeel/contents/components/ActionButton.qml @@ -79,7 +79,7 @@ PlasmaComponents.Label { id: label - font.pointSize: theme.defaultFont.pointSize + 1 + font.pointSize: config.LoginFieldFontSize || theme.defaultFont.pointSize + 1 anchors { top: icon.bottom topMargin: (softwareRendering ? 1.5 : 1) * units.smallSpacing diff --git a/lookandfeel/contents/components/SessionManagementScreen.qml b/lookandfeel/contents/components/SessionManagementScreen.qml --- a/lookandfeel/contents/components/SessionManagementScreen.qml +++ b/lookandfeel/contents/components/SessionManagementScreen.qml @@ -85,6 +85,7 @@ anchors.bottom: parent.bottom PlasmaComponents.Label { id: notificationsLabel + font.pointSize: config.LoginFieldFontSize || theme.defaultFont.pointSize + 1 Layout.maximumWidth: units.gridUnit * 16 Layout.alignment: Qt.AlignHCenter Layout.fillWidth: true diff --git a/lookandfeel/contents/components/UserDelegate.qml b/lookandfeel/contents/components/UserDelegate.qml --- a/lookandfeel/contents/components/UserDelegate.qml +++ b/lookandfeel/contents/components/UserDelegate.qml @@ -159,7 +159,7 @@ PlasmaComponents.Label { id: usernameDelegate - font.pointSize: theme.defaultFont.pointSize + 2 + font.pointSize: config.LoginNameSize || theme.defaultFont.pointSize + 2 anchors { bottom: parent.bottom horizontalCenter: parent.horizontalCenter diff --git a/lookandfeel/contents/lockscreen/LockScreenUi.qml b/lookandfeel/contents/lockscreen/LockScreenUi.qml --- a/lookandfeel/contents/lockscreen/LockScreenUi.qml +++ b/lookandfeel/contents/lockscreen/LockScreenUi.qml @@ -417,6 +417,7 @@ PlasmaComponents.Button { Layout.fillWidth: true + font.pointSize: theme.defaultFont.pointSize + 1 // the magic "-1" vtNumber indicates the "New Session" entry text: userListCurrentModelData.vtNumber === -1 ? i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Start New Session") : i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Switch Session") onClicked: initSwitchSession() diff --git a/lookandfeel/contents/lockscreen/MediaControls.qml b/lookandfeel/contents/lockscreen/MediaControls.qml --- a/lookandfeel/contents/lockscreen/MediaControls.qml +++ b/lookandfeel/contents/lockscreen/MediaControls.qml @@ -114,16 +114,16 @@ PlasmaExtras.Heading { Layout.fillWidth: true - level: 4 + level: 3 wrapMode: Text.NoWrap elide: Text.ElideRight text: mpris2Source.track || i18n("No media playing") textFormat: Text.PlainText } PlasmaExtras.Heading { Layout.fillWidth: true - level: 5 + level: 4 wrapMode: Text.NoWrap elide: Text.ElideRight // if no artist is given, show player name instead diff --git a/sddm-theme/KeyboardButton.qml b/sddm-theme/KeyboardButton.qml --- a/sddm-theme/KeyboardButton.qml +++ b/sddm-theme/KeyboardButton.qml @@ -12,6 +12,7 @@ text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Keyboard Layout: %1", instantiator.objectAt(currentIndex).shortName) implicitWidth: minimumWidth + font.pointSize: config.LoginButtonFontSize visible: menu.items.length > 1 diff --git a/sddm-theme/Login.qml b/sddm-theme/Login.qml --- a/sddm-theme/Login.qml +++ b/sddm-theme/Login.qml @@ -44,7 +44,7 @@ PlasmaComponents.TextField { id: userNameInput - font.pointSize: theme.defaultFont.pointSize + 1 + font.pointSize: config.LoginFieldFontSize Layout.fillWidth: true text: lastUserName @@ -63,7 +63,7 @@ PlasmaComponents.TextField { id: passwordBox - font.pointSize: theme.defaultFont.pointSize + 1 + font.pointSize: config.LoginFieldFontSize Layout.fillWidth: true placeholderText: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Password") diff --git a/sddm-theme/SessionButton.qml b/sddm-theme/SessionButton.qml --- a/sddm-theme/SessionButton.qml +++ b/sddm-theme/SessionButton.qml @@ -34,6 +34,8 @@ text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Desktop Session: %1", instantiator.objectAt(currentIndex).text || "") + font.pointSize: config.LoginButtonFontSize + Component.onCompleted: { currentIndex = sessionModel.lastIndex } diff --git a/sddm-theme/theme.conf.cmake b/sddm-theme/theme.conf.cmake --- a/sddm-theme/theme.conf.cmake +++ b/sddm-theme/theme.conf.cmake @@ -1,4 +1,7 @@ [General] type=image color=#1d99f3 +LoginNameSize=12 +LoginFieldFontSize=11 +LoginButtonFontSize=10 background=${CMAKE_INSTALL_PREFIX}/${WALLPAPER_INSTALL_DIR}/Next/contents/images/3200x2000.png