Are there any CSS classes for the wordpress colours: https://make.wordpress.org/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

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.