mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
fix(ui): readable selection colours, unified agent control sizing and Home width (#2064)
Closes #1985 The SQL console and GraphQL editors draw transparent text over their highlighting, so a selection showed only an empty highlight; they now get selection colours from the tokens, so selected text stays readable in light and dark themes. Agent action buttons share one size, and the Home composer uses the same width token as the conversation composer. Verified on macOS in light and dark themes. Co-authored-by: panda-student <71381346+panda-student@users.noreply.github.com>
This commit is contained in:
@@ -1237,6 +1237,12 @@
|
||||
color: transparent !important;
|
||||
caret-color: var(--fg-strong);
|
||||
}
|
||||
/* The input's own glyphs are transparent so the highlight layer below paints them; without
|
||||
this the selection would be an empty highlight. */
|
||||
.sqlInputText::selection {
|
||||
background: var(--bg-editor-selection);
|
||||
color: var(--fg-strong);
|
||||
}
|
||||
.sqlHighlight {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
|
||||
Reference in New Issue
Block a user