-
-
Notifications
You must be signed in to change notification settings - Fork 180
feat: better contrast for accent colors & visual changes #626
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
These are starting to look better in terms of consistency but I checked out the deployment and the colours chosen for focus outlines do still fail colour contrast. Before I saw this PR I actually opened this issue for reference. |
default accent-color otherwise half opacity
|
@whitep4nth3r I think accent would work great here, what do you think? |
|
There's actually another PR going on over here for the same thing 😅 |
|
Accent colour could work but I'm not sure if all the colours available in the settings have been tested against the background colours. |
|
would you add an a11y test for the new AppLogo component? 🙏 |
as per dicussion from npmx-dev#650 by @JarvisInvestInsight Co-Authored-By: J.A.R.V.I.S. <258503261+JarvisInvestInsight@users.noreply.github.com>
|
few visual fixes:
|
|
@danielroe have a look on test |
| const accentColors = computed(() => { | ||
| const mode = (colorMode.value || 'dark') as 'light' | 'dark' | ||
| const colors = ACCENT_COLORS[mode] | ||
|
|
||
| return Object.entries(colors).map(([id, value]) => ({ | ||
| id: id as AccentColorId, | ||
| name: id, | ||
| value, | ||
| })) | ||
| }) |
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.
this is why ci is failing - colors can be undefined
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.
const colors = ACCENT_COLORS[mode] ?? ACCENT_COLORS.darkthis also doesn't seem to work 2502007

closes #611 resolves #633
Major visual change
docs bar is moved below description to accommodate for long package names
