On Monday, November 9, 2020 at 3:22:04 PM UTC-5, Rob wrote: > > Having trouble loading different themes, so checking the online > documentation here <http://leoeditor.com/customizing.html#theme-files> as > well as looking at the main LeoSettings.leo and other theme files, I'm > confused. > > Quoting from the web site: > > To enable a theme, put the following setting in myLeoSettings.leo: > @string theme-name <name of theme file> > > First question is shouldn't that read: @string theme-name = > <name of theme file>? (Missing `=`) >
Right. > Then later: > > Theme files should contain three settings that describe the theme: > @bool color_theme_is_dark # True for dark themes > @string color_theme = name # Used to find icons > @string theme_name # Used to find other graphics elements. > > Second question, is which syntax is correct theme_name or theme-name > (underscore or dash)? I see both used. Does it matter? > I think underscore vs dash does not matter. When Leo imports the settings, both of them are removed (as I'm pretty sure I saw somewhere in the code). -- 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 leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/1963842d-32de-44aa-a884-a835887dffb1o%40googlegroups.com.