Awesome
<p align="center"> <img src="./images/main@2x.png" alt="Lilex. The font for developers." width="362px"><br/> <a href="https://github.com/mishamyrt/Lilex/actions/workflows/qa.yaml"> <img src="https://github.com/mishamyrt/Lilex/actions/workflows/qa.yaml/badge.svg" alt="Quality Assurance"/> </a> <a href="https://github.com/mishamyrt/Lilex/releases/latest"> <img src="https://img.shields.io/github/v/tag/mishamyrt/Lilex?sort=semver" alt="Version"/> </a> <p> <hr>Lilex is the modern programming font containing a set of ligatures for common programming multi-character combinations.
This 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 and install the font:
- Mac: Select
Lilex-VF.ttf
in thevariable
folder and double-click it. Click theInstall Font
button. - Windows: Select
Lilex-VF.ttf
in thevariable
folder, right-click it, then clickInstall
from the menu.
- Mac: Select
Visual Studio Code
- From the
Code
menu (File
on Windows) go toPreferences
→Settings
, or use keyboard shortcut <kbd>⌘</kbd>+<kbd>,</kbd> (<kbd>Ctrl</kbd>+<kbd>,</kbd> on Windows). - In the
Editor: Font Family
input box typeLilex
. - To enable ligatures, go to
Editor: Font Ligatures
, clickEdit in settings.json
, and copy"editor.fontLigatures": true
into file.
If you want to enable stylistic sets, list them instead of true
. Like:
"editor.fontLigatures": "'calt', 'ss02', 'ss04'"
iTerm2
- From the
iTerm2
menu go toSettings
. UnderProfiles
, find theText
tab. - 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
Lilex
and select it.
Note I recommend using ExtraThick instead of Regular for iTerm2, so the letter thickness will roughly match VS Code.
Weight
There are 6 font weights available in Lilex, ranging from Thin to Bold. In addition, a variable font is available.
<img src="./images/styles@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