fix: Fix input text not showing

- Add global Input style with visible colors
- Ensure text color is set correctly
- Simplify component styles
- Remove conflicting styles
This commit is contained in:
JianFeeeee
2026-04-10 19:37:09 +08:00
parent 68ea1908fd
commit acd6c7174f
2 changed files with 26 additions and 25 deletions

View File

@ -5,6 +5,17 @@ GraphMemoryApp {
color: $text;
}
/* 全局Input样式 - 确保可见 */
Input {
background: $surface-lighten-1;
color: $text;
border: solid $primary;
}
Input:focus {
border: double $accent;
}
LeftPanel {
width: 1fr;
dock: left;