Renamed all color names so they are shorter

This commit is contained in:
quadbyte 2025-08-14 19:52:03 -04:00
parent 9e51fdc932
commit 06f8f93f83
51 changed files with 423 additions and 440 deletions

View file

@ -32,15 +32,15 @@ Item {
text: "Current Wallpaper"
font.pointSize: Style.fontSizeXL * scaling
font.weight: Style.fontWeightBold
color: Colors.colorOnSurface
color: Colors.mOnSurface
}
Rectangle {
Layout.fillWidth: true
Layout.preferredHeight: 120 * scaling
radius: Style.radiusMedium * scaling
color: Colors.colorSurface
border.color: Colors.colorOutline
color: Colors.mSurface
border.color: Colors.mOutline
border.width: Math.max(1, Style.borderThin * scaling)
clip: true
@ -50,7 +50,7 @@ Item {
anchors.margins: Style.marginSmall * scaling
imagePath: Wallpapers.currentWallpaper
fallbackIcon: "image"
borderColor: Colors.colorOutline
borderColor: Colors.mOutline
borderWidth: Math.max(1, Style.borderThin * scaling)
imageRadius: Style.radiusMedium * scaling
}
@ -73,12 +73,12 @@ Item {
text: "Wallpaper Selector"
font.pointSize: Style.fontSizeXL * scaling
font.weight: Style.fontWeightBold
color: Colors.colorOnSurface
color: Colors.mOnSurface
}
NText {
text: "Click on a wallpaper to set it as your current wallpaper"
color: Colors.colorOnSurface
color: Colors.mOnSurface
wrapMode: Text.WordWrap
Layout.fillWidth: true
}
@ -86,7 +86,7 @@ Item {
NText {
text: Settings.data.wallpaper.swww.enabled ? "Wallpapers will change with " + Settings.data.wallpaper.swww.transitionType
+ " transition" : "Wallpapers will change instantly"
color: Colors.colorOnSurface
color: Colors.mOnSurface
font.pointSize: Style.fontSizeSmall * scaling
visible: Settings.data.wallpaper.swww.enabled
}
@ -147,8 +147,8 @@ Item {
width: wallpaperGridView.itemSize
height: Math.floor(wallpaperGridView.itemSize * 0.67)
radius: Style.radiusMedium * scaling
color: isSelected ? Colors.colorPrimary : Colors.colorSurface
border.color: isSelected ? Colors.colorSecondary : Colors.colorOutline
color: isSelected ? Colors.mPrimary : Colors.mSurface
border.color: isSelected ? Colors.mSecondary : Colors.mOutline
border.width: Math.max(1, Style.borderThin * scaling)
clip: true
@ -170,8 +170,8 @@ Item {
width: 20 * scaling
height: 20 * scaling
radius: width / 2
color: Colors.colorPrimary
border.color: Colors.colorOutline
color: Colors.mPrimary
border.color: Colors.mOutline
border.width: Math.max(1, Style.borderThin * scaling)
visible: isSelected
@ -180,14 +180,14 @@ Item {
text: "check"
font.family: "Material Symbols Outlined"
font.pointSize: Style.fontSizeSmall * scaling
color: Colors.colorOnPrimary
color: Colors.mOnPrimary
}
}
// Hover effect
Rectangle {
anchors.fill: parent
color: Colors.colorOnSurface
color: Colors.mOnSurface
opacity: mouseArea.containsMouse ? 0.1 : 0
radius: parent.radius
@ -213,9 +213,9 @@ Item {
// Empty state
Rectangle {
anchors.fill: parent
color: Colors.colorSurface
color: Colors.mSurface
radius: Style.radiusMedium * scaling
border.color: Colors.colorOutline
border.color: Colors.mOutline
border.width: Math.max(1, Style.borderThin * scaling)
visible: folderModel.count === 0 && !Wallpapers.scanning
@ -227,20 +227,20 @@ Item {
text: "folder_open"
font.family: "Material Symbols Outlined"
font.pointSize: Style.fontSizeLarge * scaling
color: Colors.colorOnSurface
color: Colors.mOnSurface
Layout.alignment: Qt.AlignHCenter
}
NText {
text: "No wallpapers found"
color: Colors.colorOnSurface
color: Colors.mOnSurface
font.weight: Style.fontWeightBold
Layout.alignment: Qt.AlignHCenter
}
NText {
text: "Make sure your wallpaper directory is configured and contains image files"
color: Colors.colorOnSurface
color: Colors.mOnSurface
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter
Layout.preferredWidth: 300 * scaling