// Gruvbox Material theme

$rosewater:    #f5e0dc;
$flamingo:     #f2cdcd;
$pink:         #f5c2e7;
$mauve:        #cba6f7;
$red:          #f38ba8;
$maroon:       #eba0ac;
$peach:        #fab387;
$yellow:       #f9e2af;
$green:        #a6e3a1;
$teal:         #94e2d5;
$sky:          #89dceb;
$sapphire:     #74c7ec;
$blue:         #89b4fa;
$lavender:     #b4befe;


$subtext1:     #bac2de;
$subtext0:     #a6adc8;
$overlay2:     #9399b2;
$overlay1:     #7f849c;
$overlay0:     #6c7086;
$surface2:     #585b70;
$surface1:     #45475a;
$surface0:     #313244;
$base:         #1e1e2e;
$mantle:       #181825;
$crust:        #11111b;

$bg0:          #1e1e2e;
$bg:           #1e1e2e;
$bg1:          #313244;
$white-text:   #cdd6f4;
$fg:           $white-text;

$fg-opposite:  scale-color($fg, $lightness: -15%, $saturation: -25%);

// Box shadow of modules automatically calculated from the background color
$shadow:              scale-color($bg, $lightness: -40%, $saturation: -28%);

$fg-alt:              $shadow;
@if lightness($bg) < 50% {
  $fg-alt:            scale-color($bg, $lightness: 27%);
}

// Accent color used by the River active tags
$accent-color:        $fg;

// Foreground + accent color for modules w/o backgrounds
$fg-no-bg:            $fg;
$accent-color-no-bg:  $shadow;

// Set this to true or false depending if the mpd module is readable
$dark-theme:          true;

@if $dark-theme {
  $fg-no-bg:             $fg-opposite;
  $accent-color-no-bg:   $bg;
}

$gayflag0: #078D70;
$gayflag1: #26CEAA;
$gayflag2: #98E8C1;
$gayflag3: #FFFFFF;
$gayflag4: #7BADE2;
$gayflag5: #5049CC;
$gayflag6: #3D1A78;
$gayflag7: #225474;
