-
Notifications
You must be signed in to change notification settings - Fork 3
/
theme.css
93 lines (83 loc) · 2.16 KB
/
theme.css
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
85
86
87
88
89
90
91
92
93
/**
* Dracula colors
*/
@define-color background #191622;
@define-color current_line_background #44475A;
@define-color foreground #E1E1E6;
@define-color foreground_lessimportant #585858;
@define-color accent #BD93F9;
@define-color highlight #8BE9FD;
@define-color boder_color #483C67;
/**
* App Window
*/
@define-color bg_color @background;
@define-color window_bg @background;
@define-color window_border_color @boder_color;
@define-color prefs_backgroud @foreground;
/**
* Input
*/
@define-color selected_bg_color @foreground;
@define-color selected_fg_color @background;
@define-color input_color @foreground;
@define-color caret_color @foreground;
/**
* Result items
*/
@define-color item_name @foreground;
@define-color item_text @foreground_lessimportant;
@define-color item_box_selected @current_line_background;
@define-color item_text_selected @accent;
@define-color item_name_selected @accent;
@define-color item_shortcut_color @foreground;
@define-color item_shortcut_shadow darker(@background);
@define-color item_shortcut_color_sel @highlight;
@define-color item_shortcut_shadow_sel darker(@item_box_selected);
.app {
background-color: @window_bg;
border-color: @window_border_color;
}
.input {
color: @input_color;
}
/**
* Selected text in input
*/
.input *:selected,
.input *:focus,
*:selected:focus {
background-color: alpha (@selected_bg_color, 0.9);
color: @selected_fg_color;
}
.item-text {
color: @item_text;
}
.item-name {
color: @item_name;
}
.selected.item-box {
background-color: @item_box_selected;
border-left: 1px solid @window_border_color;
border-right: 1px solid @window_border_color;
}
.selected.item-box .item-text {
color: @item_text_selected;
}
.selected.item-box .item-name {
color: @item_name_selected;
}
.item-shortcut {
color: @item_shortcut_color;
text-shadow: 1px 1px 1px @item_shortcut_shadow;
}
.selected.item-box .item-shortcut {
color: @item_shortcut_color_sel;
text-shadow: 1px 1px 1px @item_shortcut_shadow_sel;
}
.prefs-btn {
opacity: 0.8;
}
.prefs-btn:hover {
background-color: @prefs_backgroud;
}