Skip to content

StatusLight shouldn't have italics font-style for CCJK languages #4125

@dannify

Description

@dannify

🐛 Bug Report

Italics doesn't exist for CCJK (Chinese, Japanese and Korean) and should not be applied when using the StatusLight variant="neutral". CSS font-style: italics will force a slanted font in some browsers even if the font is specific to manage those languages.
https://github.com/adobe/react-spectrum/blob/main/packages/%40adobe/spectrum-css-temp/components/statuslight/index.css#L53

🤔 Expected Behavior

No italics for CCJK locales (possibly other languages?)

😯 Current Behavior

image

💁 Possible Solution

Investigate our font handling for this these locales.

🧢 Your Company/Team

RSP

Metadata

Metadata

Assignees

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions