From 5922f4adce07781467c0e3d172a11cf22fcfdab5 Mon Sep 17 00:00:00 2001
From: Dmitry Nefedov <113844030+dangooddd@users.noreply.github.com>
Date: Tue, 30 Sep 2025 02:50:03 +0300
Subject: [PATCH] themes: Fix Ayu theme comment colors (#39131)
Closes https://github.com/zed-industries/zed/issues/39122
Currently comment colors in Ayu theme do not work as expected and hard
to differentiate. In my understanding something is really wrong how zed
interprets rgba hex color codes, for example:
| #5c677300 | #5c6773ff |
| ------------- | ---------- |
|
|
|
This PR works around this by using comment color codes from
[ayu-vim](https://github.com/ayu-theme/ayu-vim). Maybe I am not
understanding how RGBA works, but in my opinion underlying issue should
be solved.
Release Notes:
- N/A
---
assets/themes/ayu/ayu.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/assets/themes/ayu/ayu.json b/assets/themes/ayu/ayu.json
index e93b7a8b0b8e60811117db9cf3abe74845aa6f6a..418323dc3cb70b6860d84918d78adbf3499f5cf1 100644
--- a/assets/themes/ayu/ayu.json
+++ b/assets/themes/ayu/ayu.json
@@ -192,7 +192,7 @@
"font_weight": null
},
"comment": {
- "color": "#abb5be8c",
+ "color": "#5c6773ff",
"font_style": null,
"font_weight": null
},
@@ -583,7 +583,7 @@
"font_weight": null
},
"comment": {
- "color": "#787b8099",
+ "color": "#abb0b6ff",
"font_style": null,
"font_weight": null
},
@@ -974,7 +974,7 @@
"font_weight": null
},
"comment": {
- "color": "#b8cfe680",
+ "color": "#5c6773ff",
"font_style": null,
"font_weight": null
},