From 6afd47756900a4c09688a1ab3885453dcaa9ad78 Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 10 Sep 2021 15:56:39 -0400 Subject: [PATCH] Add initial collaborator colors * Define host selection color * Add 7 unique guest colors, optimizing for contrast between selectors the fewer collaborators you have * Selections use transparent versions of the cursor color --- zed/assets/themes/black.toml | 14 +++++++++++--- zed/assets/themes/dark.toml | 12 ++++++++++-- zed/assets/themes/light.toml | 12 ++++++++++-- 3 files changed, 31 insertions(+), 7 deletions(-) diff --git a/zed/assets/themes/black.toml b/zed/assets/themes/black.toml index 79aaf7e2ad..53d9957f4b 100644 --- a/zed/assets/themes/black.toml +++ b/zed/assets/themes/black.toml @@ -19,8 +19,16 @@ base = { family = "Inconsolata", size = 15 } 0 = "#00000052" [selection] -host = { selection = "#264f78", cursor = "$text.0.color" } -guests = [{ selection = "#504f31", cursor = "#fcf154" }] +host = { selection = "#3B57BC33", cursor = "$text.0.color" } +guests = [ + { selection = "#FDF35133", cursor = "#FDF351" }, + { selection = "#4EACAD33", cursor = "#4EACAD" }, + { selection = "#D0453B33", cursor = "#D0453B" }, + { selection = "#3B874B33", cursor = "#3B874B" }, + { selection = "#BD7CB433", cursor = "#BD7CB4" }, + { selection = "#EE823133", cursor = "#EE8231" }, + { selection = "#5A2B9233", cursor = "#5A2B92" } +] [status] good = "#4fac63" @@ -41,4 +49,4 @@ number = "#b5cea8" comment = "#6a9955" property = "#4e94ce" variant = "#4fc1ff" -constant = "#9cdcfe" +constant = "#9cdcfe" \ No newline at end of file diff --git a/zed/assets/themes/dark.toml b/zed/assets/themes/dark.toml index 61c8a5c76c..cf17c62fdb 100644 --- a/zed/assets/themes/dark.toml +++ b/zed/assets/themes/dark.toml @@ -19,8 +19,16 @@ base = { family = "Inconsolata", size = 15 } 0 = "#00000052" [selection] -host = { selection = "#264f78", cursor = "$text.0.color" } -guests = [{ selection = "#504f31", cursor = "#fcf154" }] +host = { selection = "#3B57BC33", cursor = "$text.0.color" } +guests = [ + { selection = "#FDF35133", cursor = "#FDF351" }, + { selection = "#4EACAD33", cursor = "#4EACAD" }, + { selection = "#D0453B33", cursor = "#D0453B" }, + { selection = "#3B874B33", cursor = "#3B874B" }, + { selection = "#BD7CB433", cursor = "#BD7CB4" }, + { selection = "#EE823133", cursor = "#EE8231" }, + { selection = "#5A2B9233", cursor = "#5A2B92" } +] [status] good = "#4fac63" diff --git a/zed/assets/themes/light.toml b/zed/assets/themes/light.toml index b85d9a4fee..80f84f998c 100644 --- a/zed/assets/themes/light.toml +++ b/zed/assets/themes/light.toml @@ -19,8 +19,16 @@ base = { family = "Inconsolata", size = 15 } 0 = "#0000000D" [selection] -host = { selection = "#D4D9EE", cursor = "$text.0.color" } -guests = [{ selection = "#504f31", cursor = "#fcf154" }] +host = { selection = "#3B57BC33", cursor = "$text.0.color" } +guests = [ + { selection = "#FDF35133", cursor = "#FDF351" }, + { selection = "#4EACAD33", cursor = "#4EACAD" }, + { selection = "#D0453B33", cursor = "#D0453B" }, + { selection = "#3B874B33", cursor = "#3B874B" }, + { selection = "#BD7CB433", cursor = "#BD7CB4" }, + { selection = "#EE823133", cursor = "#EE8231" }, + { selection = "#5A2B9233", cursor = "#5A2B92" } +] [status] good = "#4fac63"