]> git.decadent.org.uk Git - ion3.git/blob - etc/look_brownsteel.lua
[svn-inject] Installing original source of ion3
[ion3.git] / etc / look_brownsteel.lua
1 -- look_brownsteel.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 = 1,
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 = "#304050",
37         highlight_colour = "#708090",
38         background_colour = "#506070",
39         foreground_colour = "#ffffff",
40     }),
41     de.substyle("active-unselected", {
42         shadow_colour = "#203040",
43         highlight_colour = "#607080",
44         background_colour = "#405060",
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     padding_pixels = 1,
82     highlight_pixels = 1,
83     shadow_pixels = 1,
84     border_style = "elevated",
85     de.substyle("*-cursor", {
86         background_colour = "#ffffff",
87         foreground_colour = "#000000",
88     }),
89     de.substyle("*-selection", {
90         background_colour = "#505050",
91         foreground_colour = "#ffffff",
92     }),
93 })
94
95 de.defstyle("input-menu", {
96     based_on = "*",
97     de.substyle("active", {
98         shadow_colour = "#304050",
99         highlight_colour = "#708090",
100         background_colour = "#506070",
101         foreground_colour = "#ffffff",
102     }),
103 })
104
105 dopath("lookcommon_emboss")
106
107 gr.refresh()
108