paper-gtk-theme/Paper/gtk-3.18/_colors.scss

100 lines
4.5 KiB
SCSS
Raw Normal View History

2016-04-15 03:54:38 +02:00
// When color definition differs for dark and light variant
// it gets @if ed depending on $variant
2016-04-18 18:47:20 +02:00
// Main definitions
$base_color: if($variant == 'light', #ffffff, #455a64);
$bg_color: if($variant == 'light', #f7f7f7, #37474f);
$fg_color: if($variant == 'light', #444, #cfd8dc);
2016-04-15 03:54:38 +02:00
$text_color: if($variant == 'light', $fg_color, $fg_color);
$headerbar_bg_color: if($variant == 'light', #546e7a, darken($base_color, 10%));
$headerbar_fg_color: if($variant == 'light', #ffffff, transparentize(#ffffff, 0.2));
2016-04-15 03:54:38 +02:00
2016-04-18 18:47:20 +02:00
// Primary colors
2016-05-24 19:20:03 +02:00
$red: #d32f2f;
2016-05-24 18:56:33 +02:00
$orange: #ff9800;
$yellow: #f9ce1d;
$green: #4caf50;
2016-05-25 00:14:19 +02:00
$dark_blue: #3f51b5;
$blue: #2196f3;
2016-05-24 21:01:36 +02:00
$cyan: #26c6da;
2016-05-24 21:08:24 +02:00
$magenta: #f50057;
2016-05-24 18:56:33 +02:00
$purple: #673ab7;
2016-04-18 18:47:20 +02:00
2016-05-24 18:54:03 +02:00
$borders_color: if($variant == 'light', darken($bg_color,20%), darken($bg_color,10%));
$borders_edge: if($variant == 'light', transparentize(white, 0.8), transparentize(white, 0.9));
2016-04-15 03:54:38 +02:00
$selected_fg_color: #ffffff;
2016-05-25 01:42:03 +02:00
$selected_bg_color: if($variant == 'light', $blue, lighten($blue,10%));
2016-05-24 18:54:03 +02:00
$selected_borders_color: if($variant == 'light', darken($selected_bg_color, 10%), $borders_color);
2016-04-15 17:24:20 +02:00
$link_color: blue;
2016-04-15 03:54:38 +02:00
$link_visited_color:transparentize($link_color,0.5);
2016-05-24 18:54:03 +02:00
$top_highlight: if($variant == 'light', transparentize(white, 0.8), transparentize(white, 0.7));
2016-04-19 00:39:13 +02:00
$bottom_highlight: if($variant == 'light', transparentize(white, 0.7), transparentize(white, 0.9));
2016-04-15 03:54:38 +02:00
$dark_fill: mix($borders_color, $bg_color, 35%);
$menu_color: if($variant == 'light', $base_color, mix($bg_color, $base_color, 20%));
2016-04-19 01:13:25 +02:00
$popover_bg_color: $base_color;
$popover_hover_color: lighten($popover_bg_color, 5%);
2016-04-15 03:54:38 +02:00
2016-04-15 17:24:20 +02:00
$selection_mode_headerbar_bg_color: #347D9F;
2016-05-24 21:01:36 +02:00
$scrollbar_bg_color: transparent;
2016-04-15 03:54:38 +02:00
$scrollbar_slider_color: mix($fg_color, $bg_color, 60%);
$scrollbar_slider_hover_color: mix($fg_color, $bg_color, 80%);
$scrollbar_slider_active_color: if($variant=='light', darken($selected_bg_color, 10%), lighten($selected_bg_color, 10%));
2016-04-18 18:47:20 +02:00
$success_color: if($variant == 'light', $green, darken($green,10%));
$destructive_color: if($variant == 'light', $red, darken($red,10%));
$suggested_color: if($variant == 'light', $selected_bg_color, darken($selected_bg_color,10%));
2016-04-15 03:54:38 +02:00
$osd_fg_color: #cfd8dc;
2016-04-15 03:54:38 +02:00
$osd_text_color: white;
$osd_bg_color: transparentize(#202526, 0.2);
$osd_insensitive_bg_color: transparentize(mix($osd_fg_color, opacify($osd_bg_color, 1), 10%), 0.5);
$osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 50%);
$osd_borders_color: transparentize(black, 0.3);
$sidebar_bg_color: mix($bg_color, $base_color, 50%);
$base_hover_color: transparentize($fg_color, 0.95);
$tooltip_borders_color: transparentize(white, 0.9);
2016-04-20 00:04:06 +02:00
$shadow_color: transparentize(black, 0.8);
2016-05-24 20:16:34 +02:00
$text_shadow_color: if($variant == 'dark', $shadow_color, transparentize(white, 0.9));
$icon_shadow_color: $text_shadow_color;
2016-04-15 03:54:38 +02:00
$drop_target_color: #4e9a06;
2016-04-18 18:47:20 +02:00
// Infobar colors
$warning_color: $yellow;
$error_color: $red;
$info_color: $blue;
$question_color: $green;
// Panel colors
2016-04-20 00:04:06 +02:00
$panel_bg_color: transparentize(black, 0.3);
$panel_fg_color: white;
$panel_borders_color: transparentize(black, 0.8);
2016-04-18 18:47:20 +02:00
2016-04-15 03:54:38 +02:00
// Insensitive state colors
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
$insensitive_bg_color: mix($bg_color, $base_color, 60%);
2016-04-15 18:59:10 +02:00
$insensitive_base_color: darken($base_color, 5%);
2016-04-15 03:54:38 +02:00
$insensitive_borders_color: $borders_color;
// Backdrop state colors
$backdrop_base_color: if($variant == 'light', darken($base_color, 1%), lighten($base_color, 1%));
$backdrop_text_color: mix($text_color, $backdrop_base_color, 80%);
$backdrop_bg_color: $bg_color;
$backdrop_headerbar_bg_color: darken($headerbar_bg_color, 5%);
2016-04-19 01:57:24 +02:00
$backdrop_headerbar_fg_color: if($variant == 'light', transparentize($headerbar_fg_color, 0.5), transparentize($headerbar_fg_color, 0.2));
2016-04-15 03:54:38 +02:00
$backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 50%);
$backdrop_insensitive_color: if($variant == 'light', darken($backdrop_bg_color, 15%), lighten($backdrop_bg_color, 15%));
2016-04-15 18:59:10 +02:00
$backdrop_selected_bg_color: if($variant == 'light', lighten($selected_bg_color, 5%), lighten($selected_bg_color, 5%));
2016-04-15 03:54:38 +02:00
$backdrop_selected_fg_color: if($variant == 'light', transparentize($selected_fg_color, 0.5), transparentize($selected_fg_color, 0.5));
$backdrop_borders_color: mix($borders_color, $bg_color, 90%);
$backdrop_dark_fill: mix($backdrop_borders_color, $backdrop_bg_color, 35%);
$backdrop_sidebar_bg_color: mix($backdrop_bg_color, $backdrop_base_color, 50%);
$backdrop_scrollbar_bg_color: darken($backdrop_bg_color, 3%);
$backdrop_scrollbar_slider_color: mix($backdrop_fg_color, $backdrop_bg_color, 40%);
$backdrop_menu_color: if($variant == 'light', $backdrop_base_color, mix($backdrop_bg_color, $backdrop_base_color, 20%));