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

Twenty Twenty One Blocks: Migrate Audio Block styles #107

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions twentytwentyone-blocks/assets/css/blocks.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*--------------------------------------------------------------
# Audio
--------------------------------------------------------------*/

.wp-block-audio audio:focus {
outline-offset: 5px;
outline: 2px solid var(--wp--preset--color--dark-gray);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you think this should be a more general outline style for all elements?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah, I think it should probably be part of the global theme focus styles. I feel like it can probably be left out until a solution for WordPress/gutenberg#27075 is implemented.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah, that makes sense. I'm closing this PR then. Thank you!

}


/*--------------------------------------------------------------
# Cover
--------------------------------------------------------------*/
Expand Down