Merge branch 'contrib_goto_focus'
[notion.git] / etc / look_greenlight.lua
blob513e9cbc19a4e7b75d2d3988e466beaf005e3241
1 --
2 -- look_greenlight for Notion's default drawing engine.
3 --
5 if not gr.select_engine("de") then
6 return
7 end
9 -- Clear existing styles from memory.
10 de.reset()
12 -- Base style
13 de.defstyle("*", {
14 highlight_colour = "#666666",
15 shadow_colour = "#666666",
16 background_colour = "#333333",
17 foreground_colour = "#cccccc",
19 shadow_pixels = 1,
20 highlight_pixels = 1,
21 padding_pixels = 1,
22 spacing = 0,
23 border_style = "elevated",
24 border_sides = "tb",
26 font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
27 text_align = "center",
31 de.defstyle("frame", {
32 background_colour = "#000000",
33 transparent_background = false,
37 de.defstyle("tab", {
38 font = "-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*",
39 spacing = 1,
41 de.substyle("active-selected", {
42 highlight_colour = "#8ac267",
43 shadow_colour = "#8ac267",
44 background_colour = "#354743",
45 }),
47 de.substyle("inactive-selected", {
48 highlight_colour = "#6aa247",
49 shadow_colour = "#6aa247",
50 }),
54 de.defstyle("input", {
55 text_align = "left",
56 spacing = 1,
58 de.substyle("*-selection", {
59 background_colour = "#354743",
60 }),
62 de.substyle("*-cursor", {
63 background_colour = "#8ac267",
64 foreground_colour = "#333333",
65 }),
69 dopath("lookcommon_clean")
72 -- Refresh objects' brushes.
73 gr.refresh()