Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Use the `ghost` variant for a flat button style in the toolbar

Nate Butleref86c0817411
diff --git a/styles/src/style_tree/workspace.ts b/styles/src/style_tree/workspace.ts
index 578dd23c6ec..d4eaeb99da3 100644
--- a/styles/src/style_tree/workspace.ts
+++ b/styles/src/style_tree/workspace.ts
@@ -152,6 +152,7 @@ export default function workspace(): any {
}),
toggleable_tool: toggleable_icon_button(theme, {
margin: { left: 8 },
+ variant: "ghost",
active_color: "accent",
}),
padding: { left: 8, right: 8, top: 4, bottom: 4 },