$base_color:#2e3440;
$bg_color: transparentize(#2e3440, 0);
$main_dark: darken($bg_color, 5%);
$gray: lighten(#2e3440, 15%);
$fg_color: #d8dee9;
$dracula: darken(#2e3440, 8%);
$topbar_color: #d8dee9;

$lime: #a3be8c;
$red: #bf616a;
$purple: #b48ead;
$cyan: #88c0d0;

$selected_fg_color: #fefefe;
$selected_bg_color:transparentize(#8fbcbb, 0.3);
$selected_borders_color: darken($selected_bg_color, 10%);
$borders_color: darken(#2e3440, 7%);
$borders_edge: transparentize(white, 0.9);
$link_color: $cyan;
$link_visited_color: transparentize($link_color,0.5);
$top_hilight: $borders_edge;
$top_highlight: transparentize(white, 0.9);
$bottom_highlight: transparentize(black, 0.9);

$warning_color: darken(#d08770,10%);
$error_color: darken( $red,5%);
$success_color: darken($cyan,10%);
$destructive_color: darken( #c72240,10%);

$osd_fg_color: $fg_color;
$osd_bg_color: transparentize($bg_color, 0.05);
$osd_borders_color: transparentize(black, 0.3);
$osd_outer_borders_color: transparentize(white, 0.9);

$tooltip_borders_color: $osd_outer_borders_color;

//insensitive state derived colors
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
$insensitive_bg_color: mix($bg_color, $base_color, 60%);
$insensitive_borders_color: $borders_color;

//colors for the backdrop state, derived from the main colors.
$backdrop_base_color: lighten($base_color,1%);
$backdrop_bg_color: $bg_color;
$backdrop_fg_color: transparentize($fg_color, 0.2);
$backdrop_insensitive_color: lighten($backdrop_bg_color, 15%);
$backdrop_borders_color: mix($borders_color, $bg_color, 90%);
$backdrop_dark_fill: mix($backdrop_borders_color,$backdrop_bg_color, 35%);
