mirror of
https://github.com/be5invis/Iosevka.git
synced 2026-10-28 00:18:43 +00:00
22 lines
958 B
Markdown
22 lines
958 B
Markdown
* \[**Breaking**\] Add support for slope customization (#599, #1165).
|
|
- Slope customization format has a major change, giving ability to customize slope grade used for variant selection, as well as slope angle.
|
|
- The format will look like this:
|
|
``` toml
|
|
[buildPlans.iosevka-custom.slopes.upright]
|
|
angle = 0 # Angle in degrees. Valid range [0, 15]
|
|
shape = "upright" # Slope grade used for shape selection. `upright` | `oblique` | `italic`
|
|
menu = "upright" # Slope grade used for naming. `upright` | `oblique` | `italic`
|
|
css = "normal" # Slope grade used for webfont CSS. `normal` | `oblique` | `italic`
|
|
|
|
[buildPlans.iosevka-custom.slopes.oblique]
|
|
angle = 9.4
|
|
shape = "oblique"
|
|
menu = "oblique"
|
|
css = "oblique"
|
|
|
|
[buildPlans.iosevka-custom.slopes.italic]
|
|
angle = 9.4
|
|
shape = "italic"
|
|
menu = "italic"
|
|
css = "italic"
|
|
``` |