Released version 3-2015061300
[notion.git] / contrib / styles / look_atme.lua
blob87e25cfdefe3159866382daca852dd737c3ec9fe
1 -- Authors: Sadrul Habib Chowdhury <imadil@gmail.com>
2 -- License: Public domain
3 -- Last Changed: Unknown
4 --
5 -- look_atme.lua drawing engine configuration file for Ion.
6 --
7 -- Author: Sadrul Habib Chowdhury (Adil)
8 -- imadil |at| gmail |dot| com
10 if not gr.select_engine("de") then return end
12 de.reset()
14 de.defstyle("*", {
15 shadow_colour = "grey",
16 highlight_colour = "grey",
17 background_colour = "#eeeeff",
18 foreground_colour = "#444466",
19 padding_pixels = 0,
20 highlight_pixels = 1,
21 shadow_pixels = 1,
22 border_style = "elevated",
23 font = "fixed",
24 text_align = "center",
27 de.defstyle("frame", {
28 based_on = "*",
29 padding_colour = "#444466",
30 background_colour = "black",
31 transparent_background = true,
32 de.substyle("active", {
33 shadow_colour = "grey",
34 highlight_colour = "grey",
35 }),
38 de.defstyle("frame-ionframe", {
39 ionframe_bar_inside_border = true,
42 de.defstyle("frame-tiled", {
43 based_on = "frame",
44 padding_pixels = 0,
45 highlight_pixels = 0,
46 shadow_pixels = 0,
47 spacing = 1,
51 de.defstyle("tab", {
52 based_on = "*",
53 de.substyle("active-selected", {
54 shadow_colour = "#eeeeff",
55 highlight_colour = "#eeeeff",
56 background_colour = "#444466",
57 foreground_colour = "#eeeeff",
58 transparent_background = false,
59 }),
60 de.substyle("active-unselected", {
61 shadow_colour = "#666688",
62 highlight_colour = "#666688",
63 background_colour = "#666688",
64 foreground_colour = "#eeeeff",
65 }),
66 de.substyle("inactive-selected", {
67 shadow_colour = "white",
68 highlight_colour = "white",
69 background_colour = "#999999",
70 foreground_colour = "white",
71 }),
72 de.substyle("inactive-unselected", {
73 shadow_colour = "#a0a0a0",
74 highlight_colour = "#a0a0a0",
75 background_colour = "#a0a0a0",
76 foreground_colour = "white",
77 }),
78 text_align = "center",
81 de.defstyle("tab-frame", {
82 based_on = "tab",
83 de.substyle("*-*-*-*-activity", {
84 shadow_colour = "#664444",
85 highlight_colour = "#664444",
86 background_colour = "#ffff00",
87 foreground_colour = "#990000",
88 }),
91 de.defstyle("tab-frame-tiled", {
92 based_on = "tab-frame",
93 spacing = 1,
96 de.defstyle("tab-menuentry", {
97 based_on = "tab",
98 text_align = "left",
101 de.defstyle("tab-menuentry-pmenu", {
102 text_align = "left",
103 de.substyle("*-selected", {
104 shadow_colour = "#eeeeff",
105 highlight_colour = "#eeeeff",
106 background_colour = "#444466",
107 foreground_colour = "#eeeeff",
109 de.substyle("*-unselected", {
110 shadow_colour = "#666688",
111 highlight_colour = "#666688",
112 background_colour = "#666688",
113 foreground_colour = "#eeeeff",
117 de.defstyle("tab-menuentry-big", {
118 based_on = "tab-menuentry",
119 padding_pixels = 7,
122 de.defstyle("input", {
123 based_on = "*",
124 shadow_colour = "grey",
125 highlight_colour = "grey",
126 background_colour = "#444466",
127 foreground_colour = "#eeeeff",
128 padding_pixels = 1,
129 highlight_pixels = 1,
130 shadow_pixels = 1,
131 border_style = "elevated",
132 de.substyle("*-cursor", {
133 background_colour = "white",
134 foreground_colour = "#444466",
136 de.substyle("*-selection", {
137 background_colour = "#aaaaaa",
138 foreground_colour = "white",
142 de.defstyle("stdisp", {
143 based_on = "*",
144 shadow_pixels = 0,
145 highlight_pixels = 0,
146 background_colour = "#444466",
147 foreground_colour = "#eeeeff",
148 text_align = "left",
150 de.substyle("important", {
151 foreground_colour = "green",
154 de.substyle("critical", {
155 foreground_colour = "red",
156 background_colour = "yellow",
159 transparent_background = false,
162 gr.refresh()