Commit on Github
Dana's theme supports colour palettes.
This is an exciting development. To enable custom colour palettes for this theme, it was necessary to remove colour specifications from the main css file. Now, that colours are not defined in the theme it can be combined with multiple different palettes.
Cherrypie Palette
As I was removing the colours from Dana's theme I was creating a palette from them. I decided to name it cherrypie. When I apply it to Dana's theme it looks just like it did before colour extraction, no visual changes.
Vanilla Palette
In addition to working on Dana's theme and cherrypie palette, I worked with the existing Vanilla palette to ensure that its compatible with Dana's theme.
Simple theme supports cherrypie palette.
After creating cherrypie palette I tested it on the simple theme and after discovering some bugs I added compatibility so they now work together.
Harmonisation
The last touch was to tidy up Vanilla and Cherrypie palettes and harmonise their structure to make them easier to work with in the future.
Future developement
- Chocorange palette
My next step will be to make sure that the existing Chocorange palette also works with Dana's theme.
- Standard Generic Classes
As more themes and palettes will be created, the need to create standardised classes across BlockPress has arisen, so that themes and palettes are both understandable and universal.
- Fix Palettes (not Palletes)
After committing my changes I noticed that we have a spelling error across all our files. Instead of palettes we use palletes. Both myself and are dyslexic. It was a spellchecker that picked up the error. I created a new issue for this on Github. Meanwhile we have to put up with feeling a bit silly. :D
Posted on Utopian.io - Rewarding Open Source Contributors