mirror of
https://github.com/Keyitdev/sddm-astronaut-theme.git
synced 2026-09-24 02:22:09 +00:00
Major update: Improved scaling, added new scaling units, refactored font scaling, and changed how blur is calculated.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
// Config created by Keyitdev https://github.com/Keyitdev/sddm-astronaut-theme
|
||||
// Copyright (C) 2022-2026 Keyitdev
|
||||
// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html
|
||||
|
||||
import QtQuick
|
||||
import QtQuick.Effects
|
||||
|
||||
@@ -33,7 +37,7 @@ Item {
|
||||
id: circleMask
|
||||
|
||||
anchors.fill: avatarImage
|
||||
radius: config.ProfilePictureRoundedCorners || 0
|
||||
radius: rootScaleUnit * config.ProfilePictureRoundedCorners || 0
|
||||
visible: false
|
||||
layer.enabled: true
|
||||
}
|
||||
@@ -49,9 +53,9 @@ Item {
|
||||
id: ringBorder
|
||||
|
||||
anchors.fill: parent
|
||||
radius: config.ProfilePictureRoundedCorners || 0
|
||||
radius: rootScaleUnit * config.ProfilePictureRoundedCorners || 0
|
||||
color: "transparent"
|
||||
border.width: config.ProfilePictureBorderWidth || 2
|
||||
border.width: rootScaleUnit * config.ProfilePictureBorderWidth || 2
|
||||
border.color: config.ProfilePictureBorderColor
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user