Add disabled style for prompt editor after confirming

This commit is contained in:
Antonio Scandurra 2023-08-26 12:07:03 +02:00
parent 658d616b96
commit 55bf45d265
4 changed files with 28 additions and 3 deletions

View file

@ -68,9 +68,17 @@ export default function assistant(): any {
}),
editor: {
text: text(theme.highest, "mono", "default", { size: "sm" }),
placeholder_text: text(theme.lowest, "sans", "on", "disabled"),
placeholder_text: text(theme.highest, "sans", "on", "disabled"),
selection: theme.players[0],
},
disabled_editor: {
text: text(theme.highest, "mono", "disabled", { size: "sm" }),
placeholder_text: text(theme.highest, "sans", "on", "disabled"),
selection: {
cursor: text(theme.highest, "mono", "disabled").color,
selection: theme.players[0].selection,
},
},
pending_edit_background: background(theme.highest, "positive"),
},
message_header: {