On Fri, 21 Feb 2003, Reinhard Thies wrote: > I am a visually impaired user and I am one off the approx. 85 % of this > group, which need to work with a dark background and white text color. > This is inverse to the way it is done normally. > Is it easy to implement a mode into Lyx providing this feature ?
Reinhard, I have just been working through the same problem myself. You're supposed to be able to set the colors with the Preferences dialog, but there'a a bug in (I think, don't have the code on this machine) LColor.C that keeps most of them from being saved. However, they will read in if you edit the preferences file. Here's what I have set (just the color section). # # COLOR SECTION ################################### # # in RC_SET_COLOR \set_color "cursor" "#ffff00" \set_color "background" "#000000" \set_color "foreground" "#ffffff" \set_color "selection" "#add8e6" \set_color "latex" "#df0000" \set_color "preview" "#ffff00" \set_color "note" "#7975ff" \set_color "notebg" "#596161" \set_color "depthbar" "#cd5c5c" \set_color "language" "#0000ff" \set_color "command" "#fff3ff" \set_color "commandbg" "#000000" \set_color "commandframe" "#00ef00" \set_color "special" "#66ff66" \set_color "graphicsbg" "#faf0e6" \set_color "math" "#adffff" \set_color "mathbg" "#000000" \set_color "mathmacrobg" "#000000" \set_color "mathframe" "#ff00ff" \set_color "mathcursor" "#ffff00" \set_color "mathline" "#00ffff" \set_color "captionframe" "#ff7700" \set_color "collapsable" "#ff7700" \set_color "collapsableframe" "#cd5c5c" \set_color "insetbg" "#cccccc" \set_color "insetframe" "#cd5c5c" \set_color "error" "#ff5555" \set_color "eolmarker" "#ff2a2a" \set_color "added_space" "#ff2a2a" \set_color "appendixline" "#ff2a2a" \set_color "topline" "#ff2a2a" \set_color "tabularline" "#2aff2a" \set_color "tabularonoffline" "#b0c4de" \set_color "bottomarea" "#666666" \set_color "pagebreak" "#4169e1" \set_color "top" "#e500e5" \set_color "bottom" "#e500e5" \set_color "left" "#e500e5" \set_color "right" "#e500e5" \set_color "buttonbg" "#555555" This only sets colors in the Lyx editing window. For the GUI, assuming you have the XForms version (I don't know how Qt works), there's a second file, preferences.xform. Here's mine: \gui_background 31 31 63 \gui_buttonbottom 199 199 0 \gui_buttonleft 199 199 0 \gui_buttonright 199 199 0 \gui_buttontop 199 199 199 \gui_inactive 200 200 200 \gui_push_button 0 0 255 \gui_selected 0 0 0 \gui_text 255 255 0 Hope this gives you a starting point. The colors probably need to be fiddled around with some more (I'm new to Lyx myself), but at least it's halfway usable. James