]> git.decadent.org.uk Git - ion3.git/blob - etc/look_clean.lua
[svn-inject] Installing original source of ion3
[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("frame", {
21     based_on = "*",
22     padding_colour = "#545d75",
23     background_colour = "black",
24     de.substyle("active", {
25         shadow_colour = "grey",
26         highlight_colour = "grey",
27         padding_colour = "#545d75",
28         background_colour = "black",
29     }),
30 })
31
32 de.defstyle("tab", {
33     based_on = "*",
34     font = "-misc-fixed-medium-r-*-*-13-*-*-*-*-60-*-*",
35     de.substyle("active-selected", {
36         shadow_colour = "white",
37         highlight_colour = "white",
38         background_colour = "#8a999e",
39         foreground_colour = "white",
40     }),
41     de.substyle("active-unselected", {
42         shadow_colour = "grey",
43         highlight_colour = "grey",
44         background_colour = "#545d75",
45         foreground_colour = "grey",
46     }),
47     de.substyle("inactive-selected", {
48         shadow_colour = "grey",
49         highlight_colour = "grey",
50         background_colour = "#545d75",
51         foreground_colour = "grey",
52     }),
53     de.substyle("inactive-unselected", {
54         shadow_colour = "grey",
55         highlight_colour = "grey",
56         background_colour = "#545d75",
57         foreground_colour = "grey",
58     }),
59     text_align = "center",
60 })
61
62 de.defstyle("tab-menuentry", {
63     based_on = "tab",
64     text_align = "left",
65     de.substyle("inactive-selected", {
66         shadow_colour = "grey",
67         highlight_colour = "grey",
68         background_colour = "#8a999e",
69         foreground_colour = "grey",
70     }),
71 })
72
73 de.defstyle("tab-menuentry-big", {
74     based_on = "tab-menuentry",
75     padding_pixels = 7,
76 })
77
78 de.defstyle("input", {
79     based_on = "*",
80     shadow_colour = "grey",
81     highlight_colour = "grey",
82     background_colour = "#545d75",
83     foreground_colour = "white",
84     padding_pixels = 1,
85     highlight_pixels = 1,
86     shadow_pixels = 1,
87     border_style = "elevated",
88     de.substyle("*-cursor", {
89         background_colour = "white",
90         foreground_colour = "#545d75",
91     }),
92     de.substyle("*-selection", {
93         background_colour = "#aaaaaa",
94         foreground_colour = "black",
95     }),
96     font = "-misc-fixed-medium-r-*-*-13-*-*-*-*-60-*-*",
97 })
98
99 dopath("lookcommon_clean")
100
101 gr.refresh()
102