Released version 3-2015061300
[notion.git] / contrib / styles / look_cleansteel.lua
blobbdef95c18f97a2262b60cb89f0085b6d6c18ce05
1 -- Authors: Unknown
2 -- License: Unknown
3 -- Last Changed: Unknown
4 --
5 -- look-cleansteel.lua drawing engine configuration file for Ion.
7 if not gr.select_engine("de") then return end
9 de.reset()
11 de.defstyle("*", {
12 shadow_colour = "#404040",
13 highlight_colour = "#707070",
14 background_colour = "#505050",
15 foreground_colour = "#a0a0a0",
16 padding_pixels = 1,
17 highlight_pixels = 1,
18 shadow_pixels = 1,
19 border_style = "elevated",
20 font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
21 text_align = "center",
24 de.defstyle("frame", {
25 based_on = "*",
26 --shadow_colour = "#404040",
27 --highlight_colour = "#707070",
28 padding_colour = "#505050",
29 background_colour = "#000000",
30 foreground_colour = "#ffffff",
31 padding_pixels = 1,
32 highlight_pixels = 1,
33 shadow_pixels = 1,
34 --de.substyle("active", {
35 -- shadow_colour = "#203040",
36 -- highlight_colour = "#607080",
37 -- padding_colour = "#405060",
38 -- foreground_colour = "#ffffff",
39 --}),
40 border_style = "ridge"
43 de.defstyle("frame-tiled", {
44 based_on = "frame",
45 spacing = 1,
46 padding_pixels = 0,
47 highlight_pixels = 0,
48 shadow_pixels = 0,
51 --de.defstyle("frame-floatframe", {
52 -- based_on = "frame",
53 --})
55 de.defstyle("tab", {
56 based_on = "*",
57 font = "-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*",
58 de.substyle("active-selected", {
59 shadow_colour = "#304050",
60 highlight_colour = "#708090",
61 background_colour = "#506070",
62 foreground_colour = "#ffffff",
63 }),
64 de.substyle("active-unselected", {
65 shadow_colour = "#203040",
66 highlight_colour = "#607080",
67 background_colour = "#405060",
68 foreground_colour = "#a0a0a0",
69 }),
70 de.substyle("inactive-selected", {
71 shadow_colour = "#404040",
72 highlight_colour = "#909090",
73 background_colour = "#606060",
74 foreground_colour = "#a0a0a0",
75 }),
76 de.substyle("inactive-unselected", {
77 shadow_colour = "#404040",
78 highlight_colour = "#707070",
79 background_colour = "#505050",
80 foreground_colour = "#a0a0a0",
81 }),
82 text_align = "center",
85 de.defstyle("tab-frame", {
86 based_on = "tab",
87 de.substyle("*-*-*-*-activity", {
88 shadow_colour = "#404040",
89 highlight_colour = "#707070",
90 background_colour = "#990000",
91 foreground_colour = "#eeeeee",
92 }),
95 de.defstyle("tab-frame-ionframe", {
96 based_on = "tab-frame",
97 spacing = 1,
100 de.defstyle("tab-menuentry", {
101 based_on = "tab",
102 text_align = "left",
103 highlight_pixels = 0,
104 shadow_pixels = 0,
107 de.defstyle("tab-menuentry-big", {
108 based_on = "tab-menuentry",
109 font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
110 padding_pixels = 7,
113 de.defstyle("input", {
114 based_on = "*",
115 shadow_colour = "#404040",
116 highlight_colour = "#707070",
117 background_colour = "#000000",
118 foreground_colour = "#ffffff",
119 padding_pixels = 1,
120 highlight_pixels = 1,
121 shadow_pixels = 1,
122 border_style = "elevated",
123 de.substyle("*-cursor", {
124 background_colour = "#ffffff",
125 foreground_colour = "#000000",
127 de.substyle("*-selection", {
128 background_colour = "#505050",
129 foreground_colour = "#ffffff",
133 de.defstyle("input-menu", {
134 based_on = "*",
135 de.substyle("active", {
136 shadow_colour = "#304050",
137 highlight_colour = "#708090",
138 background_colour = "#506070",
139 foreground_colour = "#ffffff",
143 de.defstyle("stdisp", {
144 based_on = "*",
145 shadow_pixels = 0,
146 highlight_pixels = 0,
147 background_colour = "#000000",
148 foreground_colour = "grey",
149 text_align = "left",
151 de.substyle("important", {
152 foreground_colour = "green",
155 de.substyle("critical", {
156 foreground_colour = "red",
160 gr.refresh()