This WordPress plugin adds color palettes to your branding and style guide pages.
|Author:||Joni Halabi (profile at wordpress.org)|
|WordPress version required:||5.0|
|WordPress version tested:||5.2.2|
|Added to WordPress repository:||09-09-2015|
|Total downloads:||1 671|
Click to start download
This WordPress plugin adds a color palette block to the post editor, to be used for branding and style guide pages.
You can now take advantage of the new (“Gutenberg”) post editor by creating color palettes on the fly using the new “Color Palette” block. The “Color Palette” block starts with 4 “Color” blocks, but you can add additional blocks or remove excess blocks as needed. Give each color block a color using the selector in the Inspector Panel on the right-hand side of the editor and give your color a name. Done!
If you need to use the same color palette on multiple pages or posts, simply save the “Color Palette” block with all of your colors as a reusable block through the editor.
The previous version of this plugin added primary and secondary color palettes via a series of shortcodes. This version is still supported and palettes can be set up in the WordPress admin under Settings > Color Palette and then added to posts via short codes:
- [primarycolors]: This shortcode adds a block that will display all of your brand’s primary colors.
- [accentcolors]: This shortcode adds a block that will display all of your brand’s accent colors. These can be colors that compliment your primary colors, for example.
This functionality will be deprecated in a future version.
- Major code refactor!
- New Feature! Gutenberg block to create custom color palettes within the post editor.
- Still supporting the options page / shortcode functionality, but there are plans to deprecate it in a future release.
- Tested plugin on v4.9.
- Updated code style to better adhere to WordPress code standards.
- Updated HTML to be WCAG AA compliant.
- Minor UI updates.
- Refactoring the CSS. This involved a pretty substantial reworking of class names. Please check any custom styles you may have created!
- Finally managing CSS through SCSS.
- Minifying CSS and JS files.
- Tested plugin on v4.7.1.
- Added a check to make sure user has PHP 5.4 or greater.
- Initial release.