Ticket #50120: 50120.diff
File 50120.diff, 1.9 KB (added by , 4 years ago) |
---|
-
src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css
224 224 225 225 /* Typography -------------------------------- */ 226 226 227 .editor-styles-wrapper .editor-block-list__layouta {227 .editor-styles-wrapper a { 228 228 color: #cd2653; 229 229 text-decoration: underline; 230 230 } -
src/wp-content/themes/twentytwenty/inc/custom-css.php
122 122 // Colors. 123 123 // Accent color. 124 124 if ( $accent && $accent !== $accent_default ) { 125 twentytwenty_generate_css( '.has-accent-color, .editor-styles-wrapper .editor-block-list__layouta, .editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter, .editor-styles-wrapper .wp-block-button.is-style-outline .wp-block-button__link, .editor-styles-wrapper .wp-block-pullquote::before, .editor-styles-wrapper .wp-block-file .wp-block-file__textlink', 'color', $accent );125 twentytwenty_generate_css( '.has-accent-color, :root .has-accent-color, .editor-styles-wrapper a, .editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter, .editor-styles-wrapper .wp-block-button.is-style-outline .wp-block-button__link, .editor-styles-wrapper .wp-block-pullquote::before, .editor-styles-wrapper .wp-block-file .wp-block-file__textlink', 'color', $accent ); 126 126 twentytwenty_generate_css( '.editor-styles-wrapper .wp-block-quote', 'border-color', $accent, '' ); 127 127 twentytwenty_generate_css( '.has-accent-background-color, .editor-styles-wrapper .wp-block-button__link, .editor-styles-wrapper .wp-block-file__button', 'background-color', $accent ); 128 128 }