//apps rely on some named colors to be exported
/* GTK NAMED COLORS
   ----------------
   use responsibly! */

// Sass thinks we're using the colors in the variables as strings and may shoot
// warning, it's innocuous and can be defeated by using "" + $var
/*
widget text/foreground color */
@define-color theme_fg_color #{"" +$fg_color};

/*
text color for entries, views and content in general */
@define-color theme_text_color #{"" +$text_color};

/*
widget base background color */
@define-color theme_bg_color #{"" +$bg_color};

/*
text widgets and the like base background color */
@define-color theme_base_color #{"" +$base_color};

/*
base background color of selections */
@define-color theme_selected_bg_color #{"" +$selected_bg_color};

/*
text/foreground color of selections */
@define-color theme_selected_fg_color #{"" +$selected_fg_color};

/*
base background color of insensitive widgets */
@define-color insensitive_bg_color #{"" +$insensitive_bg_color};

/*
text foreground color of insensitive widgets */
@define-color insensitive_fg_color #{"" +$insensitive_fg_color};

/*
insensitive text widgets and the like base background color */
@define-color insensitive_base_color #{"" +$base_color};

/*
widgets main borders color */
@define-color borders #{"" +$borders_color};

/*
these are pretty self explicative */
@define-color warning_color #{"" +$warning_color};
@define-color error_color #{"" +$error_color};
@define-color success_color #{"" +$success_color};
//@define-color destructive_color #{$destructive_color}

//FIXME this is really an API

/* content view background such as thumbnails view in Photos or Boxes */
@define-color content_view_bg #{"" + $base_color};

/* Very contrasty background for text views (@theme_text_color foreground) */
@define-color text_view_bg #{"" + if($variant == 'light', $base_color, darken($base_color,6%))};
