Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort modes by their theme toolbar order #153

Merged
merged 2 commits into from
Nov 30, 2023
Merged

Sort modes by their theme toolbar order #153

merged 2 commits into from
Nov 30, 2023

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented Nov 29, 2023

This attempts to order the list of modes in the ModeSelector to have the same ordering as the themes in the toolbar.

📦 Published PR as canary version: 0.0.122--canary.153.b6caef9.0

✨ Test out this PR locally via:

npm install @chromaui/addon-visual-tests@0.0.122--canary.153.b6caef9.0
# or 
yarn add @chromaui/addon-visual-tests@0.0.122--canary.153.b6caef9.0

@ghengeveld ghengeveld requested review from tmeasday and weeksling and removed request for tmeasday November 29, 2023 16:13
Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

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

LGTM but I think the variable name is a touch confusing.

src/utils/useTests.ts Outdated Show resolved Hide resolved
@ghengeveld ghengeveld merged commit d563e50 into main Nov 30, 2023
6 checks passed
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.

None yet

2 participants