[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/css/colors/ -> _variables.scss (source)

   1  @use "sass:color";
   2  
   3  // assign default value to all undefined variables
   4  
   5  $scheme-name: "default" !default;
   6  
   7  // core variables
   8  
   9  $text-color: #fff !default;
  10  $base-color: #23282d !default;
  11  $icon-color: hsl(color.channel($base-color, "hue", $space: hsl), 7%, 95%) !default;
  12  $highlight-color: #0073aa !default;
  13  $notification-color: #d54e21 !default;
  14  
  15  
  16  // global
  17  
  18  $body-background: #f1f1f1 !default;
  19  
  20  $link: #0073aa !default;
  21  $link-focus: color.adjust($link, $lightness: 10%) !default;
  22  
  23  $button-color: $highlight-color !default;
  24  $button-text-color: $text-color !default;
  25  
  26  $form-checked: #7e8993 !default;
  27  
  28  // admin menu & admin-bar
  29  
  30  $menu-text: $text-color !default;
  31  $menu-icon: $icon-color !default;
  32  $menu-background: $base-color !default;
  33  
  34  $menu-highlight-text: $text-color !default;
  35  $menu-highlight-icon: $text-color !default;
  36  $menu-highlight-background: $highlight-color !default;
  37  
  38  $menu-current-text: $menu-highlight-text !default;
  39  $menu-current-icon: $menu-highlight-icon !default;
  40  $menu-current-background: $menu-highlight-background !default;
  41  
  42  $menu-submenu-text: color.mix( $base-color, $text-color, 30% ) !default;
  43  $menu-submenu-background: color.adjust($base-color, $lightness: -7%) !default;
  44  $menu-submenu-background-alt: color.adjust(color.adjust($menu-background, $lightness: 7%), $saturation: -7%) !default;
  45  
  46  $menu-submenu-focus-text: $highlight-color !default;
  47  $menu-submenu-current-text: $text-color !default;
  48  
  49  $menu-bubble-text: $text-color !default;
  50  $menu-bubble-background: $notification-color !default;
  51  $menu-bubble-current-text: $text-color !default;
  52  $menu-bubble-current-background: $menu-submenu-background !default;
  53  
  54  $menu-collapse-text: $menu-icon !default;
  55  $menu-collapse-icon: $menu-icon !default;
  56  $menu-collapse-focus-text: $text-color !default;
  57  $menu-collapse-focus-icon: $menu-highlight-icon !default;
  58  
  59  $adminbar-avatar-frame: color.adjust($menu-background, $lightness: 7%) !default;
  60  $adminbar-input-background: color.adjust($menu-background, $lightness: 7%) !default;
  61  
  62  $adminbar-recovery-exit-text: $menu-bubble-text !default;
  63  $adminbar-recovery-exit-background: $menu-bubble-background !default;
  64  $adminbar-recovery-exit-background-alt: color.mix(black, $adminbar-recovery-exit-background, 10%) !default;
  65  
  66  $menu-customizer-text: color.mix( $base-color, $text-color, 40% ) !default;
  67  
  68  // Dashboard Colors
  69  
  70  $custom-welcome-panel: "true" !default;
  71  $dashboard-accent-1: $menu-submenu-background !default;
  72  $dashboard-accent-2: $menu-background !default;
  73  $dashboard-icon-background: $dashboard-accent-2 !default;
  74  
  75  $low-contrast-theme: "false" !default;


Generated : Tue Jan 21 08:20:01 2025 Cross-referenced by PHPXref