Skip to content

Rename Divider color prop to colorWeight with light/medium/dark values - #2576

Closed
anuj-pal27 wants to merge 1 commit into
dxc-technology:masterfrom
anuj-pal27:fix/divider-color-values
Closed

anuj-pal27 wants to merge 1 commit into
dxc-technology:masterfrom
anuj-pal27:fix/divider-color-values

Conversation

@anuj-pal27

Copy link
Copy Markdown

Checklist
(Check off all the items before submitting)

  • Build process is done without errors. All tests pass in the /lib directory.
  • Self-reviewed the code before submitting.
  • Meets accessibility standards.
  • Added/updated documentation to /website as needed.
  • Added/updated tests as needed.

Description
Renamed the DxcDivider color prop to colorWeight and changed its values from lightGrey | mediumGrey | darkGrey to light | medium | dark (default medium), since the color comes from neutral tokens and isn't always grey. Visual output is unchanged. Updated internal usages, stories and website docs.

Breaking change: color="darkGrey" → colorWeight="dark" (same for light/medium).

Closes #2365

@Jialecl

Jialecl commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

Thanks first for your aportation and interest, but we won't be able to merge this PR.
This is considered a breaking change and it is not planned to be added to the next release.

@Jialecl Jialecl closed this Oct 21, 2026
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.

Fix Divider component color prop name and values

2 participants