microsoft / fluentui

Fluent UI web represents a collection of utilities, React components, and web components for building web applications.
https://react.fluentui.dev
Other
17.75k stars 2.65k forks source link

Adds High Contrast Styles to Badge Web Component #31234

Closed procload closed 1 day ago

procload commented 2 weeks ago

This pull request primarily focuses on enhancing the visual accessibility of the badge web component in the @fluentui/web-components package by introducing high contrast styles. The changes are made in two files: change/@fluentui-web-components-00702120-ccca-469e-aee3-d0a77b0b9d4c.json and packages/web-components/src/badge/badge.styles.ts.

High contrast style enhancements:

Previous Behavior

Without high-contrast styles:

image

New Behavior

With new high-contrast styles:

image

fabricteam commented 2 weeks ago

📊 Bundle size report

✅ No changes found

codesandbox-ci[bot] commented 2 weeks ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

chrisdholt commented 5 days ago

This will need to be updated to point to master as the web-components-v3 branch has been merged.