Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated the color of toast warning icon #1689

Merged
merged 4 commits into from
Oct 20, 2021
Merged

updated the color of toast warning icon #1689

merged 4 commits into from
Oct 20, 2021

Conversation

thematrixaditya
Copy link
Contributor

First, briefly describe your proposal in the title and delete this line.

If your proposal fixes any issues, please list them below, then delete this line:

Finally, tell us more about the change here, in the description.

/cc @primer/css-reviewers

@changeset-bot
Copy link

changeset-bot bot commented Oct 19, 2021

🦋 Changeset detected

Latest commit: 4fac859

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

This PR includes changesets to release 1 package
Name Type
@primer/css 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

Copy link
Contributor

@langermank langermank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the default icon color is var(--color-fg-on-emphasis) (see line 24), we could take this opportunity to remove each variant override and take default.

In each of these:

.Toast-icon {
    color: var(--color-fg-on-emphasis);
    background-color: var(--color-neutral-emphasis);
 }

delete the color definition

Copy link
Contributor

@langermank langermank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making the change!

@langermank langermank merged commit 257f68f into primer:main Oct 20, 2021
@primer-css primer-css mentioned this pull request Oct 20, 2021
@thematrixaditya thematrixaditya deleted the update/toast-warning-icon branch October 21, 2021 03:41
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.

Update Toast--warning icon
2 participants