在 2019年8月19日星期一 UTC+7下午7:16:31,vitalije写道:
>
> myLeoSettings.leo file should be in ~/.leo/ folder. not in ~/   (your home 
> folder).
>
> and the setting you should have under the @settings node is:
> @string theme-name=BreezeDark2Theme.leo
>
>

thanks Vitalije..  it's solved. 

Vitalije
>
> On Monday, August 19, 2019 at 12:57:59 PM UTC+2, Austin(Xu) Wang wrote:
>>
>> Dear All,
>>
>> I'm trying to enable a theme, below is the procedure I followed:
>>
>> 1) Create one empty leo file, name it myLeoSettings.leo, put is under my 
>> home folder.
>> 2) Added one node in the empty myLeoSettings.leo with following headline:
>>
>> @string BreezeDark2Theme BreezeDark2Theme.leo
>>
>> 3) save myLeoSettings.leo
>> 4) quit leo and restart leo.
>>
>> The theme was not enabled.
>> There must be something wrong in my myLeoSettings.leo?
>>
>> I also tried 
>> 1) put another @settings node and make 
>> @string BreezeDark2Theme BreezeDark2Theme.leo under that node
>> 2) change @string BreezeDark2Theme BreezeDark2Theme.leo to 
>> @string BreezeDark2Theme=BreezeDark2Theme.leo
>>
>> all failed.
>>
>> Finally, I workaround this by making a copy of BreezeDark2Theme.leo to 
>> ~/myLeoSettings.leo and the theme began to work.
>>
>> This should not the proper way.. how to enable a them in 
>> myLeoSettings.leo?
>>
>> BR,Xu
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/8e4e4857-eeb3-47c9-86de-bbed5467fe0c%40googlegroups.com.

Reply via email to