summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-nvim.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common/modules/matugen/templates/matugen-nvim.nix')
-rw-r--r--common/modules/matugen/templates/matugen-nvim.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/modules/matugen/templates/matugen-nvim.nix b/common/modules/matugen/templates/matugen-nvim.nix
index 0b7b421..8e6f5f5 100644
--- a/common/modules/matugen/templates/matugen-nvim.nix
+++ b/common/modules/matugen/templates/matugen-nvim.nix
@@ -10,7 +10,11 @@
{
"mode": "{{mode}}",
"source_color":"{{colors.primary.default.hex}}",
- "background":"{{colors.background.default.hex}}"
+ <* if {{ is_dark_mode }} *>
+ "background":"{{colors.surface.default.hex}}"
+ <* else *>
+ "background":"{{colors.surface_container_low.default.hex}}"
+ <* endif *>
}
'';
};