Fix bug when the focused window deinitialized
[notion.git] / contrib / styles / look_cleanpastel.lua
blob6bf0e1491a6bf437e33257a0b637551e86c2a225
1 -- Authors: Unknown
2 -- License: Unknown
3 -- Last Changed: Unknown
4 --
5 -- look-cleanpastel.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 = "#ffffff",
13 highlight_colour = "#ffffff",
14 background_colour = "#d8d8d8",
15 foreground_colour = "#000000",
16 padding_pixels = 1,
17 highlight_pixels = 1,
18 shadow_pixels = 1,
19 spacing = 0,
20 border_style = "elevated",
21 font = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
22 text_align = "center",
25 de.defstyle("frame", {
26 based_on = "*",
27 padding_colour = "#d8d8d8",
28 background_colour = "#000000",
29 transparent_background = false,
33 de.defstyle("frame-ionframe", {
34 based_on = "frame",
35 shadow_pixels = 0,
36 highlight_pixels = 0,
37 padding_pixels = 0,
38 spacing = 1,
41 de.defstyle("tab", {
42 based_on = "*",
43 font = "-*-helvetica-bold-r-normal-*-10-*-*-*-*-*-*-*",
44 de.substyle("active-selected", {
45 shadow_colour = "#e0f0e0",
46 highlight_colour = "#b0c0b6",
47 background_colour = "#70b0a6",
48 foreground_colour = "#000000",
49 }),
50 de.substyle("inactive-unselected", {
51 shadow_colour = "#ffffff",
52 highlight_colour = "#ffffff",
53 background_colour = "#d8d8d8",
54 foreground_colour = "#606060",
55 }),
56 text_align = "center",
59 de.defstyle("tab-frame", {
60 based_on = "tab",
61 de.substyle("*-*-*-*-activity", {
62 shadow_colour = "#ffffff",
63 highlight_colour = "#ffffff",
64 background_colour = "#990000",
65 foreground_colour = "#eeeeee",
66 }),
69 de.defstyle("tab-frame-ionframe", {
70 based_on = "tab-frame",
71 spacing = 1,
74 de.defstyle("tab-menuentry", {
75 based_on = "tab",
76 text_align = "left",
77 spacing = 1,
80 de.defstyle("tab-menuentry-big", {
81 based_on = "tab-menuentry",
82 font = "-*-helvetica-medium-r-normal-*-18-*-*-*-*-*-*-*",
83 padding_pixels = 10,
86 de.defstyle("input-edln", {
87 based_on = "*",
88 de.substyle("*-cursor", {
89 background_colour = "#000000",
90 foreground_colour = "#d8d8d8",
91 }),
92 de.substyle("*-selection", {
93 background_colour = "#f0c000",
94 foreground_colour = "#000000",
95 }),
98 gr.refresh()