mirror of
https://github.com/gabehf/base46.git
synced 2026-03-10 16:00:30 -07:00
add whichkey integration | organize integration files
This commit is contained in:
parent
ef1ae11a98
commit
c88d5ea527
4 changed files with 108 additions and 94 deletions
|
|
@ -1,33 +1,40 @@
|
||||||
local theme = require("base46").get_colors "base_16"
|
local base16 = require("base46").get_colors "base_16"
|
||||||
local base_30 = require("base46").get_colors "base_30"
|
local colors = require("base46").get_colors "base_30"
|
||||||
|
|
||||||
return {
|
return {
|
||||||
CmpItemKindConstant = { fg = theme.base09 },
|
-- nvim cmp
|
||||||
CmpItemKindFunction = { fg = theme.base0D },
|
CmpItemAbbr = { fg = colors.white },
|
||||||
CmpItemKindIdentifier = { fg = theme.base08 },
|
CmpItemAbbrMatch = { fg = colors.blue, bold = true },
|
||||||
CmpItemKindField = { fg = theme.base08 },
|
CmpBorder = { fg = colors.grey },
|
||||||
CmpItemKindVariable = { fg = theme.base0E },
|
CmpDocBorder = { fg = colors.grey },
|
||||||
CmpItemKindSnippet = { fg = base_30.red },
|
|
||||||
CmpItemKindText = { fg = theme.base0B },
|
-- cmp item kinds
|
||||||
CmpItemKindStructure = { fg = theme.base0E },
|
CmpItemKindConstant = { fg = base16.base09 },
|
||||||
CmpItemKindType = { fg = theme.base0A },
|
CmpItemKindFunction = { fg = base16.base0D },
|
||||||
CmpItemKindKeyword = { fg = theme.base07 },
|
CmpItemKindIdentifier = { fg = base16.base08 },
|
||||||
CmpItemKindMethod = { fg = theme.base0D },
|
CmpItemKindField = { fg = base16.base08 },
|
||||||
CmpItemKindConstructor = { fg = base_30.blue },
|
CmpItemKindVariable = { fg = base16.base0E },
|
||||||
CmpItemKindFolder = { fg = theme.base07 },
|
CmpItemKindSnippet = { fg = colors.red },
|
||||||
CmpItemKindModule = { fg = theme.base0A },
|
CmpItemKindText = { fg = base16.base0B },
|
||||||
CmpItemKindProperty = { fg = theme.base08 },
|
CmpItemKindStructure = { fg = base16.base0E },
|
||||||
|
CmpItemKindType = { fg = base16.base0A },
|
||||||
|
CmpItemKindKeyword = { fg = base16.base07 },
|
||||||
|
CmpItemKindMethod = { fg = base16.base0D },
|
||||||
|
CmpItemKindConstructor = { fg = colors.blue },
|
||||||
|
CmpItemKindFolder = { fg = base16.base07 },
|
||||||
|
CmpItemKindModule = { fg = base16.base0A },
|
||||||
|
CmpItemKindProperty = { fg = base16.base08 },
|
||||||
-- CmpItemKindEnum = { fg = "" },
|
-- CmpItemKindEnum = { fg = "" },
|
||||||
CmpItemKindUnit = { fg = theme.base0E },
|
CmpItemKindUnit = { fg = base16.base0E },
|
||||||
-- CmpItemKindClass = { fg = "" },
|
-- CmpItemKindClass = { fg = "" },
|
||||||
CmpItemKindFile = { fg = theme.base07 },
|
CmpItemKindFile = { fg = base16.base07 },
|
||||||
-- CmpItemKindInterface = { fg = "" },
|
-- CmpItemKindInterface = { fg = "" },
|
||||||
CmpItemKindColor = { fg = base_30.red },
|
CmpItemKindColor = { fg = colors.red },
|
||||||
CmpItemKindReference = { fg = theme.base05 },
|
CmpItemKindReference = { fg = base16.base05 },
|
||||||
-- CmpItemKindEnumMember = { fg = "" },
|
-- CmpItemKindEnumMember = { fg = "" },
|
||||||
CmpItemKindStruct = { fg = theme.base0E },
|
CmpItemKindStruct = { fg = base16.base0E },
|
||||||
-- CmpItemKindValue = { fg = "" },
|
-- CmpItemKindValue = { fg = "" },
|
||||||
-- CmpItemKindEvent = { fg = "" },
|
-- CmpItemKindEvent = { fg = "" },
|
||||||
CmpItemKindOperator = { fg = theme.base05 },
|
CmpItemKindOperator = { fg = base16.base05 },
|
||||||
CmpItemKindTypeParameter = { fg = theme.base08 },
|
CmpItemKindTypeParameter = { fg = base16.base08 },
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,12 +42,6 @@ local defaults = {
|
||||||
PmenuSel = { bg = pmenu_bg, fg = black },
|
PmenuSel = { bg = pmenu_bg, fg = black },
|
||||||
PmenuThumb = { bg = grey },
|
PmenuThumb = { bg = grey },
|
||||||
|
|
||||||
-- nvim cmp
|
|
||||||
CmpItemAbbr = { fg = white },
|
|
||||||
CmpItemAbbrMatch = { fg = blue, bold = true },
|
|
||||||
CmpBorder = { fg = grey },
|
|
||||||
CmpDocBorder = { fg = grey },
|
|
||||||
|
|
||||||
NvimInternalError = { fg = red },
|
NvimInternalError = { fg = red },
|
||||||
WinSeparator = { fg = one_bg2 },
|
WinSeparator = { fg = one_bg2 },
|
||||||
|
|
||||||
|
|
@ -94,71 +88,13 @@ local defaults = {
|
||||||
DiagnosticWarn = { fg = yellow },
|
DiagnosticWarn = { fg = yellow },
|
||||||
DiagnosticInformation = { fg = green },
|
DiagnosticInformation = { fg = green },
|
||||||
|
|
||||||
-- NvimTree
|
-- whichkey
|
||||||
NvimTreeEmptyFolderName = { fg = folder_bg },
|
|
||||||
NvimTreeEndOfBuffer = { fg = darker_black },
|
|
||||||
NvimTreeFolderIcon = { fg = folder_bg },
|
|
||||||
NvimTreeFolderName = { fg = folder_bg },
|
|
||||||
NvimTreeGitDirty = { fg = red },
|
|
||||||
NvimTreeIndentMarker = { fg = grey_fg },
|
|
||||||
NvimTreeNormal = { bg = darker_black },
|
|
||||||
NvimTreeNormalNC = { bg = darker_black },
|
|
||||||
NvimTreeOpenedFolderName = { fg = folder_bg },
|
|
||||||
NvimTreeGitIgnored = { fg = light_grey },
|
|
||||||
|
|
||||||
NvimTreeWinSeparator = {
|
WhichKey = { fg = blue },
|
||||||
fg = darker_black,
|
WhichKeySeparator = { fg = light_grey },
|
||||||
bg = darker_black,
|
WhichKeyDesc = { fg = red },
|
||||||
},
|
WhichKeyGroup = { fg = green },
|
||||||
|
WhichKeyValue = { fg = green },
|
||||||
NvimTreeWindowPicker = {
|
|
||||||
fg = red,
|
|
||||||
bg = black2,
|
|
||||||
},
|
|
||||||
|
|
||||||
NvimTreeCursorLine = {
|
|
||||||
bg = black2,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- Telescope
|
|
||||||
TelescopeBorder = {
|
|
||||||
fg = darker_black,
|
|
||||||
bg = darker_black,
|
|
||||||
},
|
|
||||||
|
|
||||||
TelescopePromptBorder = {
|
|
||||||
fg = black2,
|
|
||||||
bg = black2,
|
|
||||||
},
|
|
||||||
|
|
||||||
TelescopePromptNormal = {
|
|
||||||
fg = white,
|
|
||||||
bg = black2,
|
|
||||||
},
|
|
||||||
|
|
||||||
TelescopePromptPrefix = {
|
|
||||||
fg = red,
|
|
||||||
bg = black2,
|
|
||||||
},
|
|
||||||
|
|
||||||
TelescopeNormal = { bg = darker_black },
|
|
||||||
|
|
||||||
TelescopePreviewTitle = {
|
|
||||||
fg = black,
|
|
||||||
bg = green,
|
|
||||||
},
|
|
||||||
|
|
||||||
TelescopePromptTitle = {
|
|
||||||
fg = black,
|
|
||||||
bg = red,
|
|
||||||
},
|
|
||||||
|
|
||||||
TelescopeResultsTitle = {
|
|
||||||
fg = darker_black,
|
|
||||||
bg = darker_black,
|
|
||||||
},
|
|
||||||
|
|
||||||
TelescopeSelection = { bg = black2 },
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ui.transparency then
|
if ui.transparency then
|
||||||
|
|
|
||||||
28
lua/integrations/nvimtree.lua
Normal file
28
lua/integrations/nvimtree.lua
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
local colors = require("base46").get_colors "base_30"
|
||||||
|
|
||||||
|
return {
|
||||||
|
NvimTreeEmptyFolderName = { fg = colors.folder_bg },
|
||||||
|
NvimTreeEndOfBuffer = { fg = colors.darker_black },
|
||||||
|
NvimTreeFolderIcon = { fg = colors.folder_bg },
|
||||||
|
NvimTreeFolderName = { fg = colors.folder_bg },
|
||||||
|
NvimTreeGitDirty = { fg = colors.red },
|
||||||
|
NvimTreeIndentMarker = { fg = colors.grey_fg },
|
||||||
|
NvimTreeNormal = { bg = colors.darker_black },
|
||||||
|
NvimTreeNormalNC = { bg = colors.darker_black },
|
||||||
|
NvimTreeOpenedFolderName = { fg = colors.folder_bg },
|
||||||
|
NvimTreeGitIgnored = { fg = colors.light_grey },
|
||||||
|
|
||||||
|
NvimTreeWinSeparator = {
|
||||||
|
fg = colors.darker_black,
|
||||||
|
bg = colors.darker_black,
|
||||||
|
},
|
||||||
|
|
||||||
|
NvimTreeWindowPicker = {
|
||||||
|
fg = colors.red,
|
||||||
|
bg = colors.black2,
|
||||||
|
},
|
||||||
|
|
||||||
|
NvimTreeCursorLine = {
|
||||||
|
bg = colors.black2,
|
||||||
|
},
|
||||||
|
}
|
||||||
43
lua/integrations/telescope.lua
Normal file
43
lua/integrations/telescope.lua
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
local colors = require("base46").get_colors "base_30"
|
||||||
|
|
||||||
|
return {
|
||||||
|
|
||||||
|
TelescopeBorder = {
|
||||||
|
fg = colors.darker_black,
|
||||||
|
bg = colors.darker_black,
|
||||||
|
},
|
||||||
|
|
||||||
|
TelescopePromptBorder = {
|
||||||
|
fg = colors.black2,
|
||||||
|
bg = colors.black2,
|
||||||
|
},
|
||||||
|
|
||||||
|
TelescopePromptNormal = {
|
||||||
|
fg = colors.white,
|
||||||
|
bg = colors.black2,
|
||||||
|
},
|
||||||
|
|
||||||
|
TelescopePromptPrefix = {
|
||||||
|
fg = colors.red,
|
||||||
|
bg = colors.black2,
|
||||||
|
},
|
||||||
|
|
||||||
|
TelescopeNormal = { bg = colors.darker_black },
|
||||||
|
|
||||||
|
TelescopePreviewTitle = {
|
||||||
|
fg = colors.black,
|
||||||
|
bg = colors.green,
|
||||||
|
},
|
||||||
|
|
||||||
|
TelescopePromptTitle = {
|
||||||
|
fg = colors.black,
|
||||||
|
bg = colors.red,
|
||||||
|
},
|
||||||
|
|
||||||
|
TelescopeResultsTitle = {
|
||||||
|
fg = colors.darker_black,
|
||||||
|
bg = colors.darker_black,
|
||||||
|
},
|
||||||
|
|
||||||
|
TelescopeSelection = { bg = colors.black2 },
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue