Class: Shellfie::Themes::Ubuntu
- Inherits:
-
Base
- Object
- Base
- Shellfie::Themes::Ubuntu
show all
- Defined in:
- lib/shellfie/themes/ubuntu.rb
Instance Method Summary
collapse
Methods inherited from Base
#color_for, #title_alignment
Instance Method Details
36
37
38
|
# File 'lib/shellfie/themes/ubuntu.rb', line 36
def button_colors
%w[#f46067 #f5bf55 #5fc454]
end
|
40
41
42
|
# File 'lib/shellfie/themes/ubuntu.rb', line 40
def button_style
:circles
end
|
44
45
46
|
# File 'lib/shellfie/themes/ubuntu.rb', line 44
def buttons_position
:right
end
|
#colors ⇒ Object
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# File 'lib/shellfie/themes/ubuntu.rb', line 22
def colors
super.merge(
background: "#300a24",
foreground: "#ffffff",
title_bar: "#2c2c2c",
title_text: "#ffffff",
green: "#4e9a06",
yellow: "#c4a000",
blue: "#3465a4",
magenta: "#75507b",
cyan: "#06989a"
)
end
|
#font ⇒ Object
48
49
50
51
52
53
54
55
|
# File 'lib/shellfie/themes/ubuntu.rb', line 48
def font
{
family: "Ubuntu Mono",
size: 14,
line_height: 1.4,
fallback_family: "DejaVu Sans Mono"
}
end
|
#name ⇒ Object
8
9
10
|
# File 'lib/shellfie/themes/ubuntu.rb', line 8
def name
"ubuntu"
end
|
#window_decoration ⇒ Object
12
13
14
15
16
17
18
19
20
|
# File 'lib/shellfie/themes/ubuntu.rb', line 12
def window_decoration
{
title_bar_height: 36,
button_size: 14,
button_spacing: 6,
corner_radius: 12,
shadow: { blur: 30, offset_x: 0, offset_y: 15, color: "rgba(0,0,0,0.35)" }
}
end
|