Skip to content

Fix default color for separator component#3137

Merged
tom2drum merged 2 commits intomainfrom
tom2drum/separator-color
Nov 18, 2025
Merged

Fix default color for separator component#3137
tom2drum merged 2 commits intomainfrom
tom2drum/separator-color

Conversation

@tom2drum
Copy link
Copy Markdown
Collaborator

Description and Related Issue(s)

This PR standardizes the separator component's border color by introducing a default theme recipe and removing redundant borderColor props across the codebase.

Proposed Changes

  • Added a new separator.recipe.ts that sets borderColor: 'border.divider' as the default for all separator components
  • Removed explicit borderColor="border.divider" props from separator components in:
    • BlockDetailsZilliqaQuorumCertificate.tsx
    • Content.tsx (revoke component)
    • RewardsStreakModal.tsx
    • TopBar.tsx
  • Updated NavLinkGroup.tsx to use alignItems="stretch" for better separator alignment

This change centralizes separator styling in the theme recipe, making it easier to maintain and ensuring consistent appearance across the application.

Breaking or Incompatible Changes

None.

Additional Information

N/A

Checklist for PR author

  • I have tested these changes locally.
  • I added tests to cover any new functionality, following this guide
  • Whenever I fix a bug, I include a regression test to ensure that the bug does not reappear silently.
  • If I have added, changed, renamed, or removed an environment variable
    • I updated the list of environment variables in the documentation
    • I made the necessary changes to the validator script according to the guide
    • I added "ENVs" label to this pull request

@tom2drum tom2drum merged commit 64dacbc into main Nov 18, 2025
11 checks passed
@tom2drum tom2drum deleted the tom2drum/separator-color branch November 18, 2025 17:59
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