iosevka: fine tune

This commit is contained in:
Primrose 2025-05-28 10:38:48 +02:00
parent 0d521b1727
commit 9ca1c2c0f9
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -14,81 +14,63 @@ final: prev: rec {
}; };
iosevka = prev.iosevka.override { iosevka = prev.iosevka.override {
set = "custom"; set = "";
/*
Guide: https://github.com/be5invis/Iosevka/blob/main/doc/custom-build.md
Use `term` spacing to avoid dashed arrow issue # Guide: https://github.com/be5invis/Iosevka/blob/main/doc/custom-build.md
https://github.com/ryanoasis/nerd-fonts/issues/1018
*/
privateBuildPlan = { privateBuildPlan = {
family = "Iosevka"; family = "Iosevka";
noLigation = true; noLigation = true;
serifs = "sans"; serifs = "sans";
spacing = "term"; spacing = "normal";
variants = { variants.design = {
design = { ampersand = "et-tailed";
ampersand = "et-tailed"; capital-q = "crossing";
capital-q = "crossing"; capital-z = "straight-serifless-with-crossbar";
capital-z = "straight-serifless-with-crossbar"; cent = "open";
cent = "open"; dollar = "open";
dollar = "open"; lig-double-arrow-bar = "with-notch";
lig-double-arrow-bar = "with-notch"; lig-equal-chain = "with-notch";
lig-equal-chain = "with-notch"; lig-hyphen-chain = "with-notch";
lig-hyphen-chain = "with-notch"; lig-plus-chain = "with-notch";
lig-plus-chain = "with-notch"; lig-single-arrow-bar = "with-notch";
lig-single-arrow-bar = "with-notch"; lower-lambda = "tailed-turn";
lower-lambda = "tailed-turn"; number-sign = "slanted";
number-sign = "slanted"; percent = "rings-continuous-slash-also-connected";
percent = "rings-continuous-slash-also-connected"; seven = "straight-serifless-crossbar";
seven = "straight-serifless-crossbar"; };
}; variants.italic = {
italic = { v = "cursive-serifless";
v = "cursive-serifless"; w = "cursive-serifless";
w = "cursive-serifless";
};
}; };
weights = { weights = {
Bold = { Regular.shape = 440;
shape = 680; Regular.menu = 400;
menu = 680; Regular.css = 400;
css = 680; Bold.shape = 680;
}; Bold.menu = 700;
Regular = { Bold.css = 700;
shape = 480;
menu = 480;
css = 480;
};
}; };
widths = { widths = {
Extended = { Normal.shape = 500;
shape = 600; Normal.menu = 5;
menu = 7; Normal.css = "normal";
css = "expanded"; Extended.shape = 600;
}; Extended.menu = 7;
Normal = { Extended.css = "expanded";
shape = 500;
menu = 5;
css = "normal";
};
}; };
slopes = { slopes = {
Upright = { Upright.angle = 0;
angle = 0; Upright.css = "normal";
css = "normal"; Upright.menu = "upright";
menu = "upright"; Upright.shape = "upright";
shape = "upright"; Italic.angle = 9.4;
}; Italic.shape = "italic";
Italic = { Italic.menu = "italic";
angle = 9.4; Italic.css = "italic";
shape = "italic";
menu = "italic";
css = "italic";
};
}; };
}; };
}; };