Chromium: Use style const for the fonts.

This commit is contained in:
Dmitry Voronin 2024-10-27 13:36:37 +03:00
parent 7273cd0c62
commit 72ed9e7e17
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, config, ... }:
{
file = (pkgs.formats.json { }).generate "ChromiumConfig" {
bookmark_bar.show_on_all_tabs = false;
@ -64,8 +64,8 @@
default_font_size = 17;
minimum_font_size = 16;
fonts = let
mono = "Terminess Nerd Font Mono";
sans = "SF Pro";
mono = config.style.font.monospace.name;
sans = config.style.font.sansSerif.name;
in
{
fixed.Zyyy = mono;