WordPress / community-themes

A collection of Block Themes built by the WordPress community.
80 stars 33 forks source link

Blue note: Add patterns thin stripes and thick stripes #79

Closed MaggieCabrera closed 1 year ago

MaggieCabrera commented 1 year ago

Adds the Thin Stripes pattern and a block style associated with it. Users can turn on or off the clip-path and duotone filter. If the theme changes, the image will display without changes.

Screenshot 2023-07-26 at 17 22 08

Part of https://github.com/WordPress/community-themes/issues/78

MaggieCabrera commented 1 year ago

Since the second pattern is so similar, I added it to this same PR:

Screenshot 2023-07-26 at 18 11 08

@ajlende the image for this second pattern is one we are using for another pattern, with a different aspect ratio. I've played with the new aspect ratio tools to make it work with the more wide design and it seems to work in the editor (though it would be lovely to control where it cuts out) but not in the frontend for me, not sure if it's a bug you are aware of. I might end up duplicating this image and croping it for this theme, but I think it was worth mentioning anyway

scruffian commented 1 year ago

I think we need to add a width attribute so that the aspect ratio works, which I have done.