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.

Merge branch 'main' into lsp-log-messages

Max Brunsfeldafaff7f9a90b
diff --cc styles/src/styleTree/app.ts
index 4c85d2109f9,7398432ec3c..886553d418d
--- a/styles/src/styleTree/app.ts
+++ b/styles/src/styleTree/app.ts
@@@ -17,9 -17,8 +17,9 @@@ import projectSharedNotification from "
import tooltip from "./tooltip"
import terminal from "./terminal"
import contactList from "./contactList"
+import lspLogMenu from "./lspLogMenu"
import incomingCallNotification from "./incomingCallNotification"
- import { ColorScheme } from "../themes/common/colorScheme"
+ import { ColorScheme } from "../theme/colorScheme"
import feedback from "./feedback"
import welcome from "./welcome"
import copilot from "./copilot"
diff --cc styles/src/styleTree/lspLogMenu.ts
index de4555e629e,00000000000..a6b8f7b1f9e
mode 100644,000000..100644
--- a/styles/src/styleTree/lspLogMenu.ts
+++ b/styles/src/styleTree/lspLogMenu.ts
@@@ -1,41 -1,0 +1,41 @@@
- import { ColorScheme } from "../themes/common/colorScheme"
++import { ColorScheme } from "../theme/colorScheme"
+import { background, border, text } from "./components"
+
+export default function contactsPanel(colorScheme: ColorScheme) {
+ let layer = colorScheme.middle
+
+ return {
+ background: background(layer),
+ border: border(layer),
+ shadow: colorScheme.popoverShadow,
+ header: {
+ ...text(layer, "sans", { size: "sm" }),
+ padding: { left: 8, right: 8, top: 2, bottom: 2 },
+ cornerRadius: 6,
+ background: background(layer, "on"),
+ border: border(layer, "on", { overlay: true }),
+ hover: {
+ background: background(layer, "hovered"),
+ ...text(layer, "sans", "hovered", { size: "sm" }),
+ }
+ },
+ server: {
+ ...text(layer, "sans", { size: "sm" }),
+ padding: { left: 8, right: 8, top: 8, bottom: 8 },
+ },
+ item: {
+ ...text(layer, "sans", { size: "sm" }),
+ padding: { left: 18, right: 18, top: 2, bottom: 2 },
+ hover: {
+ background: background(layer, "hovered"),
+ ...text(layer, "sans", "hovered", { size: "sm" }),
+ },
+ active: {
+ background: background(layer, "active"),
+ },
+ activeHover: {
+ background: background(layer, "active"),
+ },
+ },
+ }
+}