- Timestamp:
- 11/16/2018 12:13:32 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-content/themes/twentynineteen/inc/color-patterns.php
r43892 r43904 27 27 */ 28 28 29 $saturation = absint( apply_filters( 'twentynineteen_custom_colors_saturation', 100 ) ); 30 $saturation = $saturation . '%'; 31 32 $lightness = absint( apply_filters( 'twentynineteen_custom_colors_lightness', 33 ) ); 33 $lightness = $lightness . '%'; 34 35 $lightness_hover = absint( apply_filters( 'twentynineteen_custom_colors_lightness_hover', 23 ) ); 36 $lightness_hover = $lightness_hover . '%'; 37 38 $lightness_selection = absint( apply_filters( 'twentynineteen_custom_colors_lightness_selection', 90 ) ); 39 $lightness_selection = $lightness_selection . '%'; 29 $saturation = absint( apply_filters( 'twentynineteen_custom_colors_saturation', 100 ) ); 30 $saturation = $saturation . '%'; 31 32 $saturation_selection = absint( apply_filters( 'twentynineteen_custom_colors_saturation_selection', 50 ) ); 33 $saturation_selection = $saturation_selection . '%'; 34 35 $lightness = absint( apply_filters( 'twentynineteen_custom_colors_lightness', 33 ) ); 36 $lightness = $lightness . '%'; 37 38 $lightness_hover = absint( apply_filters( 'twentynineteen_custom_colors_lightness_hover', 23 ) ); 39 $lightness_hover = $lightness_hover . '%'; 40 41 $lightness_selection = absint( apply_filters( 'twentynineteen_custom_colors_lightness_selection', 90 ) ); 42 $lightness_selection = $lightness_selection . '%'; 40 43 41 44 $theme_css = ' … … 83 86 */ 84 87 a, 85 a: visited,88 a:not(.button):visited, 86 89 .main-navigation .main-menu > li, 87 90 .main-navigation ul.main-menu > li > a, … … 169 172 /* Text selection colors */ 170 173 ::selection { 171 background-color: hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness_selection . ' ); /* base: #005177; */174 background-color: hsl( ' . $primary_color . ', ' . $saturation_selection . ', ' . $lightness_selection . ' ); /* base: #005177; */ 172 175 } 173 176 ::-moz-selection { 174 background-color: hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness_selection . ' ); /* base: #005177; */177 background-color: hsl( ' . $primary_color . ', ' . $saturation_selection . ', ' . $lightness_selection . ' ); /* base: #005177; */ 175 178 }'; 176 179 … … 187 190 .editor-block-list__layout .editor-block-list__block .wp-block-button.is-style-outline:hover .wp-block-button__link:not(.has-text-color), 188 191 .editor-block-list__layout .editor-block-list__block .wp-block-button.is-style-outline:focus .wp-block-button__link:not(.has-text-color), 189 .editor-block-list__layout .editor-block-list__block .wp-block-button.is-style-outline:active .wp-block-button__link:not(.has-text-color) { 192 .editor-block-list__layout .editor-block-list__block .wp-block-button.is-style-outline:active .wp-block-button__link:not(.has-text-color), 193 .editor-block-list__layout .editor-block-list__block .wp-block-file .wp-block-file__textlink { 190 194 color: hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness . ' ); /* base: #0073a8; */ 191 195 } … … 210 214 /* Hover colors */ 211 215 .editor-block-list__layout .editor-block-list__block a:hover, 212 .editor-block-list__layout .editor-block-list__block a:active { 216 .editor-block-list__layout .editor-block-list__block a:active, 217 .editor-block-list__layout .editor-block-list__block .wp-block-file .wp-block-file__textlink:hover { 213 218 color: hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness_hover . ' ); /* base: #005177; */ 214 219 }
Note: See TracChangeset
for help on using the changeset viewer.