aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtk-3.0/scss/_global.scss
blob: f593c0c43a4217dfc82560ed480f2f883da1c4f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// scss-lint:disable ColorVariable

@import "functions";

// default color scheme
$bg_color: if($variant == "dark", #eeeeee, #212121);
$fg_color: if($variant == "dark", #212121, #eeeeee);
$base_color: if($variant == "dark", #eeeeee, #212121);
$text_color: if($variant == "dark", #212121, #eeeeee);
$button_bg_color: if($variant == "dark", #eeeeee, #212121);
$button_fg_color: if($variant == "dark", #212121, #eeeeee);
$header_button_bg_color: #212121;
$header_button_fg_color: #eeeeee;
$selected_bg_color: #2962FF;
$selected_fg_color: #ffffff;
$tooltip_bg_color: #212121;
$tooltip_fg_color: #eeeeee;

// dark colors
$dark_bg_color: #212121;
$dark_fg_color: #eeeeee;

// shadows
$dark_shadow: #212121;
$light_shadow: #fff;

// white and black
$black: #000;
$white: #fff;

// misc colors used by gtk+
$info_fg_color: #fff;
$info_bg_color: #2962FF;
$warning_fg_color: #fff;
$warning_bg_color: #E65100;
$question_fg_color: #fff;
$question_bg_color: #673ab7;
$error_fg_color: #fff;
$error_bg_color: #F44336;
$link_color: #2962FF;
$success_color: #90EE02;
$warning_color: #E65100;
$error_color: #F44336;

$toolbar_bg_color: $bg_color;
$toolbar_fg_color: $fg_color;

$titlebar_bg_color: $dark_bg_color;
$titlebar_fg_color: $dark_fg_color;

$menu_bg_color: $dark_bg_color;
$menu_fg_color: $dark_fg_color;

$menubar_bg_color: $dark_bg_color;
$menubar_fg_color: $dark_fg_color;

$panel_bg_color: $dark_bg_color;
$panel_fg_color: $dark_fg_color;

$osd_base: $dark_bg_color;
$osd_fg: $dark_fg_color;
$osd_bg: alpha($osd_base, 0.8);

$lightdm_bg_color: $dark_bg_color;
$lightdm_fg_color: $dark_fg_color;

$wm_bg: $titlebar_bg_color;
$wm_border_focused: transparent;
$wm_border_unfocused: transparent;
$wm_title_focused: mix($titlebar_fg_color, $titlebar_bg_color, .1);
$wm_title_unfocused: mix($titlebar_fg_color, $titlebar_bg_color, .4);
$wm_icons_focused: mix($titlebar_fg_color, $titlebar_bg_color, .1);
$wm_icons_focused_prelight: $selected_bg_color;
$wm_icons_focused_pressed: shade($selected_bg_color, .8);
$wm_icons_unfocused: mix($titlebar_fg_color, $titlebar_bg_color, .4);
$wm_icons_unfocused_prelight: $selected_bg_color;
$wm_icons_unfocused_pressed: shade($selected_bg_color, .8);

// widget styles
$roundness: 3px;
$spacing: 3px;
$gradient: 0.0;

$contrast: .8;