1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-29 16:02:51 -05:00

theme: Tweaks to Auto Color Mode

This commit is contained in:
purian23
2026-01-24 20:43:45 -05:00
parent 028d3b4e61
commit 80025804ab

View File

@@ -1171,7 +1171,7 @@ Item {
} }
StyledText { StyledText {
text: I18n.tr("Light mode will be active from Light Start to Dark Start") text: SessionData.isLightMode ? I18n.tr("Light mode will be active from Light Start to Dark Start") : I18n.tr("Dark mode will be active from Dark Start to Light Start")
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText color: Theme.surfaceVariantText
width: parent.width width: parent.width
@@ -1278,7 +1278,7 @@ Item {
} }
StyledText { StyledText {
text: I18n.tr("Light mode will be active from sunrise to sunset") text: SessionData.isLightMode ? I18n.tr("Light mode will be active from sunrise to sunset") : I18n.tr("Dark mode will be active from sunset to sunrise")
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeSmall
color: Theme.primary color: Theme.primary
width: parent.width width: parent.width
@@ -1329,14 +1329,15 @@ Item {
StyledText { StyledText {
text: I18n.tr("Automation") text: I18n.tr("Automation")
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeMedium
color: Theme.surfaceVariantText font.weight: Font.Medium
color: Theme.surfaceText
} }
} }
StyledText { StyledText {
text: SessionData.themeModeAutoEnabled ? I18n.tr("Enabled") : I18n.tr("Disabled") text: SessionData.themeModeAutoEnabled ? I18n.tr("Enabled") : I18n.tr("Disabled")
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeMedium
font.weight: Font.Medium font.weight: Font.Medium
color: Theme.surfaceText color: Theme.surfaceText
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
@@ -1355,14 +1356,14 @@ Item {
DankIcon { DankIcon {
name: SessionData.isLightMode ? "light_mode" : "dark_mode" name: SessionData.isLightMode ? "light_mode" : "dark_mode"
size: Theme.iconSizeSmall size: Theme.iconSizeMedium
color: SessionData.isLightMode ? "#FFA726" : "#7E57C2" color: SessionData.isLightMode ? "#FFA726" : "#7E57C2"
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }
StyledText { StyledText {
text: SessionData.isLightMode ? I18n.tr("Light Mode") : I18n.tr("Dark Mode") text: SessionData.isLightMode ? I18n.tr("Light Mode") : I18n.tr("Dark Mode")
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeMedium
font.weight: Font.Bold font.weight: Font.Bold
color: Theme.surfaceText color: Theme.surfaceText
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
@@ -1371,8 +1372,9 @@ Item {
StyledText { StyledText {
text: I18n.tr("Active") text: I18n.tr("Active")
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeMedium
color: Theme.surfaceVariantText font.weight: Font.Medium
color: Theme.surfaceText
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
width: parent.width width: parent.width
} }
@@ -1390,22 +1392,23 @@ Item {
DankIcon { DankIcon {
name: "schedule" name: "schedule"
size: Theme.iconSizeSmall size: Theme.iconSizeMedium
color: Theme.primary color: Theme.primary
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }
StyledText { StyledText {
text: I18n.tr("Next Transition") text: I18n.tr("Next Transition")
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeMedium
color: Theme.surfaceVariantText font.weight: Font.Medium
color: Theme.surfaceText
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }
} }
StyledText { StyledText {
text: themeColorsTab.formatThemeAutoTime(SessionData.themeModeNextTransition) text: themeColorsTab.formatThemeAutoTime(SessionData.themeModeNextTransition)
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeMedium
font.weight: Font.Medium font.weight: Font.Medium
color: Theme.surfaceText color: Theme.surfaceText
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter