Fix bug when the focused window deinitialized
[notion.git] / contrib / styles / look_ootput.lua
blobe39a4a35af01ef50ac97601182b8edc74699955d
1 -- Authors: ootput
2 -- License: Unknown
3 -- Last Changed: Unknown
4 --
5 -- look-ootput.lua drawing engine configuration file for Ion.
6 ---- <http://metawire.org/~ootput>
8 if not gr.select_engine("de") then return end
10 de.reset()
12 de.defstyle("*", {
13 shadow_colour = "grey20",
14 highlight_colour = "grey20",
15 background_colour = "black",
16 foreground_colour = "#778bb3",
17 padding_pixels = 1,
18 highlight_pixels = 0,
19 shadow_pixels = 0,
20 border_style = "elevated",
21 font = "profont11",
22 text_align = "center",
25 de.defstyle("frame", {
26 based_on = "*",
27 padding_colour = "grey20",
28 transparent_background = true,
29 background_colour = "black",
30 de.substyle("active", {
31 shadow_colour = "black",
32 highlight_colour = "black",
33 padding_colour = "#778bb3",
34 background_colour = "black",
35 }),
38 de.defstyle("frame-ionframe", {
39 based_on = "frame",
40 padding_pixels = 1,
41 highlight_pixels = 0,
42 shadow_pixels = 0,
43 spacing = 0,
46 de.defstyle("tab", {
47 based_on = "*",
48 de.substyle("active-selected", {
49 shadow_colour = "#374b83",
50 highlight_colour = "#374b83",
51 background_colour = "#778bb3",
52 foreground_colour = "black",
53 padding_colour = "black",
54 }),
55 de.substyle("active-unselected", {
56 foreground_colour = "grey40",
57 padding_colour = "#000060",
58 }),
59 de.substyle("inactive-selected", {
60 foreground_colour = "#778bb3",
61 padding_colour = "#000060",
62 }),
63 de.substyle("inactive-unselected", {
64 foreground_colour = "grey40",
65 padding_colour = "#000060",
66 }),
67 text_align = "center",
70 de.defstyle("tab-frame", {
71 based_on = "tab",
72 de.substyle("*-*-*-*-activity", {
73 background_colour = "#ff8171",
74 foreground_colour = "black",
75 }),
78 de.defstyle("tab-menuentry", {
79 based_on = "*",
80 text_align = "left",
81 de.substyle("active-selected", {
82 shadow_colour = "#374b83",
83 highlight_colour = "#374b83",
84 background_colour = "#778bb3",
85 foreground_colour = "black",
86 }),
87 de.substyle("active-unselected", {
88 foreground_colour = "#778bb3",
89 }),
90 de.substyle("inactive-selected", {
91 background_colour = "#97abd3",
92 foreground_colour = "black",
93 }),
94 de.substyle("inactive-unselected", {
95 foreground_colour = "grey40",
96 }),
99 de.defstyle("tab-menuentry-big", {
100 based_on = "tab-menuentry",
101 padding_pixels = 5,
104 de.defstyle("input", {
105 based_on = "*",
106 shadow_colour = "black",
107 highlight_colour = "black",
108 background_colour = "#778bb3",
109 foreground_colour = "black",
110 de.substyle("*-cursor", {
111 background_colour = "white",
112 foreground_colour = "black",
114 de.substyle("*-selection", {
115 background_colour = "#aaaaaa",
116 foreground_colour = "black",
120 de.defstyle("stdisp", {
121 based_on = "tab",
122 background_colour = "#000000",
123 padding_colour = "#000000",
124 de.substyle("important", { foreground_colour = "#ffff00", }),
125 de.substyle("critical", { foreground_colour = "#ff0000", }),
126 de.substyle("gray", { foreground_colour = "#505050", }),
127 de.substyle("red", { foreground_colour = "#ff0000", }),
128 de.substyle("green", { foreground_colour = "#00ff00", }),
129 de.substyle("blue", { foreground_colour = "#0000ff", }),
130 de.substyle("cyan", { foreground_colour = "#00ffff", }),
131 de.substyle("magenta", { foreground_colour = "#ff00ff", }),
132 de.substyle("yellow", { foreground_colour = "#ffff00", }),
135 de.defstyle("dock", {
136 outline_style = "all",
139 gr.refresh()