Adjust font sizes
This commit is contained in:
parent
35d7771ce7
commit
fad37d738a
|
@ -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 = {
|
||||||
|
|
|
@ -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};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue