4 # ****************************************************************************
6 # I. FVWM Colorsets (0 to 9)
7 # I.1. Default Colorsets
8 # I.2. Window Decorations
11 # II. Module Colorsets (10 to 29)
12 # II.1. Common Colorsets
13 # II.2. Window List Module Colorsets
14 # II.3. Other Module Colorsets
15 # II.4. External Colorsets
17 # III. Application Colorsets (30 to 35)
19 # IV. Start/Stop functions
21 # ****************************************************************************
25 # ============================================================================
27 # ============================================================================
29 # ----------------------
30 # I.1. Default Colorsets
31 # ----------------------
35 # for feedback windows (like geometry window and NoteMessage) and FvwmScroll
38 #if (DEF_STRENGTH == 3)
39 Colorset
0 fg TRAD_HIGH_LIGHT
, bg TRAD_DEF_MID
41 #if (DEF_STRENGTH == 1)
42 Colorset
0 fg TRAD_HIGH_DARK
, bg TRAD_DEF_MID
44 Colorset
0 fg TRAD_HIGH_LIGHT
, bg TRAD_DEF_DARK
49 # -----------------------
50 # I.2. Window Decorations
51 # -----------------------
55 # The following colors are used in FvwmPager for the window colors
56 # and in a title bar of windows (shade/hilight colors, computed from
57 # the bg color, but might be specified directly by sh and hi).
58 # The title bar background is defined below using TitleStyle.
60 # window title, inactive and active
63 #if (DEF_STRENGTH == 3)
64 Colorset
1 fg DEF_LIGHT
, bg DEF_MID
, Plain
, NoShape
66 Colorset
1 fg DEF_DARK
, bg DEF_MID
, Plain
, NoShape
68 #if (ACT_STRENGTH == 1)
69 Colorset
2 fg ACT_DARK
, bg ACT_MID
, Plain
, NoShape
71 Colorset
2 fg ACT_PALE
, bg ACT_MID
, Plain
, NoShape
74 //# window borders, inactive and active
76 Colorset
3 fg DEF_FORE
, bg DEF_MID
, Plain
, NoShape
77 Colorset
4 fg ACT_FORE
, bg ACT_MID
, Plain
, NoShape
79 DestroyFunc FuncFvwmDecorBackground
80 AddToFunc FuncFvwmDecorBackground
81 #if (ACT_STRENGTH == 1)
82 + I AddTitleStyle
ActiveUp (VGradient
64 2 ACT_PALE
40 ACT_MID
60 ACT_DARK
)
84 #if (ACT_STRENGTH == 3)
85 + I AddTitleStyle
ActiveUp (VGradient
64 2 ACT_LIGHT
40 ACT_MID
60 ACT_DARK
)
87 + I AddTitleStyle
ActiveUp (VGradient
64 2 ACT_LIGHT
40 ACT_MID
60 ACT_DARK
)
90 + I AddTitleStyle
ActiveUp (Pixmap decor
/knots
.png
-- left
)
91 + I AddTitleStyle
ActiveUp (Pixmap decor
/knots
.png
-- right
)
92 #if (ACT_STRENGTH == 1)
93 + I AddTitleStyle
ActiveDown (VGradient
64 2 ACT_DARK
60 ACT_MID
40 ACT_PALE
)
95 + I AddTitleStyle
ActiveDown (VGradient
64 2 ACT_DARK
60 ACT_MID
40 ACT_LIGHT
)
97 #if (DEF_STRENGTH == 1)
98 + I AddTitleStyle
Inactive (VGradient
64 2 DEF_PALE
40 DEF_MID
60 DEF_DARK
)
99 + I AddTitleStyle
Inactive (TiledPixmap decor
/knots
.png
)
101 #if (DEF_STRENGTH == 3)
102 + I AddTitleStyle
Inactive (VGradient
64 2 DEF_LIGHT
40 DEF_MID
60 DEF_DARK
)
103 + I AddTitleStyle
Inactive (Pixmap decor
/knots
.png
-- left
)
104 + I AddTitleStyle
Inactive (Pixmap decor
/knots
.png
-- right
)
106 + I AddTitleStyle
Inactive (VGradient
64 2 DEF_LIGHT
40 DEF_MID
60 DEF_DARK
)
107 + I AddTitleStyle
Inactive (TiledPixmap decor
/knots
.png
)
110 //+ I AddTitleStyle ToggledActiveUp (Solid ACT_MID -- Raised)
111 //+ I AddTitleStyle ToggledActiveDown (Solid ACT_MID -- Raised)
112 //+ I AddTitleStyle ToggledInactive (Solid DEF_MID -- Raised)
113 #if (ACT_STRENGTH == 1)
114 + I ButtonStyle All
ActiveUp (VGradient
64 2 ACT_PALE
40 ACT_MID
60 ACT_DARK
-- Flat
)
116 + I ButtonStyle All
ActiveUp (VGradient
64 2 ACT_LIGHT
40 ACT_MID
60 ACT_DARK
-- Flat
)
118 #if (ACT_STRENGTH == 1)
119 + I ButtonStyle All
ActiveDown (VGradient
64 2 ACT_DARK
60 ACT_MID
40 ACT_PALE
-- Raised
)
121 + I ButtonStyle All
ActiveDown (VGradient
64 2 ACT_DARK
60 ACT_MID
40 ACT_LIGHT
-- Raised
)
123 #if (DEF_STRENGTH == 1)
124 + I ButtonStyle All
Inactive (VGradient
64 2 DEF_PALE
40 DEF_MID
60 DEF_DARK
-- flat
)
126 + I ButtonStyle All
Inactive (VGradient
64 2 DEF_LIGHT
40 DEF_MID
60 DEF_DARK
-- flat
)
130 # -------------------
131 # I.3. Menu Colorsets
132 # -------------------
135 //# inactive menu item fg+bg and menu face if any
137 #if (DEF_STRENGTH == 3)
138 Colorset
5 fg DEF_PALE
, bg DEF_MID
, DGradient
64 ACT_MID DEF_MID
140 Colorset
5 fg DEF_FORE
, bg DEF_MID
, DGradient
64 3 ACT_LIGHT
30 ACT_MID
60 DEF_MID
30 DEF_LIGHT
143 //# active menu item fg+bg
145 #if (ACT_STRENGTH == 3)
146 Colorset
6 fg ACT_PALE
, bg ACT_MID
, Plain
, NoShape
148 Colorset
6 fg ACT_FORE
, bg ACT_LIGHT
, Plain
, NoShape
151 //# greyed menu item fg
153 Colorset
7 fg DEF_LIGHT
, bg DEF_MID
, Plain
, NoShape
156 # -------------------------------------------------
157 # Colorsets 8 and 9 are reserved for the future use.
159 # ============================================================================
160 # II. Module Colorsets
161 # ============================================================================
163 # ----------------------
164 # II.1. Common Colorsets
165 # ----------------------
167 # default for modules
168 # For FvwmButtons, FvwmPager, can be also used for FvwmIconMan, FvwmIconBox.
171 Colorset
10 fg DEF_PALE
, bg DEF_DARK
, Plain
, NoShape
173 //# default hilight for modules
174 //# For hilighting a part of a button bar (some swallowed apps for example).
176 Colorset
11 fg HIGH_DARK
, bg HIGH_LIGHT
, Plain
, NoShape
178 //# special or funny: a gradient or a pixmap
179 //# May be used in certain FvwmButtons, FvwmIconMan, FvwmIconBox.
181 #if (DEF_STRENGTH == 3)
182 Colorset
12 fg DEF_PALE
, bg DEF_MID
, \
183 VGradient
20 DEF_MID DEF_DARK
, NoShape
185 Colorset
12 fg DEF_FORE
, bg DEF_MID
, \
186 VGradient
20 DEF_MID DEF_LIGHT
, NoShape
189 //# swallowed window: the hilight and shadow colors should be defined
190 //# (-hd of xclock and -hl of xload use sh, and -hl of xclock uses hi)
192 Colorset
13 fg DEF_PALE
, bg DEF_DARK
, hi DEF_FORE
, sh DEF_LIGHT
, \
196 //# FvwmPager or to get more colors in FvwmButtons, can be set to 10.
198 Colorset
14 fg DEF_PALE
, bg DEF_DARK
, Plain
, NoShape
200 //# default hilight #2
201 //# FvwmPager or to get more colors in FvwmButtons, can be set to 11.
203 Colorset
15 fg HIGH_PALE
, bg HIGH_DARK
, Plain
, NoShape
205 //# tips/balloons (TaskBar and FvwmPager)
207 Colorset
16 fg DEF_FORE
, bg DEF_LIGHT
, Plain
, NoShape
210 # ----------------------------------
211 # II.2. Window List Module Colorsets
212 # ----------------------------------
216 #if (DEF_STRENGTH == 3)
217 Colorset
17 fg DEF_PALE
, bg DEF_MID
, Plain
, NoShape
219 Colorset
17 fg DEF_FORE
, bg DEF_MID
, Plain
, NoShape
223 #if (ACT_STRENGTH == 3)
224 Colorset
18 fg ACT_PALE
, bg ACT_MID
, Plain
, NoShape
226 Colorset
18 fg ACT_FORE
, bg ACT_MID
, Plain
, NoShape
230 Colorset
19 fg DEF_PALE
, bg DEF_DARK
, Plain
, NoShape
233 #if (ACT_STRENGTH == 3)
234 Colorset
20 fg HIGH_LIGHT
, bg ACT_MID
, Plain
, NoShape
236 #if (ACT_STRENGTH == 1)
237 Colorset
20 fg HIGH_DARK
, bg ACT_MID
, Plain
, NoShape
239 Colorset
20 fg HIGH_LIGHT
, bg ACT_DARK
, Plain
, NoShape
244 # ----------------------------
245 # II.3. Other Module Colorsets
246 # ----------------------------
251 #if (DEF_STRENGTH == 3)
252 Colorset
21 fg DEF_LIGHT
, bg DEF_DARK
, Plain
, NoShape
254 Colorset
21 fg DEF_FORE
, bg DEF_LIGHT
, Plain
, NoShape
259 Colorset
22 fg DEF_PALE
, bg DEF_DARK
, Plain
, NoShape
262 //#*FvwmTheme: Colorset 23 fg $[fg.cs10], bg $[bg.cs10], Transparent, Plain, NoShape
265 # ------------------------
266 # II.4. External Colorsets
267 # ------------------------
271 # ----------------------------
272 # reserved for modules@: 24-25
274 # ----------------------------------
275 # reserved for the future use: 26-28
277 # temporary colorset: 29, has no static definition, used dynamically
281 # ============================================================================
282 # III. Application Colorsets
283 # ============================================================================
286 //# regular terminal (xterm, rxvt, Eterm)
288 Colorset
30 fg black
, bg GhostWhite
, Plain
, NoShape
290 //# admin terminal (su xterm)
292 Colorset
31 fg HIGH_FORE
, bg HIGH_PALE
, Plain
, NoShape
294 //# remote terminal (ssh, telnet)
296 Colorset
32 fg DEF_PALE
, bg DEF_DARK
, Plain
, NoShape
298 //# viewer terminal (man, less, tail -f)
300 Colorset
33 fg DEF_FORE
, bg DEF_PALE
, Plain
, NoShape
302 //# application run in the terminal, text editor using ft-xrdb
304 Colorset
34 fg DEF_FORE
, bg DEF_PALE
, Plain
, NoShape
306 //# dialog main background (FvwmScript, FvwmForm, xmessage, ft-xrdb)
308 Colorset
35 fg DEF_FORE
, bg DEF_MID
, Plain
, NoShape
310 //# dialog text area (FvwmScript, FvwmForm, xmessage, ft-xrdb)
312 Colorset
36 fg DEF_FORE
, bg DEF_PALE
, Plain
, NoShape
315 # --------------------------------------------------
316 # Colorsets 37 to 39 are reserved for the future use.
318 # ============================================================================
319 # IV. Start/Stop Functions:
320 # ============================================================================
322 # These functions are executed when you enter (Start) and when you leave
323 # (Stop) this component. For example, in colors@blackbox they are used to
324 # set/unset a good window "transparency" style ParentalRelativity/Opacity;
325 # in colors@cde and colors@luthien these functions are used for more things.
328 DestroyFunc FuncFvwmStartColors
329 AddToFunc FuncFvwmStartColors
331 DestroyFunc FuncFvwmStopColors
332 AddToFunc FuncFvwmStopColors