themes-wordpress/skatepark/inc
Maggie f1a3133076
Skatepark: dynamic duotone support (#4740)
* added duotone support for blocks, removed it from the patterns markup

* Add duotone to site logo too

* If the user changes colors via the customizer also update the default Duotone filter

* created a new filter for the custom duotone

Co-authored-by: Sarah Norris <sarah@sekai.co.uk>

* delete new transient

* fix customizer preview and invert darker palettes

* check luminescence on php to see if we need to invert before saving

* Refactoring the code to make it easier to understand

* Remove closure

* refactor for readability

* merge user filter with theme ones

* Whitespace

* Check the array keys exist properly

* remove var_dumps

* check for the correct values when we define the custom filter

* minified colord file

* updated changelog and credited the colord library

* minified version of colord.js

* removed filter from logo

* Removed duplicated comment

Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
2021-10-29 08:31:41 +01:00
..
patterns Skatepark: dynamic duotone support (#4740) 2021-10-29 08:31:41 +01:00
block-patterns.php Skatepark: Add columns in container block pattern (#4449) 2021-08-26 13:04:56 -04:00
block-styles.php Move the paragraph indent style to the first paragraph of every container (#4481) 2021-09-01 15:07:39 -04:00