geany / geany-themes

A collection of color schemes for Geany
Other
351 stars 123 forks source link

Porting a theme to geany? #42

Open leighss opened 3 years ago

leighss commented 3 years ago

Hi, How would I go about porting a theme (Material) to Geany? Can I just take an annotated .conf file (is there one explaining entries?) and change the values? Probably naive, but I've got to start somewhere :) Any advice please? Apologies if this request is 'in the wrong place' I have some knowledge of German if resources only in this language Thanks

elextr commented 3 years ago

Can I just take an annotated .conf file (is there one explaining entries?) and change the values?

Yes.

There isn't any reference describing the colour scheme because its not hard coded anywhere, you define named colours and map them to syntactic entities. The format of the entries is described in the manual but that doesn't tell you the syntactic entities, thats best gotten from the actual filetypes.common file on your install as it can change from version to version (and isn't defined by the Geany project, but by the Scintilla editing widget project).

leighss commented 3 years ago

Thanks, All beyond me TBH, but I can at least now start to investigate and learn