-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
docs: improve badges #2704
docs: improve badges #2704
Conversation
* fix(icons): arcified paintbrush * Update icons/paintbrush.svg Co-authored-by: Jakob Guddas <github@jguddas.de> --------- Co-authored-by: Karsa <karsa@sztaki.hu> Co-authored-by: Jakob Guddas <github@jguddas.de> Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Updated icons/tractor.svg * Updated icons/tractor.json * Updated icons/tractor.svg * Updated icons/tractor.svg --------- Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Updated icons/sigma.svg * Update icons/sigma.svg Co-authored-by: Karsa <contact@karsa.org> --------- Co-authored-by: Karsa <contact@karsa.org>
* Updated icons/signpost.svg * Updated icons/signpost.svg * Updated icons/signpost.json
* feat(icons): add tv-minimal-play icon, rename tv-2 to tv-minimal * feat(icons/tv-minimal-play): add more tags * feat(icons): add deprecation reason to tv-2 alias --------- Co-authored-by: Karsa <karsa@sztaki.hu> Co-authored-by: Jakob Guddas <github@jguddas.de>
Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Karsa <karsa@sztaki.hu>
Co-authored-by: Karsa <karsa@sztaki.hu>
* feat(icons): added calendar-cog icon * feat(icons): cleanup calendar-cog icon * feat(icons): fix indentation of calendar-cog icon --------- Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Karsa <karsa@sztaki.hu>
* fix(scripts): fixes writeIconRelatedIcons.mjs * fix(scripts): fixes linting --------- Co-authored-by: Karsa <karsa@sztaki.hu>
Co-authored-by: Karsa <karsa@sztaki.hu>
…de-icons#2184) * Updated icons/file-cog.svg * Updated icons/file-cog.json
Co-authored-by: Karsa <karsa@sztaki.hu>
…n component (lucide-icons#2182) * fix(lucide-svelte): update IconProps to include all properties of Icon component * fix(lucide-svelte): removed custom Icon type that conflicted with Icon component type --------- Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Updated icons/quote.svg * Updated icons/quote.json * Updated icons/quote.svg * Update icons/quote.svg * Updated icons/quote.json
* Updated icons/guitar.svg * Updated icons/guitar.json * Updated icons/guitar.svg --------- Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Updated icons/mic-vocal.svg * Updated icons/mic-vocal.json
* feat(docs): added a11y guide * feat(docs): add further resources * feat(docs): add more resources & note on aria label usage * feat(docs): update illustration button labels * feat(docs): fix misaligned overlay in icon button alttext illustration * fix(docs): deprecate the use of aria label on illustrations and elaborate on not using it. * feat(docs/a11y): added code examples & rephrased aria-label resource * feat(docs/a11y): fix typos * Update docs/guide/advanced/accessibility.md Co-authored-by: Karsa <contact@karsa.org> * Apply suggestions from code review Reformat headers, add RadixUI example. Co-authored-by: Jakob Guddas <github@jguddas.de> --------- Co-authored-by: Karsa <karsa@sztaki.hu> Co-authored-by: Eric Fennis <eric.fennis@gmail.com> Co-authored-by: Jakob Guddas <github@jguddas.de>
* fix: Aliases redirect * Fix lint errors * Apply feedback
* feat(icons): add house-plus icon * feat(icons): update categories * feat(icons): add jguddas to house-plus as co-author
…#2610) Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
bec8078
to
9e3b0da
Compare
@jguddas, based on you contrast "issue", i have not found any solution. There doesn't seem to be a option to change the foreground/textcolor, sorry |
I did some testing, the dynamic color switch logic seams to only trigger when using hex values like by for example adding Maybe worth doing A bug report for this, needs more testing tho, can't right now, I'm only on the phone. What I suggest we do is find the hex value of the current color and try if adding it to the url helps. |
Yeah, look likes that's the problem. I'll only add the |
After testing the |
README.md
Outdated
<a href="https://www.figma.com/community/plugin/939567362549682242/Lucide-Icons"><img src="https://img.shields.io/badge/Figma-F24E1E?logo=figma&logoColor=white" alt="figma installs"></a> | ||
<a href="https://github.com/lucide-icons/lucide/actions/workflows/release.yml"><img src="https://github.com/lucide-icons/lucide/actions/workflows/release.yml/badge.svg" alt="build status"></a> | ||
<a href="https://discord.gg/EH6nSts"><img src="https://img.shields.io/discord/723074157486800936?label=chat&logo=discord&logoColor=%23ffffff&colorB=%237289DA" alt="discord chat"></a> | ||
<a href="https://github.com/lucide-icons/lucide/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/lucide?style=for-the-badge" alt="license"></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<a href="https://github.com/lucide-icons/lucide/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/lucide?style=for-the-badge" alt="license"></a> | |
<a href="https://github.com/lucide-icons/lucide/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/lucide?style=for-the-badge&color=008c14" alt="license"></a> |
I like @JoshuaKGoldberg s suggestion of changing the background colors to be a bit darker.
badges/shields#5497
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that feels more right. I'll do it now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minimum contrast to get me to be happy is 4.5.
We can try other shades and colors tho.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#1A871B
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could also make all the badges the lucide brand color, still pretty low tho.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or should we even care about the contrast, there's a bunch of repos (and I mean a bunch) using brightgreen
and white (fg) in their badges
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's not necessary to be readable, it's not necessary and should be removed entirely, I'm pretty strongly opinionated on this one :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
431da51
to
ea0ac2f
Compare
6b02b1c
to
238d484
Compare
cee4da2
to
8120386
Compare
Im so sorry if i pinged all of you now, I do not know what happened |
Originally in #2674
What is the purpose of this pull request?
Description
This PR aims to update the badges to a more modern style (
flat-square
andfor-the-badge
).Before Submitting