tui: simplify prompt mode toggle icon colors via CSS and tighten message timeline padding

This commit is contained in:
David Hill
2026-02-17 20:09:42 +00:00
parent bab3124e8b
commit 92912219df
3 changed files with 23 additions and 17 deletions

View File

@@ -1 +1,21 @@
@import "@opencode-ai/ui/styles/tailwind";
[data-component="prompt-mode-toggle"] [data-slot="icon-svg"] {
color: var(--icon-base);
}
[data-component="prompt-mode-toggle"] [data-slot="icon-svg"] * {
color: inherit;
}
[data-component="prompt-mode-toggle"] button[aria-pressed="true"] [data-slot="icon-svg"] {
color: var(--icon-strong-base);
}
[data-component="prompt-mode-toggle"] [data-slot="icon-svg"] [stroke]:not([stroke="none"]) {
stroke: currentColor;
}
[data-component="prompt-mode-toggle"] [data-slot="icon-svg"] [fill]:not([fill="none"]) {
fill: currentColor;
}