Theme font could be set by editing ~/.textadept/init.lua
From https://foicica.com/textadept/manual.html#Themes
buffer.set_theme() can also tweak theme properties like font face and font size without editing the theme file itself:
buffer.set_theme('light', {font = 'Monospace', fontsize = 12})
I have downloaded 10.0 alpha, maybe in older versions it is still ui.set_theme - init.lua is executed at start and all "buffers" (whatever it means) are affected.
Please try both versions, eg:
ui.set_theme('dark', {font = 'Liberation Mono', fontsize = 32})
buffer.set_theme('light', {font = 'Courier', fontsize = 24})
One of them should work.
Yes, it is a recent change. See:
https://foicica.com/textadept/manual.html#Textadept.9.to.10 https://foicica.com/textadept/api.html#buffer.set_theme
Either in ~/.textadept/init.lua
ui.set_theme('vscode-dark', {fontsize = 13})
or in your theme file
property['font'], property['fontsize'] = 'iosevka', 13
-- Predefined styles.
property['style.default'] = 'font:%(font),size:%(fontsize),'...
I used vscode before, but now my views are different and I hate applications on electron. However, I like the standard theme, so I moved it to textadept. If someone is interested in it, then I can put it somewhere. screenshot