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

Use shoelace switch for Element publish toggle #2633

Merged
merged 4 commits into from
Dec 11, 2023

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Dec 11, 2023

What is this pull request for?

This component is more accessible than the static icon we currently have.

Screenshots

Alchemy CMS - All 2023-12-11 11-19-27 element hidden

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

This component is more accessible than the static icon.
They should be grey instead of blue to better fit our theme.
Set this to our input text color
Show the status by using the same icon we use to show
if a page is not published and increase the contrast of
the element header while keeping the visual difference.
@tvdeyen tvdeyen force-pushed the element-publish-button branch from e7ea816 to de84f89 Compare December 11, 2023 10:48
@tvdeyen tvdeyen merged commit 4ad2dfc into AlchemyCMS:main Dec 11, 2023
31 checks passed
@tvdeyen tvdeyen deleted the element-publish-button branch December 11, 2023 13:08
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