From f0216f665d01d5f23297b6136e20d3f7e7421ee9 Mon Sep 17 00:00:00 2001 From: siduck Date: Sun, 20 Nov 2022 21:34:26 +0530 Subject: [PATCH] define ui related globals --- lua/base46/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/base46/init.lua b/lua/base46/init.lua index c3713cb..55d28ef 100644 --- a/lua/base46/init.lua +++ b/lua/base46/init.lua @@ -2,6 +2,9 @@ local M = {} local g = vim.g local config = require("core.utils").load_config() +g.nvchad_theme = config.ui.theme +g.transparency = config.ui.transparency + M.get_theme_tb = function(type) local default_path = "base46.themes." .. g.nvchad_theme local user_path = "custom.themes." .. g.nvchad_theme