← Back to team overview

zim-wiki team mailing list archive

Re: How to customize colors

 

Cool it works !

Can the documentation and the web site be updated with this new
configuration format ?

On 7 October 2014 01:30, Aalhad Saraf <aalhad@xxxxxxxxx> wrote:

> Hi Didier,
>
> I had the same issue with an earlier version.
>
> The solution for the colors is to use:
>
>   base[NORMAL]   = "black"
>   base[SELECTED] = "#6699cc"   # npp deep black
>   text[NORMAL]   = "#c0c0c0"   # windows cmd default color
>
>
> I had asked the question on stackexchange.
>
> http://superuser.com/questions/795709/trying-to-style-a-widget-using-gtkrc-is-not-working-zim-wiki-on-windows-7/810640?noredirect=1#comment1063579_810640
>
>
> hth
> warm regards,
> Aalhad
>
> On Tue, Oct 7, 2014 at 4:00 AM, Didier BRETIN <didier@xxxxxxxxxx> wrote:
>
>> Hello,
>>
>> I'm trying to customize colors of Zim and I create a gtkrc file in:
>> - c:\Users\dbretin\.gtkrc-2.0
>>
>> In this file I have:
>>
>> style "mycolors"
>> {
>>     base: "#002b36"
>>     text: "#EEE8D5"
>> }
>> widget "*.zim-pageview" style "mycolors"
>>
>> style "zim-pageindex-style"
>> {
>>     font_name = "Ubuntu Mono 9"
>> }
>> widget "*.zim-pageindex" style "zim-pageindex-style"
>>
>> But when I launche the 0.62 version, there is no change in color nor in
>> the font use in the index.
>>
>> Can you help me ?
>>
>> --
>> Didier Bretin
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~zim-wiki
>> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~zim-wiki
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>


-- 
Didier Bretin

References