atkinson hyperlegible -> lexica ultralegible

This commit is contained in:
Reid 2024-11-13 10:06:15 -08:00
parent e2f99e576b
commit e9119643c6
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
4 changed files with 14 additions and 13 deletions

View file

@ -2,7 +2,7 @@ window {
/*background: @base;*/
background: alpha(@base, 0.3);
color: @text;
font-family: 'Atkinson Hyperlegible Pro', 'Atkinson Hyperlegible', FontAwesome, Noto Sans CJK;
font-family: 'Lexica Ultralegible', 'Atkinson Hyperlegible', FontAwesome, Noto Sans CJK;
font-size: 14px;
font-style: normal;
}

View file

@ -30,14 +30,14 @@ in {
fonts = {
sansSerif = mkFontOption "sansSerif" {
package = pkgs.my.atkinson-hyperlegible-pro;
family = "Atkinson Hyperlegible Pro";
package = pkgs.my.lexica-ultralegible;
family = "Lexica Ultralegible";
size = 11;
};
serif = mkFontOption "serif" {
package = pkgs.my.atkinson-hyperlegible-pro;
family = "Atkinson Hyperlegible Pro";
package = pkgs.my.lexica-ultralegible;
family = "Lexica Ultralegible";
size = 11;
};

View file

@ -13,8 +13,7 @@ window#waybar {
/*background: alpha(@base, 0.6);*/
background: @base;
border-radius: 1em;
/*font-family: VictorMono, Iosevka Nerd Font, Noto Sans CJK;*/
/*font-family: 'Atkinson Hyperlegible', FontAwesome, Noto Sans CJK;*/
/*font-family: 'Lexica Ultralegible', 'Atkinson Hyperlegible', FontAwesome, Noto Sans CJK;*/
font-family: CozetteVector, monospace, FontAwesome, Noto Sans CJK;
font-size: 13px;
font-style: normal;

View file

@ -1,27 +1,29 @@
{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation {
pname = "atkinson-hyperlegible-pro";
version = "1.5.1-unstable";
pname = "lexica-ultralegible";
version = "1.0.0-unstable";
src = fetchFromGitHub {
owner = "jacobxperez";
repo = "atkinson-hyperlegible-pro";
rev = "2576e71d09f57eac8d5e7d9d42b9e7ce49f759e1";
hash = "sha256-Zqr4dwrT/QWpYlNlLCVnWaZ6B5+yQ4Zh5pqYa7NBg3Y=";
repo = "lexica-ultralegible";
rev = "109729403ce6f5d9d74c6c6d8debc3380f3e3c10";
hash = "sha256-+mHIsmj2TL/sUVxUBsIqTK6D6GLgK4DgaiU9PTkgmUA=";
};
installPhase = ''
runHook preInstall
install -Dm644 -t $out/share/fonts/opentype fonts/otf/*
install -Dm644 -t $out/share/fonts/truetype fonts/ttf/*
install -Dm644 -t $out/share/fonts/woff2 fonts/web/*
runHook postInstall
'';
meta = with lib; {
description = "Maintained version of Atkinson Hyperlegible";
homepage = "https://jacobxperez.github.io/atkinson-hyperlegible-pro/";
homepage = "https://jacobxperez.github.io/lexica-ultralegible/";
license = licenses.ofl;
platforms = platforms.all;
};