Skip to content

neutral.emphasis fix - #158

Merged
simurai merged 3 commits into
mainfrom
jules-HC-neutral-emphasis-fix
Jun 21, 2021
Merged

simurai merged 3 commits into
mainfrom
jules-HC-neutral-emphasis-fix

Conversation

@Juliusschaeper

@Juliusschaeper Juliusschaeper commented Jun 21, 2021 •

Copy link
Copy Markdown
Contributor

Removed wrong HC exception for neutral.emphasis.

- Neutral emphasis is gray.5 by default
- Only in HC it’s gray.4 (exception)
@Juliusschaeper
Juliusschaeper requested a review from simurai June 21, 2021 14:05
@Juliusschaeper Juliusschaeper self-assigned this Jun 21, 2021
@changeset-bot

changeset-bot Bot commented Jun 21, 2021 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cd0c90e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/primitives Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Jun 21, 2021 •

Copy link
Copy Markdown

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/primer/primitives/3kV33T4zhy6zcufcEpC3PbZers1V
âś… Preview: https://primitives-git-jules-hc-neutral-emphasis-fix-primer.vercel.app

@Juliusschaeper
Juliusschaeper marked this pull request as draft June 21, 2021 14:07
I realized that there is no need for a HC exception for neutral.emphasis, since using gray.4 across dark, dimmed and high contrast works because of the inverted emphasis in high contrast.
@Juliusschaeper
Juliusschaeper marked this pull request as ready for review June 21, 2021 14:18
@simurai
simurai merged commit 23f74b0 into main Jun 21, 2021
@simurai
simurai deleted the jules-HC-neutral-emphasis-fix branch June 21, 2021 14:30
@github-actions github-actions Bot mentioned this pull request Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants