Allow loading a previously-saved conversation

This commit is contained in:
Antonio Scandurra 2023-06-21 16:06:09 +02:00
parent 06701e78aa
commit a011ced698
5 changed files with 279 additions and 64 deletions

View file

@ -23,7 +23,36 @@ export default function assistant(colorScheme: ColorScheme) {
height: 15,
},
},
container: {}
container: {
margin: { left: 8 },
}
},
plusButton: {
icon: {
color: text(layer, "sans", "default", { size: "sm" }).color,
asset: "icons/plus_12.svg",
dimensions: {
width: 12,
height: 12,
},
},
container: {
margin: { left: 8 },
}
},
savedConversation: {
background: background(layer, "on"),
hover: {
background: background(layer, "on", "hovered"),
},
savedAt: {
margin: { left: 8 },
...text(layer, "sans", "default", { size: "xs" }),
},
title: {
margin: { left: 8 },
...text(layer, "sans", "default", { size: "sm", weight: "bold" }),
}
},
userSender: {
...text(layer, "sans", "default", { size: "sm", weight: "bold" }),