ColorSchemeTab: better presentation

This commit is contained in:
LemmyCook 2025-08-28 08:25:43 -04:00
parent a6d722f9a9
commit eadcb3f22b
2 changed files with 23 additions and 19 deletions

View file

@ -64,10 +64,10 @@ ColumnLayout {
// Matugen exists, enable it // Matugen exists, enable it
Settings.data.colorSchemes.useWallpaperColors = true Settings.data.colorSchemes.useWallpaperColors = true
ColorSchemeService.changedWallpaper() ColorSchemeService.changedWallpaper()
ToastService.showNotice("Matugen", "Enabled!") ToastService.showNotice("Matugen", "Enabled")
} else { } else {
// Matugen not found // Matugen not found
ToastService.showWarning("Matugen", "Not installed!") ToastService.showWarning("Matugen", "Not installed")
} }
} }
@ -343,22 +343,26 @@ ColumnLayout {
Layout.fillWidth: true Layout.fillWidth: true
visible: Settings.data.colorSchemes.useWallpaperColors visible: Settings.data.colorSchemes.useWallpaperColors
NText { ColumnLayout {
text: "Matugen Templates" spacing: Style.marginS * scaling
font.pointSize: Style.fontSizeXXL * scaling Layout.fillWidth: true
font.weight: Style.fontWeightBold
color: Color.mSecondary NText {
// Match spacing with the section above (no extra bottom margin) text: "Matugen Templates"
Layout.bottomMargin: 0 font.pointSize: Style.fontSizeXXL * scaling
} font.weight: Style.fontWeightBold
color: Color.mSecondary
}
NText {
text: "Select which external components Matugen should apply theming to."
font.pointSize: Style.fontSizeM * scaling
color: Color.mOnSurfaceVariant
Layout.fillWidth: true
wrapMode: Text.WordWrap
}
}
NText {
text: "Choose which external components should be themed by Matugen."
font.pointSize: Style.fontSizeM * scaling
color: Color.mOnSurfaceVariant
Layout.fillWidth: true
wrapMode: Text.WordWrap
}
NCheckbox { NCheckbox {
label: "GTK 4 (libadwaita)" label: "GTK 4 (libadwaita)"

View file

@ -20,10 +20,10 @@ ColumnLayout {
// SWWW exists, enable it // SWWW exists, enable it
Settings.data.wallpaper.swww.enabled = true Settings.data.wallpaper.swww.enabled = true
WallpaperService.startSWWWDaemon() WallpaperService.startSWWWDaemon()
ToastService.showNotice("SWWW", "Enabled!") ToastService.showNotice("Swww", "Enabled")
} else { } else {
// SWWW not found // SWWW not found
ToastService.showWarning("SWWW", "Not installed!") ToastService.showWarning("Swww", "Not installed")
} }
} }