Skip to content

FCT 1514 - Accessibility Adjustments #3116

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

Merged
merged 2 commits into from
May 27, 2025

Conversation

valoriecarli
Copy link
Contributor

1.) Adjust following color values (figma ref):

  • --color-info-40 to hsl(203, 94%, 35%)
  • --color-brown-35 to hsl(41, 96%, 30%)
  • --color-turquoise-35 to hsl(178, 88%, 25%)

2.) Change following Avatar color decisions (figma ref):

  • Turquoise --> --color-turquoise-35
  • Brown --> --color-brown-35
  • Accent --> --color-accent-30

@valoriecarli valoriecarli self-assigned this May 16, 2025
Copy link

changeset-bot bot commented May 16, 2025

⚠️ No Changeset found

Latest commit: 1839af2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

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

Copy link

vercel bot commented May 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ui-kit ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 27, 2025 3:17pm

Comment on lines +63 to +70
case 'brown':
return designTokens.colorBrown35;
case 'purple':
return designTokens.colorPurple50;
case 'turquoise':
return designTokens.colorTurquoise35;
default:
return designTokens[
`color${startCase(avatarColor)}50` as keyof typeof designTokens
];
return designTokens.colorAccent30;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

brown & accent no longer share the same lightness value (50%), so i left accent as the default to match the readme file.

@@ -29,7 +29,7 @@
--color-accent-98: hsl(195, 100%, 98%);
--color-brown-10: hsl(41, 100%, 10%);
--color-brown-20: hsl(41, 100%, 20%);
--color-brown-35: hsl(41, 96%, 35%);
--color-brown-35: hsl(41, 96%, 30%);
Copy link
Contributor Author

@valoriecarli valoriecarli May 16, 2025

Choose a reason for hiding this comment

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

@FilPob, @misama-ct i noticed that the vast majority of the property names (not all) match the light value.
would you like for these to follow that format, or no? figma didn't have this, so wanted to check before i became too creative.

Copy link
Contributor

Choose a reason for hiding this comment

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

No, please don’t. The old token-/color-system is flawed. HSL is a rather mathematical, not a 100% perceptual colorspace. This means the “lightness” channel in hsl is not actually reflecting a uniform lightness value across the colorspace.

@valoriecarli valoriecarli marked this pull request as ready for review May 16, 2025 20:02
@valoriecarli valoriecarli requested a review from a team as a code owner May 16, 2025 20:02
@valoriecarli valoriecarli requested review from stephsprinkle, jaikamat, ddouglasz, tylermorrisford, ByronDWall and misama-ct and removed request for a team May 16, 2025 20:02
@valoriecarli valoriecarli added 👨‍🎨 Status: UI/UX Review Requires review from design team 🙏 Status: Dev Review Waiting for technical reviews labels May 16, 2025
Copy link
Contributor

@misama-ct misama-ct left a comment

Choose a reason for hiding this comment

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

💐 Dänks!

@valoriecarli valoriecarli requested a review from FilPob May 27, 2025 13:36
@valoriecarli valoriecarli force-pushed the FCT-1514-accessibility-adjustments branch from 72fae4e to 1839af2 Compare May 27, 2025 15:15
@valoriecarli valoriecarli enabled auto-merge (squash) May 27, 2025 15:16
@valoriecarli valoriecarli merged commit 9f8a391 into main May 27, 2025
12 checks passed
@valoriecarli valoriecarli deleted the FCT-1514-accessibility-adjustments branch May 27, 2025 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙏 Status: Dev Review Waiting for technical reviews 👨‍🎨 Status: UI/UX Review Requires review from design team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants