Skip to content

bug: workspace notification heading is unreadable in light theme #21735

@aqandrew

Description

@aqandrew

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

the workspace notifications popover's heading is hardcoded to text-white:

<TooltipContent
align="end"
collisionPadding={16}
className="max-w-[400px] p-0 bg-surface-secondary border-surface-quaternary text-sm text-white"
style={{
borderColor: theme.roles[severity].outline,
}}
>

Image

reported by @DanielleMaywood

Relevant Log Output

Expected Behavior

heading is text-content-primary text color, which is light in a dark theme, and dark in a light theme

Steps to Reproduce

  1. set color theme to light
  2. hover over workspace notifications

Environment

  • Host OS: macOS Sequoia 15.3.1
  • Coder version: 2.29.3

Additional Context

No response

Metadata

Metadata

Assignees

Labels

needs-triageIssue that require triage

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions