mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
overlays/iosevka: refactor family name in spacing overlay
This commit is contained in:
parent
9230f7b378
commit
bc67b4226f
3 changed files with 16 additions and 17 deletions
|
|
@ -82,10 +82,10 @@ in
|
|||
map (
|
||||
{ name, code }:
|
||||
let
|
||||
kebabName = builtins.replaceStrings [ " " ] [ "-" ] name;
|
||||
shortName = builtins.replaceStrings [ " " ] [ "" ] name;
|
||||
in
|
||||
final: prev: {
|
||||
family = prev.family + "-${kebabName}";
|
||||
family = prev.family + "${shortName}";
|
||||
variants = prev.variants // {
|
||||
inherits = code;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue