admin管理员组

文章数量:1425902

Are there any CSS classes for the wordpress colours: /

For instance, classes like these from the Twenty Seventeen Theme:

.has-text-color .has-background .has-very-dark-gray-color .has-very-light-gray-background-color

Are there any CSS classes for the wordpress colours: https://make.wordpress/design/handbook/design-guide/foundations/colors/

For instance, classes like these from the Twenty Seventeen Theme:

.has-text-color .has-background .has-very-dark-gray-color .has-very-light-gray-background-color
Share Improve this question asked Jun 14, 2019 at 4:28 j.doej.doe 135 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

No. The only styles that WordPress itself loads on the front-end is /wp-includes/css/dist/block-library/style.min.css, and this stylesheet doesn't include any such classes or colours. All other styles are the responsibility of the theme.

So if you want to know if a specific theme has such classes you would need to ask the author, however I don't know any reason why anyone would include the WordPress brand colours in their theme.

本文标签: color pickerAre there any CSS classes for the wordpress colours