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

Default style variation label to match the is-style-default class name #13660

Closed
mapk opened this issue Feb 5, 2019 · 2 comments
Closed

Default style variation label to match the is-style-default class name #13660

mapk opened this issue Feb 5, 2019 · 2 comments
Labels
Needs Design Feedback Needs general design feedback.

Comments

@mapk
Copy link
Contributor

mapk commented Feb 5, 2019

Problem

The style variation for the separator block has the class is-style-default in the code, but reflects the style variant as "Short line". Thanks to @webmandesign for this find! While the issue #10569 and PR #10570 suggest a change from default to short to match the name, it seems to lock in themes to use a 'short' line as their default. I believe @jasmussen explained it well in the PR review in #10570.

Solution

Any block with style variations should reflect the word "Default" in the style variation preview as shown below.

default

This should apply to:

  • Separator block
  • Blockquote block
  • Pullquote block
  • Table block
  • Button block

cc @jasmussen & @kjellr Does this sound right?

@mapk mapk added the Needs Design Feedback Needs general design feedback. label Feb 5, 2019
@jasmussen
Copy link
Contributor

This sounds good to me 👍 👍

kjellr added a commit that referenced this issue Feb 5, 2019
Resolves #13660.

This aligns the classname with the actual name we're using in the UI, and also  allows for a bit more flexibility for default block styles per theme.
@kjellr
Copy link
Contributor

kjellr commented Feb 5, 2019

Sounds good! I opened #13670 to take care of this.

kjellr added a commit that referenced this issue Feb 14, 2019
Resolves #13660.

This aligns the classname with the actual name we're using in the UI, and also  allows for a bit more flexibility for default block styles per theme.
youknowriad pushed a commit that referenced this issue Mar 6, 2019
Resolves #13660.

This aligns the classname with the actual name we're using in the UI, and also  allows for a bit more flexibility for default block styles per theme.
youknowriad pushed a commit that referenced this issue Mar 6, 2019
Resolves #13660.

This aligns the classname with the actual name we're using in the UI, and also  allows for a bit more flexibility for default block styles per theme.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Design Feedback Needs general design feedback.
Projects
None yet
Development

No branches or pull requests

3 participants