This repository has been archived by the owner on Nov 18, 2024. It is now read-only.
Try: Move the CSS for the outline button :hover style to theme.json #447
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
In this PR I am moving the CSS for the hover style for the outline button variation to theme.json.
Note, I was not able to make it work with the
>
combinator so I removed it. Open for alternatives.The PR also deletes the CSS file and the PHP function
twentytwentyfive_block_stylesheets()
Closes #413
Testing Instructions
Add two buttons with the outline style variation, one with and one without a background color.
Add links to the buttons.
Hover over the button that does not have a background. Expected: The background color changes slightly.
Hover over the button that has a background color. Expected: The background does not change.