@import "global";

/* dark color scheme */
@define-color dark_bg_color #{"" + $dark_bg_color};
@define-color dark_fg_color #{"" + $dark_fg_color};

/* colormap actually used by the theme, to be overridden in other css files */
@define-color theme_bg_color #{"" + $bg_color};
@define-color theme_fg_color #{"" + $fg_color};
@define-color theme_base_color #{"" + $base_color};
@define-color theme_text_color #{"" + $text_color};
@define-color theme_selected_bg_color #{"" + $selected_bg_color};
@define-color theme_selected_fg_color #{"" + $selected_fg_color};
@define-color theme_tooltip_bg_color #{"" + $tooltip_bg_color};
@define-color theme_tooltip_fg_color #{"" + $tooltip_fg_color};

/* shadow effects */
@define-color light_shadow #{"" + $light_shadow};
@define-color dark_shadow #{"" + $dark_shadow};

/* misc colors used by gtk+ */
@define-color info_fg_color #{"" + $info_fg_color};
@define-color info_bg_color #{"" + $info_bg_color};
@define-color warning_fg_color #{"" + $warning_fg_color};
@define-color warning_bg_color #{"" + $warning_bg_color};
@define-color question_fg_color #{"" + $question_fg_color};
@define-color question_bg_color #{"" + $question_bg_color};
@define-color error_fg_color #{"" + $error_fg_color};
@define-color error_bg_color #{"" + $error_bg_color};
@define-color link_color #{"" + $link_color};
@define-color success_color #{"" + $success_color};
@define-color warning_color #{"" + $warning_color};
@define-color error_color #{"" + $error_color};

/* widget colors */
@define-color titlebar_bg_color @dark_bg_color;
@define-color titlebar_fg_color @dark_fg_color;
@define-color menubar_bg_color @dark_bg_color;
@define-color menubar_fg_color @dark_fg_color;
@define-color toolbar_bg_color @theme_bg_color;
@define-color toolbar_fg_color @theme_fg_color;
@define-color menu_bg_color @dark_bg_color;
@define-color menu_fg_color @dark_fg_color;
@define-color panel_bg_color @dark_bg_color;
@define-color panel_fg_color @dark_fg_color;
@define-color borders #{"" + $borders_color};
@define-color unfocused_borders #{"" + $backdrop_borders_color};

@define-color button_bg_color #{"" + $button_bg_color};
@define-color button_fg_color #{"" + $button_fg_color};
@define-color header_button_bg_color #{"" + $header_button_bg_color};
@define-color header_button_fg_color #{"" + $header_button_fg_color};

@define-color insensitive_bg_color #{"" + $insensitive_bg_color};
@define-color insensitive_fg_color #{"" + $insensitive_fg_color};

/* osd */
@define-color osd_base #{"" + $osd_base};
@define-color osd_bg #{"" + $osd_bg};
@define-color osd_fg #{"" + $osd_fg};
@define-color osd_insensitive_bg_color #{"" + $osd_insensitive_bg_color};
@define-color osd_insensitive_fg_color #{"" + $osd_insensitive_fg_color};
@define-color osd_borders_color #{"" + $osd_borders_color};

/* lightdm greeter colors */
@define-color lightdm_bg_color #{"" + $lightdm_bg_color};
@define-color lightdm_fg_color #{"" + $lightdm_fg_color};

/* widget text/foreground color on backdrop windows */
@define-color theme_unfocused_fg_color #{"" + $backdrop_fg_color};

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

/* widget base background color on backdrop windows */
@define-color theme_unfocused_bg_color #{"" + $backdrop_bg_color};

/* text widgets and the like base background color on backdrop windows */
@define-color theme_unfocused_base_color #{"" + $backdrop_base_color};

/* base background color of selections on backdrop windows */
@define-color theme_unfocused_selected_bg_color #{"" + $selected_bg_color};

/* text/foreground color of selections on backdrop windows */
@define-color theme_unfocused_selected_fg_color #{"" + $selected_fg_color};

/* insensitive color on backdrop windows*/
@define-color unfocused_insensitive_color #{"" + $backdrop_insensitive_color};

/* window manager colors */
@define-color wm_bg #{"" + $wm_bg};
@define-color wm_border_focused #{"" + $wm_border_focused};
@define-color wm_border_unfocused #{"" + $wm_border_unfocused};
@define-color wm_title_focused #{"" + $wm_title_focused};
@define-color wm_title_unfocused #{"" + $wm_title_unfocused};
@define-color wm_icons_focused #{"" + $wm_icons_focused};
@define-color wm_icons_focused_prelight #{"" + $wm_icons_focused_prelight};
@define-color wm_icons_focused_pressed #{"" + $wm_icons_unfocused_pressed};
@define-color wm_icons_unfocused #{"" + $wm_icons_unfocused};
@define-color wm_icons_unfocused_prelight #{"" + $wm_icons_unfocused_prelight};
@define-color wm_icons_unfocused_pressed #{"" + $wm_icons_unfocused_pressed};

/* misc numix/oomox-specific */
@define-color roundness #{"rgb("+$_roundness+", "+$_roundness+", "+$_roundness+")"};
@define-color spacing #{"rgb("+$_spacing+", "+$_spacing+", "+$_spacing+")"};
