最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

color picker - Are there any CSS classes for the wordpress colours?

programmeradmin2浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论