[wp-trac] [WordPress Trac] #49787: Twenty Nineteen: Text color isn't reflected

WordPress Trac noreply at wordpress.org
Thu Nov 11 10:30:22 UTC 2021


#49787: Twenty Nineteen: Text color isn't reflected
-----------------------------------------+------------------------
 Reporter:  karmatosed                   |       Owner:  danfarrow
     Type:  defect (bug)                 |      Status:  assigned
 Priority:  normal                       |   Milestone:  5.9
Component:  Bundled Theme                |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  needs-testing needs-refresh  |     Focuses:  css
-----------------------------------------+------------------------
Changes (by poena):

 * keywords:  needs-testing => needs-testing needs-refresh


Comment:

 Hi @smit08
 Twenty Nineteen uses SCSS and custom SCSS variables. The scss files needs
 to be compiled/built to create .css files.

 Changes made directly to the style-editor.css are overwritten during that
 build process.
 That is why it is not enough to change only style-editor.css.

 {{{.has-inline-color}}} is not necessary.


 @ryelle mentioned that the primary color can be customized, and that
 changing the CSS files is not enough to solve the full issue.

 Here is how to confirm that:

 1) Activate the theme.
 2) Open the customizer.
 3) Open the colors and select "custom". Set a color, save.
 4) Open the block editor.
 5) Select a text like a paragraph block and select "highlight". Select the
 primary color that you just changed.
 6) Confirm that the text is still blue, not the custom color.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49787#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list