Make WordPress Core

Changeset 55045


Ignore:
Timestamp:
01/10/2023 11:04:36 AM (2 years ago)
Author:
audrasjb
Message:

General: Align spelling with American English.

This changeset renames url-friendly-colour to url-friendly-color in _admin.scss.

Follow-up to [54663], [54664], [55043], [55044].

Props kebbet.
See #56811.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/colors/_admin.scss

    r54662 r55045  
    33@import 'mixins';
    44
    5 @function url-friendly-colour( $color ) {
     5@function url-friendly-color( $color ) {
    66    @return '%23' + str-slice( '#{ $color }', 2, -1 );
    77}
     
    6363
    6464input[type=checkbox]:checked::before {
    65     content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27#{url-friendly-colour($form-checked)}%27%2F%3E%3C%2Fsvg%3E");
     65    content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27#{url-friendly-color($form-checked)}%27%2F%3E%3C%2Fsvg%3E");
    6666}
    6767
Note: See TracChangeset for help on using the changeset viewer.