← Back to team overview

zim-wiki team mailing list archive

Re: background color

 

 ok, for us KDE users a partial solution is in the
KDE menu / System Settings / General Tab / Look & Feel / Appearance / GTK Styles & Fonts

here you can select the widget style - but so far I havent found a way for the background color
(I'm looking for a way to have clear text on dark background...)

1 hour after --------

a partial solution:

in the mentioned setting select some simple theme - I'm using ThinIce

go to /usr/share/themes/ThinIce/gtk-2.0 and edit gtkrc: it has simple entries for the colors,
e.g.:
  fg[NORMAL]        = "#000000"
  fg[ACTIVE]        = "#000000"
  fg[PRELIGHT]      = "#000000"
  fg[SELECTED]      = "#FFFFFF"
  fg[INSENSITIVE]   = "#747474"
  bg[NORMAL]        = "#D3D3DD"
  bg[ACTIVE]        = "#C1C1CC"
  bg[PRELIGHT]      = "#E5E5F7"
  bg[SELECTED]      = "#336699"
  bg[INSENSITIVE]   = "#D3D3DD"
  base[NORMAL]      = "#E5E5F7"
  base[ACTIVE]      = "#808080"
  base[PRELIGHT]    = "#E5E5F7"
  base[SELECTED]    = "#336699"
  base[INSENSITIVE] = "#E5E5F7"
  text[NORMAL]      = "#000000"
  text[ACTIVE]      = "#FFFFFF"
  text[PRELIGHT]    = "#000000"
  text[SELECTED]    = "#FFFFFF"
  text[INSENSITIVE] = "#747474"

changing base[NORMAL] and text[NORMAL] is a good start

additionally, to have a readable Zim page, tweak also the colors for headings and links, in ~/.config/zim/style.conf


I said it is only a partial solution, since it involves changing to this style for ALL the applications using GTK widgets - Firefox & Thunderbird included.


alessandro

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/  Dr.Alessandro Magni
\        Electromagnetics Division
/        INRiM Strada delle Cacce 91, 10135 Torino (ITALIA)
\        Emailmagni@xxxxxxxx
/        Tel: 0039-011-3919821  Fax: 0039-011-3919834
\        URLhttp://www.inrim.it/~magni
/ Our business in life is not to succeed but to continue to fail
\ in high spirits.  -- Robert Louis Stevenson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~