mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
fix: resolve badge content color (#25550)
I noticed that the content on our badges for options broke, I've restored this to using `text-content-primary` so that the content will always be legible and not inherit from the base body css. | Old | New | | --- | --- | | <img width="718" height="488" alt="CLI_PREVIEW_OLD" src="https://github.com/user-attachments/assets/98c91591-b8b8-4ed0-bdd5-0bd2fb5f2802" /> | <img width="718" height="488" alt="CLI_PREVIEW_NEW" src="https://github.com/user-attachments/assets/5c07a5e0-3fbf-41a0-8454-0e7bd6ee52e8" /> |
This commit is contained in:
@@ -129,7 +129,7 @@ export const OptionConfigFlag: FC<HTMLAttributes<HTMLDivElement>> = (props) => {
|
||||
data-slot="option-config-flag"
|
||||
className={cn(
|
||||
"block rounded-[1px] bg-border-secondary px-1 py-0.5",
|
||||
"text-[10px] font-semibold leading-none",
|
||||
"text-[10px] font-semibold leading-none text-content-primary",
|
||||
props.className,
|
||||
)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user