Fix bug when the focused window deinitialized
[notion.git] / contrib / styles / look_moy.lua
blob08672e3ba25f75a4cc22c947496fdcbf765b9b0e
1 -- Authors: Unknown
2 -- License: Unknown
3 -- Last Changed: Unknown
4 --
5 -- look-greyviolet.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 = "#777777",
13 highlight_colour = "#eeeeee",
14 background_colour = "#aaaaaa",
15 foreground_colour = "#000000",
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 = "#777777",
27 highlight_colour = "#dddddd",
28 padding_colour = "#aaaaaa",
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 border_style = "inlaid",
36 shadow_colour = "#4444AA",
37 highlight_colour = "#ccaaff",
38 background_colour = "#aaaaaa",
39 foreground_colour = "#ffffff",
40 }),
43 de.defstyle("frame-ionframe", {
44 based_on = "frame",
45 border_style = "inlaid",
46 padding_pixels = 1,
47 spacing = 0,
48 de.substyle("active", {
49 highlight_pixels = 10,
50 shadow_pixels = 10,
51 padding_pixels = 10,
52 border_style = "inlaid",
53 shadow_colour = "#4422AA",
54 padding_colour = "#CCAADD",
55 highlight_colour = "#aa99CC",
56 background_colour = "#aaaaaa",
57 foreground_colour = "#ffffff",
58 }),
61 de.defstyle("frame-floatframe", {
62 based_on = "frame",
63 border_style = "ridge"
66 de.defstyle("tab", {
67 based_on = "*",
68 font = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
69 de.substyle("active-selected", {
70 shadow_colour = "#8888aa",
71 highlight_colour = "#333366",
72 background_colour = "#666699",
73 foreground_colour = "#eeeeee",
74 }),
75 de.substyle("active-unselected", {
76 shadow_colour = "#777777",
77 highlight_colour = "#cccccc",
78 background_colour = "#aaa5aa",
79 foreground_colour = "#000000",
80 }),
81 de.substyle("inactive-selected", {
82 shadow_colour = "#aaaadd",
83 highlight_colour = "#777788",
84 background_colour = "#9999aa",
85 foreground_colour = "#000000",
86 }),
87 de.substyle("inactive-unselected", {
88 shadow_colour = "#777777",
89 highlight_colour = "#cccccc",
90 background_colour = "#bbbbbb",
91 foreground_colour = "#222222",
92 }),
93 text_align = "center",
96 de.defstyle("tab-frame", {
97 based_on = "tab",
98 de.substyle("*-*-*-*-activity", {
99 shadow_colour = "#777777",
100 highlight_colour = "#eeeeee",
101 background_colour = "#990000",
102 foreground_colour = "#eeeeee",
106 de.defstyle("tab-frame-ionframe", {
107 based_on = "tab-frame",
108 spacing = 0,
111 de.defstyle("tab-frame-floatframe", {
112 based_on = "tab-frame",
113 de.substyle("active-selected", {
114 shadow_colour = "#333366",
115 highlight_colour = "#8888aa",
116 background_colour = "#666699",
117 foreground_colour = "#eeeeee",
119 de.substyle("active-unselected", {
120 shadow_colour = "#cccccc",
121 highlight_colour = "#777777",
122 background_colour = "#aaa5aa",
123 foreground_colour = "#000000",
125 de.substyle("inactive-selected", {
126 shadow_colour = "#777788",
127 highlight_colour = "#aaaadd",
128 background_colour = "#9999aa",
129 foreground_colour = "#000000",
131 de.substyle("inactive-unselected", {
132 shadow_colour = "#cccccc",
133 highlight_colour = "#777777",
134 background_colour = "#aaaaaa",
135 foreground_colour = "#000000",
139 de.defstyle("tab-menuentry", {
140 based_on = "tab",
141 text_align = "left",
142 highlight_pixels = 1,
143 shadow_pixels = 1,
146 de.defstyle("tab-menuentry-big", {
147 based_on = "tab-menuentry",
148 font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
149 padding_pixels = 7,
152 de.defstyle("input", {
153 based_on = "*",
154 font = "-Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1",
155 shadow_colour = "#777777",
156 highlight_colour = "#eeeeee",
157 background_colour = "#aaaaaa",
158 foreground_colour = "#100040",
159 padding_pixels = 1,
160 highlight_pixels = 1,
161 shadow_pixels = 1,
162 border_style = "elevated",
163 de.substyle("*-cursor", {
164 background_colour = "#300070",
165 foreground_colour = "#aaaaaa",
167 de.substyle("*-selection", {
168 background_colour = "#8080aa",
169 foreground_colour = "#300070",
173 gr.refresh()