Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: use darker comment color (#3458)

Bogdan Chadkin6e2eaac5b5a1
diff --git a/apps/builder/app/builder/shared/code-editor-base.tsx b/apps/builder/app/builder/shared/code-editor-base.tsx
index 8209aeab39..e1bb8e2aef 100644
--- a/apps/builder/app/builder/shared/code-editor-base.tsx
+++ b/apps/builder/app/builder/shared/code-editor-base.tsx
@@ -108,9 +108,10 @@ const editorContentStyle = css({
// https://thememirror.net/clouds
const highlightStyle = HighlightStyle.define([
+ // darker comment variant from https://github.com/vadimdemedes/thememirror/blob/main/source/themes/ayu-light.ts#L17-L20
{
tag: tags.comment,
- color: "#BCC8BA",
+ color: "#787b8099",
},
{
tag: [tags.string, tags.special(tags.brace), tags.regexp],