@import "colors.css";

@define-color window_fg @theme_fg_color;
@define-color window_bg @theme_bg_color;
@define-color text_widget_fg @theme_text_color;
@define-color text_widget_bg @theme_base_color;

@define-color disabled_fg @insensitive_fg_color;
@define-color disabled_bg @insensitive_bg_color;

@define-color selected_fg @theme_selected_fg_color;
@define-color selected_bg @theme_selected_bg_color;


@define-color button_fg @theme_button_foreground_normal;
@define-color button_bg @theme_button_background_normal;
@define-color button_pushed_fg @button_fg;
@define-color button_pushed_bg mix(@button_bg, @selected_bg, 0.5);

@define-color border_color shade(mix(@window_fg, @text_widget_bg, 0.5), 0.5);


@define-color warning_color @warning_color;
@define-color error_color @error_color;
@define-color success_color @success_color;


@define-color titlebar_active_fg @selected_fg;
@define-color titlebar_active_bg @selected_bg;

@define-color titlebar_backdrop_fg @window_fg;
@define-color titlebar_backdrop_bg @window_bg;

@define-color hint_fg @tooltip_text;
@define-color hint_bg @tooltip_background;

