WordPress.org

Make WordPress Core

Ticket #26905: 26905-variables.patch

File 26905-variables.patch, 2.3 KB (added by morganestes, 7 years ago)
  • wp-admin/css/colors/_variables.scss

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    11// assign default value to all undefined variables
    22
     3/**
     4 * Core variables
     5 */
    36
    4 // core variables
    5 
    67$text-color: #fff !default;
    78$base-color: #222 !default;
    8 $icon-color: hsl( hue( $base-color ), 7%, 95% ) !default;
     9$icon-color: hsl(hue($base-color), 7%, 95%) !default;
    910$highlight-color: #0074a2 !default;
    1011$notification-color: #d54e21 !default;
    1112
     13/**
     14 * Global
     15 */
    1216
    13 // global
    14 
    1517$body-background: #f1f1f1 !default;
    1618
    1719$link: #0074a2 !default;
    18 $link-focus: lighten( $link, 10% ) !default;
     20$link-focus: lighten($link, 10%) !default;
    1921
    2022$button-color: $highlight-color !default;
    2123$form-checked: $highlight-color !default;
    2224
     25/**
     26 * Admin menu & admin-bar
     27 */
    2328
    24 // admin menu & admin-bar
    25 
    2629$menu-text: $text-color !default;
    2730$menu-icon: $icon-color !default;
    2831$menu-background: $base-color !default;
     
    3538$menu-current-icon: $menu-highlight-icon !default;
    3639$menu-current-background: $menu-highlight-background !default;
    3740
    38 $menu-submenu-text: mix( $base-color, $text-color, 30% ) !default;
    39 $menu-submenu-background: darken( $base-color, 7% ) !default;
    40 $menu-submenu-background-alt: desaturate( lighten( $menu-background, 7% ), 7% ) !default;
    41 
     41$menu-submenu-text: mix($base-color, $text-color, 30%) !default;
     42$menu-submenu-background: darken($base-color, 7%) !default;
     43$menu-submenu-background-alt: desaturate(lighten($menu-background, 7%), 7%) !default;
    4244$menu-submenu-focus-text: $highlight-color !default;
    4345$menu-submenu-current-text: $text-color !default;
    4446
     
    5254$menu-collapse-focus-text: $text-color !default;
    5355$menu-collapse-focus-icon: $menu-highlight-icon !default;
    5456
    55 $adminbar-avatar-frame: lighten( $menu-background, 7% ) !default;
    56 $adminbar-input-background: lighten( $menu-background, 7% ) !default;
    57 
    58 $menu-customizer-text: mix( $base-color, $text-color, 40% ) !default;
     57$menu-customizer-text: mix($base-color, $text-color, 40%) !default;
     58
     59$adminbar-avatar-frame: lighten($menu-background, 7%) !default;
     60$adminbar-input-background: lighten($menu-background, 7%) !default;