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

Varia: Separator Block Dot style doesn't display the custom color #1602

Closed
eduardozulian opened this issue Oct 25, 2019 · 2 comments · Fixed by #1634
Closed

Varia: Separator Block Dot style doesn't display the custom color #1602

eduardozulian opened this issue Oct 25, 2019 · 2 comments · Fixed by #1634
Assignees

Comments

@eduardozulian
Copy link
Member

Steps to replicate

  1. Create a post/page
  2. Add the separator block
  3. Choose the dot style
  4. Add color to it

Result

I saw a grayish color. Here's my test with Mayland:

Captura de Tela 2019-10-25 às 19 52 16

In Varia, it's coming from:

hr.wp-block-separator.is-style-dots:before {
	color: #DDDDDD;
	font-size: 1.728rem;
	letter-spacing: 0.83333rem;
	padding-left: 0.83333rem;
}

More info on the separator styles: WordPress/gutenberg#16483

@eduardozulian
Copy link
Member Author

In case we got reports, looks like this CSS should help for now:

hr.wp-block-separator.is-style-dots.has-text-color:before {
  color: currentColor;
}

@allancole allancole self-assigned this Oct 31, 2019
@allancole
Copy link
Contributor

I’ll work out a fix for this shortly :-)

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 a pull request may close this issue.

2 participants