Put every variables in top of the file for easy copy to another config

Former-commit-id: 0bd55fdc10
This commit is contained in:
Hadi
2024-10-09 15:12:50 +02:00
parent 3bebb475d7
commit 492d257fa5
27 changed files with 298 additions and 301 deletions

View File

@@ -1,20 +1,25 @@
{ config, ... }: {
{ config, ... }:
let
accent = "#${config.lib.stylix.colors.base0D}";
background = "#${config.lib.stylix.colors.base00}";
background-alt = "#${config.lib.stylix.colors.base01}";
in {
programs.nixvim = {
highlight = {
TelescopePromptPrefix.fg = "#${config.lib.stylix.colors.base0D}";
TelescopePromptPrefix.fg = accent;
TelescopeSelectionCaret = {
fg = "#${config.lib.stylix.colors.base0D}";
bg = "#${config.lib.stylix.colors.base01}";
fg = accent;
bg = background-alt;
};
TelescopeSelection.bg = "#${config.lib.stylix.colors.base01}";
TelescopeSelection.bg = background-alt;
TelescopePromptTitle = {
bg = "#${config.lib.stylix.colors.base00}";
fg = "#${config.lib.stylix.colors.base0D}";
bg = background;
fg = accent;
};
TelescopePromptNormal.bg = "#${config.lib.stylix.colors.base00}";
TelescopePromptNormal.bg = background;
TelescopePromptBorder = {
bg = "#${config.lib.stylix.colors.base00}";
fg = "#${config.lib.stylix.colors.base0D}";
bg = background;
fg = accent;
};
};
plugins.telescope = {