]> git.decadent.org.uk Git - ion3.git/blob - etc/look_clean.lua
a95cbf3873397e84bcd1a79a91624c6ee9d0b6c5
[ion3.git] / etc / look_clean.lua
1 -- look_clean.lua drawing engine configuration file for Ion.
2
3 if not gr.select_engine("de") then return end
4
5 de.reset()
6
7 de.defstyle("*", {
8     shadow_colour = "grey",
9     highlight_colour = "grey",
10     background_colour = "#545d75",
11     foreground_colour = "grey",
12     padding_pixels = 1,
13     highlight_pixels = 1,
14     shadow_pixels = 1,
15     border_style = "elevated",
16     font = "-misc-fixed-medium-r-*-*-13-*-*-*-*-60-*-*",
17     text_align = "center",
18 })
19
20 de.defstyle("tab", {
21     based_on = "*",
22     font = "-misc-fixed-medium-r-*-*-13-*-*-*-*-60-*-*",
23     de.substyle("active-selected", {
24         shadow_colour = "white",
25         highlight_colour = "white",
26         background_colour = "#8a999e",
27         foreground_colour = "white",
28     }),
29     de.substyle("active-unselected", {
30         shadow_colour = "grey",
31         highlight_colour = "grey",
32         background_colour = "#545d75",
33         foreground_colour = "grey",
34     }),
35     de.substyle("inactive-selected", {
36         shadow_colour = "grey",
37         highlight_colour = "grey",
38         background_colour = "#545d75",
39         foreground_colour = "grey",
40     }),
41     de.substyle("inactive-unselected", {
42         shadow_colour = "grey",
43         highlight_colour = "grey",
44         background_colour = "#545d75",
45         foreground_colour = "grey",
46     }),
47     text_align = "center",
48 })
49
50 de.defstyle("input", {
51     based_on = "*",
52     shadow_colour = "grey",
53     highlight_colour = "grey",
54     background_colour = "#545d75",
55     foreground_colour = "white",
56     padding_pixels = 1,
57     highlight_pixels = 1,
58     shadow_pixels = 1,
59     border_style = "elevated",
60     de.substyle("*-cursor", {
61         background_colour = "white",
62         foreground_colour = "#545d75",
63     }),
64     de.substyle("*-selection", {
65         background_colour = "#aaaaaa",
66         foreground_colour = "black",
67     }),
68     font = "-misc-fixed-medium-r-*-*-13-*-*-*-*-60-*-*",
69 })
70
71 dopath("lookcommon_clean")
72
73 de.defstyle("tab-menuentry-big", {
74     based_on = "tab-menuentry",
75     padding_pixels = 7,
76 })
77
78 gr.refresh()
79