switch to atkinson hyperlegible pro
This commit is contained in:
parent
66b3280955
commit
04a0387fd8
|
@ -33,7 +33,7 @@
|
||||||
history_length = 20
|
history_length = 20
|
||||||
show_age_threshold = 60
|
show_age_threshold = 60
|
||||||
markup = "full"
|
markup = "full"
|
||||||
font = "Atkinson Hyperlegible 10"
|
font = "Atkinson Hyperlegible Pro 10"
|
||||||
word_wrap = "yes"
|
word_wrap = "yes"
|
||||||
sort = "yes"
|
sort = "yes"
|
||||||
shrink = "no"
|
shrink = "no"
|
||||||
|
|
|
@ -2,7 +2,7 @@ window {
|
||||||
/*background: @base;*/
|
/*background: @base;*/
|
||||||
background: alpha(@base, 0.3);
|
background: alpha(@base, 0.3);
|
||||||
color: @text;
|
color: @text;
|
||||||
font-family: 'Atkinson Hyperlegible', FontAwesome, Noto Sans CJK;
|
font-family: 'Atkinson Hyperlegible Pro', 'Atkinson Hyperlegible', FontAwesome, Noto Sans CJK;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,13 +31,13 @@ in {
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
sans = mkFontOption "sans" {
|
sans = mkFontOption "sans" {
|
||||||
package = pkgs.atkinson-hyperlegible;
|
package = pkgs.my.atkinson-hyperlegible-pro;
|
||||||
family = "Atkinson Hyperlegible";
|
family = "Atkinson Hyperlegible Pro";
|
||||||
size = 11;
|
size = 11;
|
||||||
};
|
};
|
||||||
sansSerif = mkFontOption "sans-serif" {
|
sansSerif = mkFontOption "sans-serif" {
|
||||||
package = pkgs.atkinson-hyperlegible;
|
package = pkgs.my.atkinson-hyperlegible-pro;
|
||||||
family = "Atkinson Hyperlegible";
|
family = "Atkinson Hyperlegible Pro";
|
||||||
size = 11;
|
size = 11;
|
||||||
};
|
};
|
||||||
monospace = mkFontOption "monospace" {
|
monospace = mkFontOption "monospace" {
|
||||||
|
@ -106,7 +106,7 @@ in {
|
||||||
twemoji-color-font
|
twemoji-color-font
|
||||||
noto-fonts-color-emoji
|
noto-fonts-color-emoji
|
||||||
noto-fonts-monochrome-emoji
|
noto-fonts-monochrome-emoji
|
||||||
#font-awesome
|
font-awesome
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
}
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation {
|
||||||
|
pname = "atkinson-hyperlegible-pro";
|
||||||
|
version = "1.5.1-unstable";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jacobxperez";
|
||||||
|
repo = "atkinson-hyperlegible-pro";
|
||||||
|
rev = "2576e71d09f57eac8d5e7d9d42b9e7ce49f759e1";
|
||||||
|
hash = lib.fakeHash;
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -Dm644 -t $out/share/fonts/opentype fonts/otf/*
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Maintained version of Atkinson Hyperlegible";
|
||||||
|
homepage = "https://jacobxperez.github.io/atkinson-hyperlegible-pro/";
|
||||||
|
license = licenses.ofl;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue