When you open a theme outline using the menu item *Settings/Open A Theme 
File*, the original Leo window will be unresponsive until you close the 
second Leo window, the one that opened the theme outline.  There is nothing 
wrong; Leo has been this way forever.  It's similar to a modal dialog box, 
where the parent window is unresponsive until the dialog box is closed.

As to those themes. The second one you tried is a very old one that someone 
contributed, possibly as an experiment.  There are several others like 
that, too.  I suggest you try some of the themes I devised.  They all have 
the string "tbp" in their names.  The ones I suggest trying are:

tbp_dark
tbp_light.leo
minimal-ui-tbp_dark_solarized
minimal-ui-tbp_light_quasi-solarized
minimal-ui-tbp_light_solarized

You can specify which theme Leo should use with the setting @string 
theme-name = <theme-name>. You should add it to your *myLeoSettings.leo*  
file if it's not already there. You can override the setting by using the 
--theme=<theme-name> option on the command line when you start Leo.

You may find that one or another of the fonts is the wrong size for your 
liking.  You can change them by editing the theme's outline, the one you 
opened in the second window. Look for a node named *Fonts & text sizes.* There 
will be nodes with headlines like @string font-size-text = 10.5pt, which 
controls the font used by the text editors. Change the point size to one 
you like better.  The node with the headline like @string font-size-ui = 
9.5pt controls the font for the "ui" elements, meaning the tree, menus, and 
so on; basically everything but the text editors.

You should save the edited theme to your .leo\themes directory. Most likely 
this doesn't exist yet so create it inside the .leo directory. Leo will 
find it there.  If you save the edited file back to its original location 
then a later upgrade to leo will overwrite your changes.

If you cruise through the theme's settings you will see plenty of other 
things that can be changed.  The pattern is that various quantities are 
given logical names, like *font-family*. These logical names are assigned 
values, and the logical names are used in the overall CSS stylesheet 
instead of the actual values.  The top-level node for the stylesheet is 
named @data qt-gui-plugin-style-sheet.

Just realize that it's hard to change colors effectively because there are 
many different colors that need to be coordinated, so just changing one or 
two may produce poor results (I won't say my own themes are immune to this).


On Friday, July 12, 2024 at 6:00:34 AM UTC-4 Tiwo W. wrote:

Hi 🦁,

I've managed to install Leo in Windows, in a new Miniconda environment.

The first thing I see is an outright unsuable color scheme - screenshot 
below. And when I click through the menus in search of themes, after 
selecting one, this happens: An new Leo window starts, and then *both* 
freeze.

-- 
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/65e77f51-d4bd-4697-9476-cea20e9b41f8n%40googlegroups.com.

Reply via email to