Opened 4 years ago
Last modified 4 years ago
#49712 new enhancement
Twenty Nineteen: Add gradient background options that fit the theme color scheme
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | good-first-bug has-patch |
Focuses: | ui | Cc: |
Description (last modified by )
Now that we have the option for certain blocks to have gradient backgrounds, we need to add gradient background options to the theme that fit the themes color scheme.
Attachments (1)
Change History (4)
This ticket was mentioned in PR #292 on WordPress/wordpress-develop by lamdayap.
4 years ago
#2
- Keywords has-patch added; needs-patch removed
#3
@
4 years ago
Hi @ianbelanger, this is one of my first handful of contributions to any sort of project and I'm very excited to try my hand at this issue! I've added a single preset to the Twenty Nineteen theme, it gets the primary color and sets a gradient to 80% opacity. I've adjusted this to be reflected in the color-patterns.php
file as well. Would love to hear your thoughts. It's possible I may have missed a few places where I also need to edit the code, I'll continue to work on it. :)
I've added support for block gradient presets in the Twenty-Nineteen theme. It currently grabs the primary color and sets a linear gradient to 80% of the color.
Trac ticket: https://core.trac.wordpress.org/ticket/49712