Skip to content

[PER-10633] Replace hardcoded colors in global styles and generic presentational component's styles#1084

Merged
aasandei-vsp merged 2 commits into
mainfrom
PER-10633-replace-hardcoded-colors
Jul 20, 2026
Merged

[PER-10633] Replace hardcoded colors in global styles and generic presentational component's styles#1084
aasandei-vsp merged 2 commits into
mainfrom
PER-10633-replace-hardcoded-colors

Conversation

@aasandei-vsp

@aasandei-vsp aasandei-vsp commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

This PR only replaces hardcoded colors in global styles and generic presentational components with variables that have identical values, so no visible change.
What I did do was visually check the app where the hardcoded colors have been replaced by variables.
It is tedious and I do not believe it needs to be done multiple times.

No QA needed.

@aasandei-vsp aasandei-vsp self-assigned this Jul 10, 2026
@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.68%. Comparing base (44e1116) to head (2d2a2e7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1084      +/-   ##
==========================================
+ Coverage   51.60%   51.68%   +0.08%     
==========================================
  Files         354      354              
  Lines       12067    12067              
  Branches     2172     2172              
==========================================
+ Hits         6227     6237      +10     
+ Misses       5613     5601      -12     
- Partials      227      229       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aasandei-vsp aasandei-vsp changed the title [PER-10633] Replace hardcoded colors [PER-10633] Replace hardcoded colors in global styles and generic presentational component's styles Jul 13, 2026
@aasandei-vsp
aasandei-vsp force-pushed the PER-10633-replace-hardcoded-colors branch from 893dcde to 2d2a2e7 Compare July 13, 2026 09:18

@cecilia-donnelly cecilia-donnelly left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you @aasandei-vsp !

Swap the legacy $PR-blue variable for the palette-scale $PR-blue-900
(same #131b4a value) across the shared style partials: loaders,
profile gradient, timeline, and ui. No visual change.

Issue: PER-10633
Replace raw hex, named (white/black), and rgba() color literals with
the shared palette variables across the generic presentational
components' styles. Add @import 'colors' where the palette wasn't
already in scope. Values are unchanged, so there is no visual difference.

Issue: PER-10633
@aasandei-vsp
aasandei-vsp force-pushed the PER-10633-replace-hardcoded-colors branch from 2d2a2e7 to 8b19715 Compare July 20, 2026 11:16
@aasandei-vsp
aasandei-vsp merged commit 81edefb into main Jul 20, 2026
9 checks passed
@aasandei-vsp
aasandei-vsp deleted the PER-10633-replace-hardcoded-colors branch July 20, 2026 11:22
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