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

Color closed issues purple and update classes #66

Merged
merged 3 commits into from
Nov 4, 2021
Merged

Color closed issues purple and update classes #66

merged 3 commits into from
Nov 4, 2021

Conversation

Yash-Singh1
Copy link
Contributor

@Yash-Singh1 Yash-Singh1 commented Oct 29, 2021

Also, a bit of a refactor to the state color map to make it less complicated when adding more states for types. I don't know if this is related to my changes, but when I ran the extension locally, it seemed to not show the purple color for the links to closed issues. Looking at some screenshots and issues, this seems to be the current behavior. Is this expected?

Fixes #64

@fregante
Copy link
Owner

Can you follow the linter as well?

@fregante
Copy link
Owner

@cheap-glitch are these still the right classes?

@cheap-glitch
Copy link

@cheap-glitch are these still the right classes?

No, you want to use color-fg-* instead of color-text-*: https://primer.style/css/support/v18-migration#utility-classes.

Also color-fg-done instead of color-purple-5.

@fregante
Copy link
Owner

We can leave the current classes and add those as well, just to ensure GHE compat since it's easy (I still have the original text-red classes here)

@fregante fregante mentioned this pull request Oct 30, 2021
@Yash-Singh1 Yash-Singh1 changed the title Make closed issues purple Make closed issues purple and support Primer v18 classes Oct 31, 2021
@fregante fregante changed the title Make closed issues purple and support Primer v18 classes Color closed issues purple and update classes Nov 4, 2021
@fregante fregante merged commit 58f44f3 into fregante:main Nov 4, 2021
@fregante
Copy link
Owner

fregante commented Nov 4, 2021

Thank you @Yash-Singh1!

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 to purple text for closed issues
3 participants