Adjust font sizes

This commit is contained in:
Evie Litherland-Smith 2024-04-17 13:39:18 +01:00
parent 35d7771ce7
commit fad37d738a
2 changed files with 6 additions and 6 deletions

View file

@ -44,10 +44,10 @@
fonts = with import nixpkgs {inherit system;}; fonts = with import nixpkgs {inherit system;};
with iosevka-custom.outputs; rec { with iosevka-custom.outputs; rec {
sizes = { sizes = {
applications = 12; applications = 14;
desktop = 14; desktop = 12;
popups = 14; popups = 12;
terminal = 12; terminal = 14;
}; };
serif = sansSerif; serif = sansSerif;
sansSerif = { sansSerif = {

View file

@ -239,7 +239,7 @@
"return-type" = "json"; "return-type" = "json";
}; };
tray = { tray = {
icon-size = fonts.sizes.desktop; icon-size = builtins.floor (builtins.mul fonts.sizes.desktop 1.5);
show-passive-items = true; show-passive-items = true;
spacing = 5; spacing = 5;
}; };
@ -249,7 +249,7 @@
in '' in ''
* { * {
all: unset; all: unset;
font-size: 1.2rem; font-size: ${toString (builtins.floor (builtins.mul fonts.sizes.desktop 1.5))};
font-family: ${fonts.monospace.name}; font-family: ${fonts.monospace.name};
} }