Skip to content

Accessibility Improvements: App Colors#1993

Merged
cnathe merged 31 commits intodevelopfrom
fb_accessibilityColors
May 5, 2026
Merged

Accessibility Improvements: App Colors#1993
cnathe merged 31 commits intodevelopfrom
fb_accessibilityColors

Conversation

@cnathe
Copy link
Copy Markdown
Contributor

@cnathe cnathe commented May 1, 2026

Rationale

This PR updates the color system in @labkey/components for accessibility: it introduces semantic color tokens ($text-color-light, $link-color, alert variables), updates brand/state colors to more accessible values,
consolidates hardcoded color strings to variables, and migrates several component buttons from btn-info to btn-primary or btn-success.

Related Pull Requests

Changes

  • Link blue #2980B9 change to #0F72C2
  • Change usages of #777 and $gray-light to $text-color-light
  • Light gray text colors and icons to use $text-color-light and $gray-dark for hover
  • Replace usages of light blue (btn-info)
  • Link blue #2980B9 change to #0F72C2
  • Change orange badge color $badge-color to #D43F3A
  • Green icon and button #5CB85C change to #5AA54A ($brand-success)
  • Blue banner, status tag, and filter pill updates to colors
  • Search panel button to use btn-success instead of custom colors
  • Update to $brand- color variables
  • Alert/error banner color update

@cnathe cnathe requested a review from labkey-susanh May 4, 2026 15:07
Copy link
Copy Markdown
Contributor

@labkey-susanh labkey-susanh left a comment

Choose a reason for hiding this comment

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

I like that we've got more consistency with this and some more mnemonic variable names. I would still love to get rid of at least one of gray-light and light-gray. Complete tossup for which variable to use when. But that will be for another time.

$brand-secondary: #116596;
$brand-danger: #D43F3A;
$brand-warning: #f0ad4e;
$brand-success: #5AA54A;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This change means some of the color updates will happen in the domain designers in LKS, right? Anywhere else?

@cnathe cnathe merged commit 0e2a7c9 into develop May 5, 2026
3 checks passed
@cnathe cnathe deleted the fb_accessibilityColors branch May 5, 2026 21:19
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.

2 participants