Skip to content

Commit 07e4c38

Browse files
committed
fix: correct dark theme color for warning button
Added normalDark property to warningButton text palette to match normal color in dark theme Previously the dark theme variant was missing, causing display issues This ensures consistent warning button appearance across both light and dark themes fix: 修正警告按钮在暗色主题下的颜色问题 为警告按钮文本调色板添加normalDark属性以匹配正常颜色 之前缺少暗色主题变体导致显示问题 现在确保警告按钮在明暗主题下外观一致 pms: BUG-327377
1 parent d82f576 commit 07e4c38

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

qt6/src/qml/FlowStyle.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ QtObject {
350350
property QtObject warningButton: QtObject {
351351
property D.Palette text: D.Palette {
352352
normal: ("#ff5736")
353+
normalDark: normal
353354
}
354355
}
355356

0 commit comments

Comments
 (0)