mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
iosevka: fine tune
This commit is contained in:
parent
0d521b1727
commit
9ca1c2c0f9
1 changed files with 42 additions and 60 deletions
|
|
@ -14,81 +14,63 @@ final: prev: rec {
|
|||
};
|
||||
|
||||
iosevka = prev.iosevka.override {
|
||||
set = "custom";
|
||||
/*
|
||||
Guide: https://github.com/be5invis/Iosevka/blob/main/doc/custom-build.md
|
||||
set = "";
|
||||
|
||||
Use `term` spacing to avoid dashed arrow issue
|
||||
https://github.com/ryanoasis/nerd-fonts/issues/1018
|
||||
*/
|
||||
# Guide: https://github.com/be5invis/Iosevka/blob/main/doc/custom-build.md
|
||||
privateBuildPlan = {
|
||||
family = "Iosevka";
|
||||
noLigation = true;
|
||||
serifs = "sans";
|
||||
spacing = "term";
|
||||
spacing = "normal";
|
||||
|
||||
variants = {
|
||||
design = {
|
||||
ampersand = "et-tailed";
|
||||
capital-q = "crossing";
|
||||
capital-z = "straight-serifless-with-crossbar";
|
||||
cent = "open";
|
||||
dollar = "open";
|
||||
lig-double-arrow-bar = "with-notch";
|
||||
lig-equal-chain = "with-notch";
|
||||
lig-hyphen-chain = "with-notch";
|
||||
lig-plus-chain = "with-notch";
|
||||
lig-single-arrow-bar = "with-notch";
|
||||
lower-lambda = "tailed-turn";
|
||||
number-sign = "slanted";
|
||||
percent = "rings-continuous-slash-also-connected";
|
||||
seven = "straight-serifless-crossbar";
|
||||
};
|
||||
italic = {
|
||||
v = "cursive-serifless";
|
||||
w = "cursive-serifless";
|
||||
};
|
||||
variants.design = {
|
||||
ampersand = "et-tailed";
|
||||
capital-q = "crossing";
|
||||
capital-z = "straight-serifless-with-crossbar";
|
||||
cent = "open";
|
||||
dollar = "open";
|
||||
lig-double-arrow-bar = "with-notch";
|
||||
lig-equal-chain = "with-notch";
|
||||
lig-hyphen-chain = "with-notch";
|
||||
lig-plus-chain = "with-notch";
|
||||
lig-single-arrow-bar = "with-notch";
|
||||
lower-lambda = "tailed-turn";
|
||||
number-sign = "slanted";
|
||||
percent = "rings-continuous-slash-also-connected";
|
||||
seven = "straight-serifless-crossbar";
|
||||
};
|
||||
variants.italic = {
|
||||
v = "cursive-serifless";
|
||||
w = "cursive-serifless";
|
||||
};
|
||||
|
||||
weights = {
|
||||
Bold = {
|
||||
shape = 680;
|
||||
menu = 680;
|
||||
css = 680;
|
||||
};
|
||||
Regular = {
|
||||
shape = 480;
|
||||
menu = 480;
|
||||
css = 480;
|
||||
};
|
||||
Regular.shape = 440;
|
||||
Regular.menu = 400;
|
||||
Regular.css = 400;
|
||||
Bold.shape = 680;
|
||||
Bold.menu = 700;
|
||||
Bold.css = 700;
|
||||
};
|
||||
|
||||
widths = {
|
||||
Extended = {
|
||||
shape = 600;
|
||||
menu = 7;
|
||||
css = "expanded";
|
||||
};
|
||||
Normal = {
|
||||
shape = 500;
|
||||
menu = 5;
|
||||
css = "normal";
|
||||
};
|
||||
Normal.shape = 500;
|
||||
Normal.menu = 5;
|
||||
Normal.css = "normal";
|
||||
Extended.shape = 600;
|
||||
Extended.menu = 7;
|
||||
Extended.css = "expanded";
|
||||
};
|
||||
|
||||
slopes = {
|
||||
Upright = {
|
||||
angle = 0;
|
||||
css = "normal";
|
||||
menu = "upright";
|
||||
shape = "upright";
|
||||
};
|
||||
Italic = {
|
||||
angle = 9.4;
|
||||
shape = "italic";
|
||||
menu = "italic";
|
||||
css = "italic";
|
||||
};
|
||||
Upright.angle = 0;
|
||||
Upright.css = "normal";
|
||||
Upright.menu = "upright";
|
||||
Upright.shape = "upright";
|
||||
Italic.angle = 9.4;
|
||||
Italic.shape = "italic";
|
||||
Italic.menu = "italic";
|
||||
Italic.css = "italic";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue