]> git.decadent.org.uk Git - ion3.git/blob - etc/look_dusky.lua
[svn-inject] Installing original source of ion3
[ion3.git] / etc / look_dusky.lua
1 -- look_dusky.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 = "#404040",
9     highlight_colour = "#707070",
10     background_colour = "#505050",
11     foreground_colour = "#a0a0a0",
12     padding_pixels = 1,
13     highlight_pixels = 1,
14     shadow_pixels = 1,
15     border_style = "elevated",
16     font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
17     text_align = "center",
18 })
19
20 de.defstyle("frame", {
21     based_on = "*",
22     shadow_colour = "#404040",
23     highlight_colour = "#707070",
24     padding_colour = "#505050",
25     background_colour = "#000000",
26     foreground_colour = "#ffffff",
27     padding_pixels = 2,
28     highlight_pixels = 1,
29     shadow_pixels = 1,
30 })
31
32 de.defstyle("tab", {
33     based_on = "*",
34     font = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
35     de.substyle("active-selected", {
36         shadow_colour = "#452727",
37         highlight_colour = "#866868",
38         background_colour = "#664848",
39         foreground_colour = "#ffffff",
40     }),
41     de.substyle("active-unselected", {
42         shadow_colour = "#351818",
43         highlight_colour = "#765858",
44         background_colour = "#563838",
45         foreground_colour = "#a0a0a0",
46     }),
47     de.substyle("inactive-selected", {
48         shadow_colour = "#404040",
49         highlight_colour = "#909090",
50         background_colour = "#606060",
51         foreground_colour = "#a0a0a0",
52     }),
53     de.substyle("inactive-unselected", {
54         shadow_colour = "#404040",
55         highlight_colour = "#707070",
56         background_colour = "#505050",
57         foreground_colour = "#a0a0a0",
58     }),
59     text_align = "center",
60 })
61
62 de.defstyle("tab-menuentry", {
63     based_on = "tab",
64     text_align = "left",
65     highlight_pixels = 0,
66     shadow_pixels = 0,
67 })
68
69 de.defstyle("tab-menuentry-big", {
70     based_on = "tab-menuentry",
71     font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
72     padding_pixels = 7,
73 })
74
75 de.defstyle("input", {
76     based_on = "*",
77     shadow_colour = "#404040",
78     highlight_colour = "#707070",
79     background_colour = "#000000",
80     foreground_colour = "#ffffff",
81     border_style = "elevated",
82     de.substyle("*-cursor", {
83         background_colour = "#ffffff",
84         foreground_colour = "#000000",
85     }),
86     de.substyle("*-selection", {
87         background_colour = "#505050",
88         foreground_colour = "#ffffff",
89     }),
90 })
91
92 de.defstyle("input-menu", {
93     based_on = "*",
94     de.substyle("active", {
95         shadow_colour = "#452727",
96         highlight_colour = "#866868",
97         background_colour = "#664848",
98         foreground_colour = "#ffffff",
99     }),
100 })
101
102 dopath("lookcommon_emboss")
103
104 gr.refresh()
105