Fix bug when the focused window deinitialized
[notion.git] / contrib / styles / look_ootput_dark.lua
blob4e8d916edac743a9c75cad991fd9b280c55a22df
1 -- Authors: ootput
2 -- License: Unknown
3 -- Last Changed: Unknown
4 --
5 -- look_ootput_dark.lua drawing engine configuration file for Ion.
6 ---- <ootput @ freenode>
8 if not gr.select_engine("de") then return end
10 de.reset()
12 de.defstyle("*", {
13 background_colour = "black",
14 foreground_colour = "#204a87",
15 font = "profont11",
16 border_style = "elevated",
17 highlight_colour = "grey20",
18 highlight_pixels = 0,
19 padding_pixels = 1,
20 shadow_colour = "grey20",
21 shadow_pixels = 0,
22 spacing = 0,
23 text_align = "center",
26 de.defstyle("frame", {
27 based_on = "*",
28 padding_colour = "grey10",
29 transparent_background = true,
30 de.substyle("active", {
31 shadow_colour = "black",
32 highlight_colour = "black",
33 padding_colour = "#204a87",
34 }),
37 de.defstyle("frame-ionframe", {
38 based_on = "frame",
41 de.defstyle("tab", {
42 based_on = "*",
43 de.substyle("active-selected", {
44 shadow_colour = "#374b83",
45 highlight_colour = "#374b83",
46 background_colour = "#204a87",
47 foreground_colour = "black",
48 padding_colour = "black",
49 }),
50 de.substyle("active-unselected", {
51 foreground_colour = "grey40",
52 padding_colour = "#000060",
53 }),
54 de.substyle("inactive-selected", {
55 padding_colour = "#000060",
56 }),
57 de.substyle("inactive-unselected", {
58 foreground_colour = "grey40",
59 padding_colour = "#000060",
60 }),
61 text_align = "center",
64 de.defstyle("tab-frame", {
65 based_on = "tab",
66 de.substyle("*-*-*-*-activity", {
67 foreground_colour = "#ff8171",
68 }),
71 de.defstyle("tab-menuentry", {
72 based_on = "*",
73 text_align = "left",
74 de.substyle("active-selected", {
75 shadow_colour = "#374b83",
76 highlight_colour = "#374b83",
77 background_colour = "#204a87",
78 foreground_colour = "black",
79 }),
80 de.substyle("active-unselected", {
81 }),
82 de.substyle("inactive-selected", {
83 background_colour = "#97abd3",
84 foreground_colour = "black",
85 }),
86 de.substyle("inactive-unselected", {
87 foreground_colour = "grey40",
88 }),
91 de.defstyle("tab-menuentry-big", {
92 based_on = "tab-menuentry",
95 de.defstyle("input", {
96 based_on = "*",
97 shadow_colour = "black",
98 highlight_colour = "black",
99 de.substyle("*-cursor", {
100 background_colour = "white",
101 foreground_colour = "black",
103 de.substyle("*-selection", {
104 foreground_colour = "#aaaaaa",
108 de.defstyle("stdisp", {
109 based_on = "tab",
110 padding_colour = "black",
111 de.substyle("important", { foreground_colour = "#ffff00", }),
112 de.substyle("critical", { foreground_colour = "#ff0000", }),
113 de.substyle("gray", { foreground_colour = "#505050", }),
114 de.substyle("red", { foreground_colour = "#ff0000", }),
115 de.substyle("green", { foreground_colour = "#00ff00", }),
116 de.substyle("blue", { foreground_colour = "#0000ff", }),
117 de.substyle("cyan", { foreground_colour = "#00ffff", }),
118 de.substyle("magenta", { foreground_colour = "#ff00ff", }),
119 de.substyle("yellow", { foreground_colour = "#ffff00", }),
122 de.defstyle("dock", {
123 outline_style = "all",
126 gr.refresh()