Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Bug]: Markdown bold is too subtle after the redesign, even with New design disabled

Đang mở Phù hợp với người mới
#25,395 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
73/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
css, typescript
Lĩnh vực
design, desktop, frontend

Hướng nghiên cứu

Issue xác định khu vực apps/desktop và quy tắc .chat-markdown strong được đưa vào trong PR thiết kế lại #24865. Hãy đọc quy tắc đó và so sánh độ đậm phông chữ với kiểu chữ đậm của composer, kể cả khi New design bị tắt. Công việc được xem là hoàn thành khi chữ đậm trong tin nhắn đã gửi dễ nhận biết và nhất quán với composer ở mọi trạng thái bật tắt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug needs-triage
Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/desktop

Steps to reproduce
  1. Type Regular text and **bold text** in the rich text composer.
  2. Send the message.
  3. Compare the bold formatting in the composer and the sent message.
  4. Disable Settings → Beta → New design and repeat.
Expected behavior

Bold text remains clearly distinguishable from regular text, with consistent emphasis between the composer and rendered messages.

Actual behavior

Bold is noticeably lighter after sending: in the message, the weight is 600, while in the composer, it's 700.

In the new default font Inter, I can see the difference between bold and not bold, but it's inconsistent with the composer:

Image

I don't like Inter, so I'd like to choose a different font. In some other fonts, I can barely see the new 600 bold; in others, I can see it, but it doesn't jump out at me. So Inter is basically required now, if I want to clearly see bold. Examples:

Image

Disabling New design does not restore the previous appearance.

Cause

The redesign (#24865) introduced this global rule:

.chat-markdown strong {
  font-weight: 600;
}

This changes message bold to semibold, while the composer uses 700 (bold). The rule is not scoped to the New design toggle.

Impact

Cosmetic issue

Version or commit

0.1.3-nightly.20261026.3710

Environment

Windows desktop

Logs or stack traces

Screenshots, recordings, or supporting files

Here's one of the clearer alternative fonts, Literata, where I can still barely see the switch to bold:

Image

Here's one of the worst fonts, Merriweather, where it's basically invisible:

Image
Proposed Fix

Please restore to normal 700 bold so that we can use other fonts.

Or commit to 600 bold in composer too, but make this weight configurable in the theme.

Ngôn ngữ chính
TypeScript
Star
24.8k
Fork
6.4k
Merge trung bình
4 giờ 29 phút
Pull request đã merge (30 ngày)
305

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pingdotgg/t3code

Tất cả issue của pingdotgg/t3code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.