Lilex
🤘Open source programming font
Install / Use
/learn @mishamyrt/LilexREADME
Lilex is an extended font on top of IBM Plex Mono designed for developers. It contains ligatures, special characters (e.g. PowerLine), Greek and exists in a variable format.
Ligatures is just a font rendering feature: underlying code remains ASCII-compatible. This makes it easier to read and understand the code. In some cases, the ligatures connect closely related characters (==, ---), while in others they optically align the glyphs (.., ??).
Compiled versions are available under releases. Bleeding edge builds can be downloaded in the build workflow artifacts.
Installation
- Download font.
- Unzip the archive.
- Install the font:
- Mac: Select all font files in the
variablefolder and double-click them. Click theInstall Fontbutton. - Windows: Select all font files in the
variablefolder, right-click any of them, then clickInstallfrom the menu.
- Mac: Select all font files in the
Visual Studio Code
- From the
Codemenu (Fileon Windows) go toPreferences→Settings, or use keyboard shortcut <kbd>⌘</kbd>+<kbd>,</kbd> (<kbd>Ctrl</kbd>+<kbd>,</kbd> on Windows). - In the
Editor: Font Familyinput box typeLilex. - To enable ligatures, go to
Editor: Font Ligatures, clickEdit in settings.json, and copy"editor.fontLigatures": trueinto file.
If you want to enable stylistic sets, list them instead of true. Like:
"editor.fontLigatures": "'calt', 'ss02', 'ss04'"
Cursor
Same as Visual Studio Code, but menu Settings → VS Code Settings
iTerm2
- From the
iTerm2menu go toSettings. UnderProfiles, find theTexttab. - If you have more than one profile, select the one you want to change. Or change the default one (with an asterisk).
- Click on the font name under the 'Font' heading, find
Lilexand select it.
Ghostty
- From the
Ghosttymenu go toSettings…, or use keyboard shortcut <kbd>⌘</kbd>+<kbd>,</kbd>. - Add
font-family = Lilexto config file. - Restart Ghostty (or reload configuration with <kbd>⌘</kbd>+<kbd>Shift</kbd>+<kbd>,</kbd>)
Weight
There are 5 font weights available in Lilex, ranging from Thin to Bold. In addition, a variable font is available.
<img src="./images/styles@2x.png">Italics
Lilex comes with a full set of italics: all weights, ligatures, PowerLine. Lilex Italic can do everything that Lilex does.
<img src="./images/italics@2x.png">Character Set
The font has support for Latin, Cyrillic and Greek. It also includes ligatures and powerline symbols.
<img src="./images/character-set@2x.png">A full glyph table can be found on the preview page.
Features
The font has additional styles for some characters, so it can be configured to better fit your needs. Instructions on how to activate OpenType features in your IDE can be found on the internet, or build your own variation of the font with forced features
<img src="./images/alternatives@2x.png">Some ligatures also have additional options. For example, certain arrows are initially switched off to avoid conflicts with logical operations.
<img src="./images/alt_ligatures@2x.png">Arrows
Lilex uses generated ligatures for arrows, so they can be infinite. Combine that to assemble your unique arrows.
There is also a full set of single-character arrows (↑, ↓, etc.) in the font.
Development
If you want to make improvements to the project, see CONTRIBUTING.md.
License
Lilex typeface is available under the OFL-1.1 License and can be used free of charge, for both commercial and non-commercial purposes.
The source code is available under Apache 2.0 License.
Credits
- Author: Mikhael Khrustik
- Based on: IBM Plex Mono
- Inspired by: Fira Code
