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:
@ -1,5 +1,20 @@
|
||||
/* Component Styles for Graph Memory TUI */
|
||||
|
||||
/* Input Box - 最重要 */
|
||||
InputBox {
|
||||
background: $surface;
|
||||
padding: 1 2;
|
||||
height: auto;
|
||||
border: solid $primary;
|
||||
}
|
||||
|
||||
InputBox Input {
|
||||
width: 100%;
|
||||
background: $surface-lighten-1;
|
||||
color: $text;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Config Section */
|
||||
ConfigSection {
|
||||
background: $surface;
|
||||
@ -32,31 +47,6 @@ ConfigSection Input {
|
||||
color: $text;
|
||||
}
|
||||
|
||||
ConfigSection Input:focus {
|
||||
border: double $primary;
|
||||
background: $surface-lighten-2;
|
||||
}
|
||||
|
||||
/* Input Box */
|
||||
InputBox {
|
||||
background: $surface;
|
||||
padding: 1;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
InputBox Input {
|
||||
width: 1fr;
|
||||
background: $surface;
|
||||
color: $text;
|
||||
border: solid $primary;
|
||||
padding: 1;
|
||||
}
|
||||
|
||||
InputBox Input:focus {
|
||||
border: double $accent;
|
||||
background: $surface-lighten-1;
|
||||
}
|
||||
|
||||
/* Other Components */
|
||||
OperationLog {
|
||||
background: $surface-darken-1;
|
||||
|
||||
Reference in New Issue
Block a user