Add status bar icon reflecting copilot state to Zed status bar

This commit is contained in:
Mikayla Maki
2023-03-29 21:31:33 -07:00
parent 8fac32e1eb
commit cc7c5b416c
20 changed files with 606 additions and 201 deletions
+10
View File
@@ -30,6 +30,16 @@ export default function copilot(colorScheme: ColorScheme) {
};
return {
outLinkIcon: {
icon: svg(foreground(layer, "variant"), "icons/maybe_link_out.svg", 12, 12),
container: {
cornerRadius: 6,
padding: { top: 6, bottom: 6, left: 6, right: 6 },
},
hover: {
icon: svg(foreground(layer, "hovered"), "icons/maybe_link_out.svg", 12, 12)
},
},
modal: {
titleText: {
...text(layer, "sans", { size: "md", color: background(layer, "default") }),