Sublime Forum

Set default ui theme font, overriding themes?

#1

Hello and a general thank you and respect for this great text editor!

i’m trying to integrate the ui with my desktop style and would like to use the same font.
There’s a lot of nice user interface themes; but is it possible to use a certain font once and for all, maybe put it in user settings? right now i have to edit every theme file, find every occurence of “font*” and add a line: font.face = …

thanks in advance,

n.

1 Like

#2

anybody please?
where does the user interface get its default font (the one it uses if none is specified in the theme) on a linux platform (archlinux)?
it’s not using the font defined by gtk.

0 Likes

#3

AFAIK, the interface font is hardcoded. Themes can only change the size (or make it bold).

0 Likes

#4

sorry long silence.

i’ll try to explain better:

ui themes have a theme file that ends in .sublime-theme in a subfolder usually called “Theme - something” in the packages folder.

there’s many sections, each starting with { class: and so on.
i can add a line with font.face : somefont to each.
this works.
however it is a lot of tedious work to apply my favorite font to each theme in this way, and i can see no way of either automatizing the whole thing or simply applying a font globally.

can it be done?

otherwise this editor is really, really nice and does exactly what i want and is Fast!

0 Likes