Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
refactor(editor): style links with brand color and subtle underline
Naiyuan Qing30640436c4e4
diff --git a/apps/web/features/editor/content-editor.css b/apps/web/features/editor/content-editor.cssindex 0ed1223292..b6e7ed161b 100644--- a/apps/web/features/editor/content-editor.css+++ b/apps/web/features/editor/content-editor.css@@ -287,14 +287,15 @@/* Links */.rich-text-editor a {- color: var(--primary);- text-decoration: none;+ color: var(--brand);+ text-decoration: underline;+ text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent);+ text-underline-offset: 2px;cursor: pointer;}.rich-text-editor a:hover {- text-decoration: underline;- text-underline-offset: 2px;+ text-decoration-color: var(--brand);}/* Issue mention cards — inline cards that sit within text flow */diff --git a/apps/web/features/editor/extensions/index.ts b/apps/web/features/editor/extensions/index.tsindex 94c9bb0068..b901b452c7 100644--- a/apps/web/features/editor/extensions/index.ts+++ b/apps/web/features/editor/extensions/index.ts@@ -27,17 +27,11 @@ const LinkEditable = Link.extend({ inclusive: false }).configure({openOnClick: true,autolink: true,linkOnPaste: false,- HTMLAttributes: {- class: "text-primary hover:underline cursor-pointer",- },});const LinkReadonly = Link.configure({openOnClick: false,autolink: false,- HTMLAttributes: {- class: "text-primary hover:underline cursor-pointer",- },});const ImageExtension = Image.extend({