Commit efb8f50
committed
fix: adjust input field placeholder text color
1. Changed placeholder text opacity from 0.7 to 0.4 in FlowStyle.qml for
better visual hierarchy
2. Moved placeholderText palette definition from FlowStyle to searchEdit
section for proper scoping
3. Added placeholderTextPalette property binding in SearchEdit.qml to
use the new color settings
4. This adjustment improves readability and visual distinction between
placeholder text and user input
Log: Adjusted placeholder text color in search input fields for better
visual clarity
Influence:
1. Test search input fields to verify placeholder text appears with
reduced opacity (0.4)
2. Verify placeholder text is visible but clearly distinguishable from
user-entered text
3. Check consistency across light and dark themes
4. Test in various input states (focused, unfocused, with text, without
text)
5. Ensure accessibility requirements are still met with the new color
contrast
fix: 调整输入框占位符文本颜色
1. 将 FlowStyle.qml 中的占位符文本不透明度从 0.7 调整为 0.4,以改善视觉
层次
2. 将 placeholderText 调色板定义从 FlowStyle 移动到 searchEdit 部分,实
现正确的作用域
3. 在 SearchEdit.qml 中添加 placeholderTextPalette 属性绑定以使用新的颜
色设置
4. 此调整提高了可读性,并改善了占位符文本与用户输入之间的视觉区分
Log: 调整搜索输入框占位符文本颜色,提升视觉清晰度
Influence:
1. 测试搜索输入框,验证占位符文本以降低的不透明度(0.4)显示
2. 验证占位符文本可见但与用户输入文本有明显区分
3. 检查浅色和深色主题下的一致性
4. 测试各种输入状态(聚焦、未聚焦、有文本、无文本)
5. 确保新的颜色对比度仍满足无障碍访问要求
PMS: BUG-3384251 parent b7c1e92 commit efb8f50
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
453 | | - | |
| 452 | + | |
| 453 | + | |
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
462 | 467 | | |
463 | 468 | | |
464 | 469 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments