add CSS better

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2023-03-18 16:53:45 -04:00
parent f376658e99
commit 805945ed59

View File

@@ -8,15 +8,12 @@
outputs = { self, nixpkgs, utils }:
utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux" ] (system:
let pkgs = import nixpkgs {
inherit system;
};
let pkgs = import nixpkgs { inherit system; };
in {
packages.default = pkgs.stdenvNoCC.mkDerivation {
name = "iosevka-iaso";
dontUnpack = true;
buildPhase =
let
buildPhase = let
metric-override = {
cap = 790;
ascender = 790;
@@ -29,9 +26,7 @@
spacing = "term";
serifs = "sans";
no-ligation = false;
ligations = {
"inherit" = "default-calt";
};
ligations = { "inherit" = "default-calt"; };
no-cv-ss = true;
variants = {
inherits = "ss01";
@@ -126,9 +121,7 @@
number-sign = "slanted-tall";
at = "fourfold-solid-inner-tall";
};
italic = {
f = "flat-hook-tailed";
};
italic = { f = "flat-hook-tailed"; };
};
slopes = {
upright = {
@@ -157,8 +150,7 @@
inherit metric-override;
};
};
in
''
in ''
mkdir -p ttf
for ttf in ${iosevka-curly}/share/fonts/truetype/*.ttf ${iosevka-aile}/share/fonts/truetype/*.ttf ${iosevka-etoile}/share/fonts/truetype/*.ttf; do
cp $ttf .
@@ -171,7 +163,7 @@
cp *.woff2 $out
cp ttf/*.ttf $out
cp ${src/family.css} $out
cp ${src/family.css} $out/family.css
'';
};
});