Simplify fonts module
This commit is contained in:
parent
1177fd251d
commit
eb4ef4bf66
1 changed files with 2 additions and 78 deletions
|
@ -6,85 +6,9 @@
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.eboskma.fonts;
|
cfg = config.eboskma.fonts;
|
||||||
|
|
||||||
|
iosevka-buildplans = builtins.fromTOML (builtins.readFile "${pkgs.iosevka.src}/build-plans.toml");
|
||||||
iosevka-aile = pkgs.iosevka.override {
|
iosevka-aile = pkgs.iosevka.override {
|
||||||
privateBuildPlan = {
|
privateBuildPlan = iosevka-buildplans.buildPlans.iosevka-aile;
|
||||||
family = "Iosevka Aile";
|
|
||||||
desc = "Sans serif";
|
|
||||||
spacing = "quasi-proportional";
|
|
||||||
snapshotFamily = "Iosevka Aile";
|
|
||||||
snapshotFeature = { "NWID" = 0; };
|
|
||||||
export-glyph-names = true;
|
|
||||||
|
|
||||||
variants.design = {
|
|
||||||
capital-i = "serifless";
|
|
||||||
capital-j = "serifless";
|
|
||||||
capital-k = "straight-serifless";
|
|
||||||
capital-m = "flat-bottom-serifless";
|
|
||||||
capital-w = "straight-flat-top-serifless";
|
|
||||||
a = "double-storey-serifless";
|
|
||||||
d = "toothed-serifless";
|
|
||||||
e = "flat-crossbar";
|
|
||||||
f = "flat-hook-serifless";
|
|
||||||
g = "single-storey-serifless";
|
|
||||||
i = "serifless";
|
|
||||||
j = "flat-hook-serifless";
|
|
||||||
k = "straight-serifless";
|
|
||||||
l = "serifless";
|
|
||||||
r = "compact-serifless";
|
|
||||||
t = "flat-hook";
|
|
||||||
u = "toothed-serifless";
|
|
||||||
w = "straight-flat-top-serifless";
|
|
||||||
y = "straight-serifless";
|
|
||||||
long-s = "flat-hook-serifless";
|
|
||||||
eszet = "longs-s-lig";
|
|
||||||
lower-iota = "flat-tailed";
|
|
||||||
lower-lambda = "straight-turn";
|
|
||||||
cyrl-ef = "serifless";
|
|
||||||
cyrl-capital-ka = "symmetric-connected-serifless";
|
|
||||||
cyrl-ka = "symmetric-connected-serifless";
|
|
||||||
cyrl-capital-u = "straight-serifless";
|
|
||||||
at = "fourfold";
|
|
||||||
percent = "rings-continuous-slash";
|
|
||||||
};
|
|
||||||
|
|
||||||
derivingVariants.mathtt.design = {
|
|
||||||
capital-i = "serifed";
|
|
||||||
capital-j = "serifless";
|
|
||||||
capital-k = "straight-serifless";
|
|
||||||
capital-m = "flat-bottom-serifless";
|
|
||||||
capital-w = "straight-flat-top-serifless";
|
|
||||||
a = "double-storey-serifless";
|
|
||||||
d = "toothed-serifless";
|
|
||||||
e = "flat-crossbar";
|
|
||||||
f = "flat-hook-serifless";
|
|
||||||
g = "single-storey-serifless";
|
|
||||||
i = "serifed";
|
|
||||||
j = "flat-hook-serifed";
|
|
||||||
k = "straight-serifless";
|
|
||||||
l = "serifed";
|
|
||||||
r = "compact-serifless";
|
|
||||||
t = "flat-hook";
|
|
||||||
u = "toothed-serifless";
|
|
||||||
w = "straight-flat-top-serifless";
|
|
||||||
y = "straight-serifless";
|
|
||||||
long-s = "flat-hook-serifless";
|
|
||||||
eszet = "longs-s-lig";
|
|
||||||
lower-iota = "flat-tailed";
|
|
||||||
lower-lambda = "straight-turn";
|
|
||||||
cyrl-ef = "serifless";
|
|
||||||
cyrl-capital-ka = "symmetric-connected-serifless";
|
|
||||||
cyrl-ka = "symmetric-connected-serifless";
|
|
||||||
cyrl-capital-u = "straight-serifless";
|
|
||||||
at = "fourfold";
|
|
||||||
percent = "rings-continuous-slash";
|
|
||||||
};
|
|
||||||
|
|
||||||
widths.normal = {
|
|
||||||
shape = 600;
|
|
||||||
menu = 5;
|
|
||||||
css = "normal";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
set = "aile";
|
set = "aile";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue