move config to terminalGenerationProps

This commit is contained in:
cupcat121 2025-09-08 18:46:52 +08:00
parent 0d567ea5dc
commit 22918e4b4a
No known key found for this signature in database
GPG key ID: 083342F815A5B97D
2 changed files with 15 additions and 0 deletions

View file

@ -95,6 +95,7 @@ Singleton {
property real harmony: 0.8
property real harmonizeThreshold: 100
property real termFgBoost: 0.35
property bool forceDarkMode: false
}
}
property JsonObject palette: JsonObject {

View file

@ -41,6 +41,20 @@ ContentPage {
content: Translation.tr("Shell & utilities theming must also be enabled")
}
}
ConfigRow {
uniform: true
ConfigSwitch {
buttonIcon: "dark_mode"
text: Translation.tr("Force dark mode in terminal")
checked: Config.options.appearance.wallpaperTheming.terminalGenerationProps.forceDarkMode
onCheckedChanged: {
Config.options.appearance.wallpaperTheming.terminalGenerationProps.forceDarkMode= checked;
}
StyledToolTip {
content: Translation.tr("Ignored if terminal theming is not enabled")
}
}
}
ConfigSpinBox {
icon: "invert_colors"