diff --git a/blocks/duotone-filter/duotone.php b/blocks/duotone-filter/duotone.php new file mode 100644 index 00000000..47f5e785 --- /dev/null +++ b/blocks/duotone-filter/duotone.php @@ -0,0 +1,24 @@ + diff --git a/blocks/duotone-filter/filter.svg b/blocks/duotone-filter/filter.svg deleted file mode 100644 index 85fa10f8..00000000 --- a/blocks/duotone-filter/filter.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - diff --git a/blocks/duotone-filter/index.php b/blocks/duotone-filter/index.php index 47a3e9d4..de4f9dd2 100644 --- a/blocks/duotone-filter/index.php +++ b/blocks/duotone-filter/index.php @@ -40,32 +40,11 @@ function hex2rgb( $color ) { $duotone_id = $block['attrs']['duotoneId']; $duotone_dark = hex2rgb( $block['attrs']['duotoneDark'] ); $duotone_light = hex2rgb( $block['attrs']['duotoneLight'] ); - $duotone = <<