Make WordPress Core


Ignore:
Timestamp:
10/06/2024 11:35:49 PM (2 years ago)
Author:
peterwilsoncc
Message:

Tests/Build Tools: Update SCSS files to use new color functions.

Replaces deprecated color functions with their updated equivalents, see the deprecation documentation.

This results in four changes in the built files, hsl colors with a negative lightness value are replaced with the keyword black. These changes are harmless as they have no effect on the rendered colors.

Props aslamdoctor, veryard.
Fixes #62142.

File:
1 edited

Legend:

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

    r55451 r59185  
     1@use "sass:color";
     2
    13$scheme-name: "modern";
    24$base-color: #1e1e1e;
     
    68
    79$link: $highlight-color;
    8 $link-focus: darken($highlight-color, 10%);
     10$link-focus: color.adjust($highlight-color, $lightness: -10%);
    911
    1012$custom-welcome-panel: "false";
Note: See TracChangeset for help on using the changeset viewer.