Fix bug when the focused window deinitialized
[notion.git] / contrib / styles / look_bluecurve.lua
bloba60771ce0bdfdcb368ae797c7a7a4233b119c745
1 -- Authors: Unknown
2 -- License: Unknown
3 -- Last Changed: Unknown
4 --
5 -- look_bluecurve.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 = "#e6e6e6",
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 = "#ffffff",
27 highlight_colour = "#a1a1a1",
28 padding_colour = "#e6e6e6",
29 background_colour = "#e6e6e6",
30 foreground_colour = "#ffffff",
31 padding_pixels = 2,
32 highlight_pixels = 1,
33 shadow_pixels = 1,
36 de.defstyle("frame-tiled", {
37 based_on = "frame",
38 border_style = "inlaid",
39 padding_pixels = 1,
40 spacing = 1,
43 de.defstyle("frame-floating", {
44 based_on = "frame",
45 border_style = "ridge"
48 de.defstyle("tab", {
49 based_on = "*",
50 font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
51 de.substyle("active-selected", {
52 shadow_colour = "#404679",
53 highlight_colour = "#c0c6f9",
54 background_colour = "#8086b9",
55 foreground_colour = "#ffffff",
56 }),
57 de.substyle("active-unselected", {
58 shadow_colour = "#a1a1a1",
59 highlight_colour = "#ffffff",
60 background_colour = "#e6e6e6",
61 foreground_colour = "#000000",
62 }),
63 de.substyle("inactive-selected", {
64 shadow_colour = "#a1a1a1",
65 highlight_colour = "#ffffff",
66 background_colour = "#e6e6e6",
67 foreground_colour = "#000000",
68 }),
69 de.substyle("inactive-unselected", {
70 shadow_colour = "#ffffff",
71 highlight_colour = "#a1a1a1",
72 background_colour = "#e6e6e6",
73 foreground_colour = "#a0a0a0",
74 }),
75 text_align = "center",
78 de.defstyle("tab-frame", {
79 based_on = "tab",
80 de.substyle("*-*-*-*-activity", {
81 shadow_colour = "#404040",
82 highlight_colour = "#707070",
83 background_colour = "#990000",
84 foreground_colour = "#eeeeee",
85 }),
88 de.defstyle("tab-frame-tiled", {
89 based_on = "tab-frame",
90 spacing = 1,
93 de.defstyle("tab-menuentry", {
94 based_on = "tab",
95 text_align = "left",
96 highlight_pixels = 0,
97 shadow_pixels = 0,
100 de.defstyle("tab-menuentry-big", {
101 based_on = "tab-menuentry",
102 font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
103 padding_pixels = 7,
106 de.defstyle("input", {
107 based_on = "*",
108 shadow_colour = "#404040",
109 highlight_colour = "#707070",
110 background_colour = "#e6e6e6",
111 foreground_colour = "#000000",
112 padding_pixels = 1,
113 highlight_pixels = 1,
114 shadow_pixels = 1,
115 border_style = "elevated",
116 de.substyle("*-cursor", {
117 background_colour = "#ffffff",
118 foreground_colour = "#000000",
120 de.substyle("*-selection", {
121 background_colour = "#505050",
122 foreground_colour = "#ffffff",
126 de.defstyle("input-menu", {
127 based_on = "*",
128 de.substyle("active", {
129 shadow_colour = "#304050",
130 highlight_colour = "#708090",
131 background_colour = "#506070",
132 foreground_colour = "#ffffff",
136 de.defstyle("stdisp", {
137 based_on = "*",
138 shadow_pixels = 0,
139 highlight_pixels = 0,
140 text_align = "left",
141 --font = "fixed",
143 de.substyle("important", {
144 foreground_colour = "green",
147 de.substyle("critical", {
148 foreground_colour = "red",
152 gr.refresh()