zed-xcode-themes icon indicating copy to clipboard operation
zed-xcode-themes copied to clipboard

Blurry Background Available in Main

Open Congyuwang opened this issue 1 year ago • 5 comments

This is a wonderful theme, and now easily my favorite theme. Thank you a lot for authoring it!

Now, zed has this nice PR https://github.com/zed-industries/zed/pull/9610 that enables blurry / transparent background.

I'm thinking that perhaps following Xcode style, we can have certain parts of the editor to assume dark/light blurriness. Although I have yet only limited idea of the specifics.

Congyuwang avatar Mar 29 '24 15:03 Congyuwang

Thank you so much for your kind words! I'm thrilled to hear you're enjoying it!

I've been really looking forward for that PR to be merged! As of now, I'm exploring how to integrate this feature in a way that is cohesive with the rest of the Zed UI. Hopefully, more themes will start implementing it soon enough.

If you, or anyone else, have any ideas of what it should look like, feel free to provide a theme_overrides configuration for one of the themes so we can discuss on it!

skarline avatar Apr 01 '24 21:04 skarline

I've tried to experiment with theme_overrides and got the following settings that seems to give me a Xcode feeling:

  • for Xcode Default Light
  // for Xcode Default Light
  "experimental.theme_overrides": {
    "background.appearance": "blurred",
    "background": "#e8e8e8c0",
    "border": "#909090c0",
    "text": "#000000ff",
    "text.muted": "#404040ff",
    // problem: what is text.disabled / ghost_element.disabled
    // "text.disabled": "#808080ff",
    "status_bar.background": "#00000000",
    "title_bar.background": "#00000000",
    "panel.background": "#00000000",
    "ghost_element.background": "#00000000",
    "ghost_element.hover": "#00000020",
    "ghost_element.active": "#00000020",
    "ghost_element.selected": "#00000020"
  }
截圖 2024-04-10 20 39 02 截圖 2024-04-10 20 40 22
  • for Xcode Default Dark
  // for Xcode Default Dark
  "experimental.theme_overrides": {
    "background.appearance": "blurred",
    "background": "#2a2a30c0",
    "border": "#101010ff",
    "text": "#ffffffff",
    "text.muted": "#bfbfbfff",
    // problem: what is text.disabled / ghost_element.disabled
    // "text.disabled": "#something",
    "status_bar.background": "#00000000",
    "title_bar.background": "#00000000",
    "panel.background": "#00000000",
    "ghost_element.background": "#00000000",
    "ghost_element.hover": "#a8a8a880",
    "ghost_element.active": "#a8a8a880",
    "ghost_element.selected": "#a8a8a880"
  }
截圖 2024-04-10 20 48 57 截圖 2024-04-10 20 48 42

Mainly, I've changed the alpha value of panel / status_bar / title_bar backgrounds. Also I adjusted some text colors to make the text more obvious. I've also adjusted the ghost element color to make it more like Xcode. It look good to me. But I am not fully familiar with Zed settings, nor confident in UI color design at all! 😀

Give it a try! And see if there is anything that needs further refinement.

Congyuwang avatar Apr 09 '24 16:04 Congyuwang

Just wanna say these look amazing!

jmshgs avatar May 08 '24 21:05 jmshgs

And so, it turns out, there are no official blurry background versions planned?

SergoGansta777 avatar Feb 13 '25 18:02 SergoGansta777

@SergoGansta777 Not really. I have experimented with it in the past; however, I was never satisfied with the result. Also, a couple of Zed updates broke much of the transparency stuff, so I decided to put it off until it becomes more stable :/

Anyway, I'm open to experimenting with it sometime. So, feel free to suggest any transparent themes that you like.

skarline avatar Mar 13 '25 17:03 skarline