update transparant backgound

This commit is contained in:
asep komarudin 2023-01-26 17:47:33 +07:00
parent 007f8087fa
commit dbdf3596c0
5 changed files with 59 additions and 10 deletions

View file

@ -15,7 +15,6 @@ return {
require("user.tokyonight")
end,
},
{ "lunarvim/lunar.nvim" },
{
"navarasu/onedark.nvim",
init = function()
@ -23,7 +22,15 @@ return {
require("onedark").load()
end,
},
{ "arcticicestudio/nord-vim" },
-- { "lunarvim/lunar.nvim" },
-- { "arcticicestudio/nord-vim" },
-- {
-- "catppuccin/nvim",
-- name = "catppuccin",
-- init = function()
-- require("user.catppuccin")
-- end,
-- },
-- {
-- "ellisonleao/gruvbox.nvim",
-- init = function()
@ -55,6 +62,7 @@ return {
-- vim.g.material_style = "darker"
-- end,
-- },
-- dashboard
{
"goolord/alpha-nvim",

42
lua/user/catppuccin.lua Normal file
View file

@ -0,0 +1,42 @@
require("catppuccin").setup({
flavour = "macchiato", -- latte, frappe, macchiato, mocha
background = { -- :h background
light = "latte",
dark = "macchiato",
},
transparent_background = true,
show_end_of_buffer = false, -- show the '~' characters after the end of buffers
term_colors = false,
dim_inactive = {
enabled = false,
shade = "dark",
percentage = 0.15,
},
no_italic = false, -- Force no italic
no_bold = false, -- Force no bold
styles = {
comments = { "italic" },
conditionals = { "italic" },
loops = {},
functions = {},
keywords = {},
strings = {},
variables = {},
numbers = {},
booleans = {},
properties = {},
types = {},
operators = {},
},
color_overrides = {},
custom_highlights = {},
integrations = {
cmp = true,
gitsigns = true,
nvimtree = true,
telescope = true,
notify = false,
mini = false,
-- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations)
},
})

View file

@ -1,11 +1,12 @@
-- local colorscheme = "tokyonight"
local colorscheme = "tokyonight"
-- local colorscheme = "gruvbox"
-- local colorscheme = "sonokai"
-- local colorscheme = "nordfox"
-- local colorscheme = "material"
local colorscheme = "onedark"
-- local colorscheme = "onedark"
-- local colorscheme = "lunar"
-- local colorscheme = "nord"
-- local colorscheme = "catppuccin"
local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
if not status_ok then

View file

@ -7,7 +7,7 @@ tokyonight.setup({
-- or leave it empty to use the default settings
style = "night", -- The theme comes in three styles, `storm`, `moon`, a darker variant `night` and `day`
light_style = "day", -- The theme is used when the background is set to light
transparent = false, -- Enable this to disable setting the background color
transparent = true, -- Enable this to disable setting the background color
terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim
styles = {
-- Style to be applied to different syntax groups
@ -18,8 +18,8 @@ tokyonight.setup({
functions = {},
variables = {},
-- Background styles. Can be "dark", "transparent" or "normal"
sidebars = "dark", -- style for sidebars, see below
floats = "dark", -- style for floating windows
sidebars = "transparent", -- style for sidebars, see below
floats = "transparent", -- style for floating windows
},
sidebars = { "qf", "help" }, -- Set a darker background on sidebar-like windows. For example: `["qf", "vista_kind", "terminal", "packer"]`
day_brightness = 0.2, -- Adjusts the brightness of the colors of the **Day** style. Number between 0 and 1, from dull to vibrant colors