Leo has a new default look

2020-10-11 Thread Edward K. Ream
This is part of #1663 . I may "refactor" that issue into separate pieces. The new code is in devel. You can test it by temporarily removing your myLeoSettings.leo. The new code enables DefaultTheme.leo by default, and makes DefaultTheme a d

Re: Leo has a new default look

2020-10-11 Thread Thomas Passin
My problem with this is not individual settings like font size, but that I don't know how to modify them. I tried copying specific settings to myLeoSettings.leo under a new node @theme Default, but they don't take effect. When I open myLeoSettings.leo, then I seem to get some kind of strange

Re: Leo has a new default look

2020-10-11 Thread Thomas Passin
It seems to me that the .leo directory would be a good place to put modified theme outlines. There could be a .leo/themes subdirectory. On Sunday, October 11, 2020 at 12:46:19 PM UTC-4, Thomas Passin wrote: > > I don't want to modify the default theme file or my changes would be lost > every ti

Re: Leo has a new default look

2020-10-11 Thread Edward K. Ream
On Sunday, October 11, 2020 at 1:14:30 PM UTC-5, Thomas Passin wrote: > It seems to me that the .leo directory would be a good place to put modified theme outlines. There could be a .leo/themes subdirectory. Leo already does this. See LM.resolve_theme_path and ​LM.computeThemeDirectories: de

Re: Leo has a new default look

2020-10-11 Thread Thomas Passin
Since I posted, I found that bit in the LeoPyRef.leo file, made a themes subdirectory in .leo, and tried it out. It did work. I had a bit of uncertainty about what name to use for the theme specification in myLeoSettings.leo. Ultimately I used the filename of my copy of the theme file (witho

Re: Leo has a new default look

2020-10-11 Thread Edward K. Ream
On Sun, Oct 11, 2020 at 2:12 PM Thomas Passin wrote: > Since I posted, I found that bit in the LeoPyRef.leo file, made a themes > subdirectory > in .leo, and tried it out. It did work. I had a bit of uncertainty > about what name to use for the theme specification in myLeoSettings.leo. > Ultim

Re: Leo has a new default look

2020-10-12 Thread Rob
Not sure if this is related, but after pulling the latest updates, my custom theme doesn't work and I now have a dark theme with black text on black background, so Leo is completely unusable. I also get this is the console: resolve_urls None ==> NOT FOUND resolve_urls Search paths... [ 'D:/Sync

Re: Leo has a new default look

2020-10-12 Thread Edward K. Ream
On Mon, Oct 12, 2020 at 8:32 AM Rob wrote: > Not sure if this is related, but after pulling the latest updates, my > custom theme doesn't work and I now have a dark theme with black text on > black background, so Leo is completely unusable. I also get this is the > console: > > resolve_urls None

Re: Leo has a new default look

2020-10-12 Thread Rob
OK, I checked out build 1c8cfc5369 from a few days ago and I'm back to my custom theme again, so thanks for that. Rob... On Monday, October 12, 2020 at 9:59:38 AM UTC-4 Edward K. Ream wrote: > On Mon, Oct 12, 2020 at 8:32 AM Rob wrote: > >> Not sure if this is related, but after pulling the la

Re: Leo has a new default look

2020-10-12 Thread Edward K. Ream
On Mon, Oct 12, 2020 at 8:32 AM Rob wrote: resolve_urls None ==> NOT FOUND > This message is probably not relevant. What do you have in your myLeoSettings.leo for @string theme-name ? Setting it to None should restore the legacy operation. Edward -- You received this message because you are

Re: Leo has a new default look

2020-10-12 Thread Rob
On Monday, October 12, 2020 at 10:48:48 AM UTC-4 Edward K. Ream wrote: > > resolve_urls None ==> NOT FOUND >> > > This message is probably not relevant. > Perhaps not, but I don't get the message now after reverting. > > What do you have in your myLeoSettings.leo for @string theme-name ? > >

Re: Leo has a new default look

2020-10-12 Thread Thomas Passin
On Monday, October 12, 2020 at 10:48:48 AM UTC-4, Edward K. Ream wrote: > > On Mon, Oct 12, 2020 at 8:32 AM Rob > > wrote: > > resolve_urls None ==> NOT FOUND >> > > This message is probably not relevant. > > What do you have in your myLeoSettings.leo for @string theme-name ? > > Setting it to N

Re: Leo has a new default look

2020-10-12 Thread Edward K. Ream
On Mon, Oct 12, 2020 at 10:00 AM Rob wrote: > I actually disabled themes 2 years ago (the theme setting is under an @ignore node now). I manage the appearance now using Qt GUI settings (@color, @font, etc.) In that case, you should definitely set @string theme-name = None in your myLeoSettings.l