Skip to content

improvement(markdown): bump bold weight to 650 in dark mode#5733

Closed
waleedlatif1 wants to merge 1 commit into
stagingfrom
markdown-strong-dark-weight
Closed

improvement(markdown): bump bold weight to 650 in dark mode#5733
waleedlatif1 wants to merge 1 commit into
stagingfrom
markdown-strong-dark-weight

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • reopens improvement(markdown): bump bold weight to 650 in dark mode #5721 (branch was deleted which auto-closed it; GitHub refuses to reopen after a force-replace) — same change, rebased on latest staging
  • bold text in the markdown renderers (Files .md preview + chat messages) was hard to distinguish from body text in dark mode — light-on-dark text renders perceptually heavier, compressing the 430→600 weight contrast
  • bumped strong to 650 in dark mode only, mirroring how the --font-weight-* tokens already bump semibold 500→550 in dark mode; light mode stays at 600

Type of Change

  • Improvement

Testing

Tested manually against the running app

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Skipped Skipped Jul 17, 2026 3:55pm

Request Review

@cursor

cursor Bot commented Jul 17, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
CSS-only typography tweaks in markdown renderers with no logic, data, or auth changes.

Overview
Bold markdown is easier to read in dark mode by raising strong weight from 600 → 650 only under .dark, while light mode stays at 600.

The same tweak is applied in the Files rich markdown preview (rich-markdown-editor.css) and home chat markdown (chat-content.tsx), including bold inside custom table wrappers that sit outside default prose styles.

Reviewed by Cursor Bugbot for commit 15f0345. Configure here.

@waleedlatif1
waleedlatif1 deleted the markdown-strong-dark-weight branch July 17, 2026 15:55
@greptile-apps

greptile-apps Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR increases the contrast of bold markdown text in dark mode. The main changes are:

  • Sets rich markdown editor bold text to weight 650 in dark mode.
  • Applies the same dark-mode weight to chat prose.
  • Covers bold text inside chat markdown tables.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/rich-markdown-editor.css Adds a component-scoped dark-mode override that raises strong text from weight 600 to 650.
apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/chat-content/chat-content.tsx Raises bold text to weight 650 in dark-mode chat prose and its separately styled markdown tables.

Reviews (1): Last reviewed commit: "improvement(markdown): bump bold weight ..." | Re-trigger Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant