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

TT1 Blocks: migrate table block styles #133

Closed
wants to merge 2 commits into from

Conversation

jffng
Copy link
Collaborator

@jffng jffng commented Dec 9, 2020

This PR adds the CSS needed to match the table block styles from TT1, addressing part of #131.

It does not address the calendar block which is included in TT1's table block styles but I think should be addressed in another PR.

I would test the following use cases:

  • With and without a heading
  • With stripes style variation
  • With a background color

Note that this PR requires WordPress/gutenberg#27628 to look fully correct.

@jffng
Copy link
Collaborator Author

jffng commented Dec 10, 2020

With the outstanding Gutenberg issue and PR, this becomes a one line addition. I think it should be fine to land or we can put it in blocked until those Gutenberg changes are addressed.

@scruffian
Copy link
Collaborator

Since we won't need this change once WordPress/gutenberg#27651 lands then I think Blocked makes more sense.

@jffng jffng linked an issue Dec 14, 2020 that may be closed by this pull request
@carolinan
Copy link
Collaborator

Besides the table caption size, and the text colors breaking in different ways depending on if TT1 blocks or Twenty Twenty-One is active, I do not see what needs to be changed here?
Can this be closed?

left: TT1 Blocks. Right: Twenty Twenty-One
image

@carolinan
Copy link
Collaborator

Note: The above screenshot is without the PR applied.

@scruffian
Copy link
Collaborator

Yeah, I think we can close this.

@scruffian scruffian closed this Mar 26, 2021
@scruffian scruffian deleted the update/table-block-styles branch March 26, 2021 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TT1 Blocks: Table Block: Migrate CSS to theme.json
4 participants