_colors-public.scss
ASCII text
1//apps rely on some named colors to be exported 2/* GTK NAMED COLORS 3---------------- 4use responsibly! */ 5 6// Sass thinks we're using the colors in the variables as strings and may shoot 7// warning, it's innocuous and can be defeated by using "" + $var 8/* 9widget text/foreground color */ 10@define-color theme_fg_color #{"" +$fg_color}; 11 12/* 13text color for entries, views and content in general */ 14@define-color theme_text_color #{"" +$text_color}; 15 16/* 17widget base background color */ 18@define-color theme_bg_color #{"" +$bg_color}; 19 20/* 21text widgets and the like base background color */ 22@define-color theme_base_color #{"" +$base_color}; 23 24/* 25base background color of selections */ 26@define-color theme_selected_bg_color #{"" +$selected_bg_color}; 27 28/* 29text/foreground color of selections */ 30@define-color theme_selected_fg_color #{"" +$selected_fg_color}; 31 32/* 33base background color of insensitive widgets */ 34@define-color insensitive_bg_color #{"" +$bg_color}; 35 36/* 37text foreground color of insensitive widgets */ 38@define-color insensitive_fg_color #{"" +$insensitive_fg_color}; 39 40/* 41insensitive text widgets and the like base background color */ 42@define-color insensitive_base_color #{"" +$insensitive_base_color}; 43 44/* 45widget text/foreground color on backdrop windows */ 46@define-color theme_unfocused_fg_color #{"" +$fg_color}; 47 48/* 49text color for entries, views and content in general on backdrop windows */ 50@define-color theme_unfocused_text_color #{"" +$text_color}; 51 52/* 53widget base background color on backdrop windows */ 54@define-color theme_unfocused_bg_color #{"" +$bg_color}; 55 56/* 57text widgets and the like base background color on backdrop windows */ 58@define-color theme_unfocused_base_color #{"" +$base_color}; 59 60/* 61base background color of selections on backdrop windows */ 62@define-color theme_unfocused_selected_bg_color #{"" +$selected_bg_color}; 63 64/* 65text/foreground color of selections on backdrop windows */ 66@define-color theme_unfocused_selected_fg_color #{"" + $selected_fg_color}; 67 68/* 69widgets main borders color */ 70@define-color borders #{"" +$borders_color}; 71 72/* 73widgets main borders color on backdrop windows */ 74@define-color unfocused_borders #{"" +$borders_color}; 75 76/* 77these are pretty self explicative */ 78@define-color warning_color #{"" +$warning_color}; 79@define-color error_color #{"" +$error_color}; 80@define-color success_color #{"" +$success_color}; 81//@define-color destructive_color #{"" +$destructive_color} 82 83//WM 84 85/* 86these colors are exported for the window manager and shouldn't be used in applications, 87read if you used those and something break with a version upgrade you're on your own... */ 88@define-color wm_title #{"" +$fg_color}; 89@define-color wm_unfocused_title #{$backdrop_fg_color}; 90@define-color wm_highlight #{"" + $highlight_color}; 91@define-color wm_borders_edge #{"" + $highlight_color}; 92 93@define-color wm_bg_a #{$dark_color}; 94@define-color wm_bg_b #{$dark_color}; 95 96@define-color wm_shadow alpha(black, 0.35); 97@define-color wm_border alpha(black, 0.18); 98 99@define-color wm_button_hover_color_a shade(#{$bg_color}, 1.3); 100@define-color wm_button_hover_color_b #{$bg_color}; 101@define-color wm_button_active_color_a shade(#{$bg_color}, 0.85); 102@define-color wm_button_active_color_b shade(#{$bg_color}, 0.89); 103@define-color wm_button_active_color_c shade(#{$bg_color}, 0.9); 104 105//FIXME this is really an API 106 107@define-color content_view_bg #{"" + $base_color}; 108 109