Search code examples
cssthemesadobe-brackets

Tag for font in .css theme file


I am trying to custom a theme file for Brackets. I like the font used in Monokai and the colours used in Tomorrow Night, so I would like to mix them.

The problem is that I can't find the font tag in theme.css of any of those two.

Where are those tags inside the files ? And what are they called?


Solution

  • Seems like themes you linked use default font "SourceCodePro-Medium". Homever, it's possible to change font-family in two ways:

    1. You can change font-family of Brackets in View > Themes dialog.
    2. In theme.css, add font-family tag to body. (Can be overridden by option 1)

    Don't set the editor font to a web font (@font-face) - this will cause cursor positioning glitches.

    Source: Brackets Wiki