Skip to content

refactor: replace hardcoded colors with CSS variables in HelpMenu#189

Open
HathawayQAQ wants to merge 1 commit intoNetflix:masterfrom
HathawayQAQ:hathaway-refactor/helpmenu-use-css-variables
Open

refactor: replace hardcoded colors with CSS variables in HelpMenu#189
HathawayQAQ wants to merge 1 commit intoNetflix:masterfrom
HathawayQAQ:hathaway-refactor/helpmenu-use-css-variables

Conversation

@HathawayQAQ
Copy link
Copy Markdown

Requirements for a pull request

  • Unit tests related to the change have been updated
  • Documentation related to the change has been updated

Description of the Change

Alternate Designs

-

Possible Drawbacks

-

Verification Process

Verified that the CSS variable values match the original hardcoded values:

  • --color-text-secondary resolves to #666
  • --color-text-primary resolves to #333
  • --color-border-primary (#d0d0d0) is a minor consistency improvement over #e9e9e9, aligning the border
    with the standard border token used across all other components

Release Notes

N/A

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.

1 participant