Fix bug when the focused window deinitialized
[notion.git] / contrib / styles / look_cleanwhite.lua
blob59ca911ae303b96038b148946cfeb3359ba4eef9
1 -- Authors: René van Bevern <rvb@debian.org>
2 -- License: Unknown
3 -- Last Changed: Unknown
4 --
5 -- look_cleanwhite.lua a bright theme fitting white terminals
6 --
7 -- uses Terminus fonts
8 --
9 -- -- René van Bevern <rvb@debian.org>
11 if not gr.select_engine("de") then return end
13 de.reset()
15 de.defstyle("*", {
16 shadow_colour = "grey70",
17 highlight_colour = "grey70",
18 background_colour = "grey90",
19 foreground_colour = "black",
20 padding_pixels = 1,
21 highlight_pixels = 1,
22 shadow_pixels = 1,
23 spacing = 1,
24 border_style = "elevated",
25 font = "-xos4-terminus-medium-r-normal-*-12-*-72-72-*-60-iso10646-1",
26 text_align = "center",
29 de.defstyle("frame", {
30 based_on = "*",
32 de.substyle("active", {
33 padding_colour = "black",
34 }),
36 padding_colour = "grey70",
37 background_colour = "white",
38 shadow_colour = "white",
39 highlight_colour = "white",
40 transparent_background = false,
44 de.defstyle("tab", {
45 based_on = "*",
46 highlight_pixels = 1,
47 shadow_pixels = 1,
48 padding_pixels = 0,
49 highlight_colour = "grey70",
50 shadow_colour = "grey70",
51 de.substyle("active-selected", {
52 shadow_colour = "black",
53 highlight_colour = "black",
54 background_colour = "darkslategray",
55 foreground_colour = "white",
56 }),
57 de.substyle("inactive-unselected", {
58 background_colour = "#d8d8d8",
59 foreground_colour = "#606060",
60 }),
61 text_align = "center",
64 de.defstyle("tab-menuentry", {
65 based_on = "tab",
66 text_align = "left",
67 spacing = 1,
70 de.defstyle("tab-menuentry-big", {
71 based_on = "tab-menuentry",
72 padding_pixels = 10,
75 de.defstyle("input-edln", {
76 based_on = "*",
77 de.substyle("*-cursor", {
78 background_colour = "#000000",
79 foreground_colour = "#d8d8d8",
80 }),
81 de.substyle("*-selection", {
82 background_colour = "#f0c000",
83 foreground_colour = "#000000",
84 }),
87 gr.refresh()