-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add all of sainnhe's themes and customize them
- Loading branch information
Showing
5 changed files
with
143 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
vim.g.edge_float_style = "dim" | ||
vim.g.edge_background = "hard" | ||
|
||
vim.api.nvim_create_autocmd("ColorScheme", { | ||
group = vim.api.nvim_create_augroup("custom_highlights_edge", {}), | ||
pattern = "edge", | ||
callback = function() | ||
-- stylua: ignore start | ||
local config = vim.fn['edge#get_configuration']() | ||
local palette = vim.fn['edge#get_palette'](config.style, config.dim_foreground, config.colors_override) | ||
local set_hl = vim.fn['edge#highlight'] | ||
|
||
set_hl("KazCodeBlock", palette.none, config.float_style == "dim" and palette.bg_dim or palette.bg3) | ||
set_hl("MiniPickPrompt", palette.blue, config.float_style == "dim" and palette.bg_dim or palette.bg3) | ||
set_hl("MiniPickMatchRanges", palette.blue, palette.none, "bold") | ||
set_hl("MiniFilesFile", palette.fg, palette.none) | ||
set_hl("MiniTablineFill", palette.none, palette.bg1) | ||
set_hl("MiniTablineCurrent", palette.blue, palette.bg0, "bold") | ||
set_hl("MiniTablineHidden", palette.grey, palette.bg3) | ||
set_hl("MiniTablineModifiedCurrent", palette.bg1, palette.blue, "bold") | ||
set_hl("MiniTablineModifiedHidden", palette.bg1, palette.grey) | ||
set_hl("MiniTablineModifiedVisible", palette.bg1, palette.grey, "bold") | ||
set_hl("MiniTablineTabpagesection", palette.bg0, palette.green, "bold") | ||
set_hl("MiniTablineVisible", palette.grey, palette.bg3, "bold") | ||
set_hl("MiniHipatternsFixmeBody", palette.red, palette.bg0) | ||
set_hl("MiniHipatternsFixmeColon", palette.red, palette.red, "bold") | ||
set_hl("MiniHipatternsHackBody", palette.yellow, palette.bg0) | ||
set_hl("MiniHipatternsHackColon", palette.yellow, palette.yellow, "bold") | ||
set_hl("MiniHipatternsNoteBody", palette.blue, palette.bg0) | ||
set_hl("MiniHipatternsNoteColon", palette.blue, palette.blue, "bold") | ||
set_hl("MiniHipatternsTodoBody", palette.green, palette.bg0) | ||
set_hl("MiniHipatternsTodoColon", palette.green, palette.green, "bold") | ||
set_hl("MiniStatuslineDirectory", palette.grey, palette.bg1) | ||
set_hl("MiniStatuslineFilename", palette.grey, palette.bg1, "bold") | ||
set_hl("MiniStatuslineFilenameModified", palette.blue, palette.bg1, "bold") | ||
set_hl("MiniStatuslineInactive", palette.grey_dim, palette.bg1) | ||
set_hl("MiniStatuslineDevInfo", palette.grey, palette.bg3) | ||
set_hl("MiniStatuslineFileInfo", palette.grey, palette.bg3) | ||
set_hl("MiniJump2dDim", palette.grey_dim, palette.none) | ||
set_hl("MiniJump2dSpot", palette.blue, palette.bg_dim, "bold") | ||
set_hl("MiniJump2dSpotUnique", palette.blue, palette.bg_dim, "bold") | ||
set_hl("MiniJump2dSpotAhead", palette.purple, palette.bg_dim) | ||
--stylua: ignore end | ||
end, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
vim.g.everforest_float_style = "dim" | ||
vim.g.everforest_background = "hard" | ||
|
||
vim.api.nvim_create_autocmd("ColorScheme", { | ||
group = vim.api.nvim_create_augroup("custom_highlights_everforest", {}), | ||
pattern = "everforest", | ||
callback = function() | ||
-- stylua: ignore start | ||
local config = vim.fn['everforest#get_configuration']() | ||
local palette = vim.fn['everforest#get_palette'](config.background, config.colors_override) | ||
local set_hl = vim.fn['everforest#highlight'] | ||
|
||
set_hl("KazCodeBlock", palette.none, config.float_style == "dim" and palette.bg_dim or palette.bg3) | ||
set_hl("MiniPickPrompt", palette.blue, config.float_style == "dim" and palette.bg_dim or palette.bg3) | ||
set_hl("MiniPickMatchRanges", palette.green, palette.none, "bold") | ||
set_hl("MiniFilesFile", palette.fg, palette.none) | ||
set_hl("MiniTablineFill", palette.none, palette.bg2) | ||
set_hl("MiniTablineCurrent", palette.blue, palette.bg0, "bold") | ||
set_hl("MiniTablineHidden", palette.grey2, palette.bg3) | ||
set_hl("MiniTablineModifiedCurrent", palette.bg1, palette.blue, "bold") | ||
set_hl("MiniTablineModifiedHidden", palette.bg1, palette.grey2) | ||
set_hl("MiniTablineModifiedVisible", palette.bg1, palette.grey2, "bold") | ||
set_hl("MiniTablineTabpagesection", palette.bg0, palette.aqua, "bold") | ||
set_hl("MiniTablineVisible", palette.grey2, palette.bg3, "bold") | ||
set_hl("MiniHipatternsFixmeBody", palette.red, palette.bg0) | ||
set_hl("MiniHipatternsFixmeColon", palette.red, palette.red, "bold") | ||
set_hl("MiniHipatternsHackBody", palette.yellow, palette.bg0) | ||
set_hl("MiniHipatternsHackColon", palette.yellow, palette.yellow, "bold") | ||
set_hl("MiniHipatternsNoteBody", palette.blue, palette.bg0) | ||
set_hl("MiniHipatternsNoteColon", palette.blue, palette.blue, "bold") | ||
set_hl("MiniHipatternsTodoBody", palette.green, palette.bg0) | ||
set_hl("MiniHipatternsTodoColon", palette.green, palette.green, "bold") | ||
set_hl("MiniStatuslineDirectory", palette.grey0, palette.bg1) | ||
set_hl("MiniStatuslineFilename", palette.grey2, palette.bg1, "bold") | ||
set_hl("MiniStatuslineFilenameModified", palette.blue, palette.bg1, "bold") | ||
set_hl("MiniStatuslineInactive", palette.grey0, palette.bg1) | ||
set_hl("MiniStatuslineDevinfo", palette.grey2, palette.bg3) | ||
set_hl("MiniStatuslineFileinfo", palette.grey2, palette.bg3) | ||
set_hl("MiniJump2dDim", palette.bg5, palette.none) | ||
set_hl("MiniJump2dSpot", palette.orange, palette.bg_dim, "bold") | ||
set_hl("MiniJump2dSpotUnique", palette.orange, palette.bg_dim, "bold") | ||
set_hl("MiniJump2dSpotAhead", palette.yellow, palette.bg_dim) | ||
--stylua: ignore end | ||
end, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
vim.g.sonokai_float_style = "dim" | ||
|
||
vim.api.nvim_create_autocmd("ColorScheme", { | ||
group = vim.api.nvim_create_augroup("custom_highlights_sonokai", {}), | ||
pattern = "sonokai", | ||
callback = function() | ||
-- stylua: ignore start | ||
local config = vim.fn['sonokai#get_configuration']() | ||
local palette = vim.fn['sonokai#get_palette'](config.style, config.colors_override) | ||
local set_hl = vim.fn['sonokai#highlight'] | ||
|
||
set_hl("KazCodeBlock", palette.none, config.float_style == "dim" and palette.bg_dim or palette.bg3) | ||
set_hl("MiniPickPrompt", palette.blue, config.float_style == "dim" and palette.bg_dim or palette.bg3) | ||
set_hl("MiniPickMatchRanges", palette.green, palette.none, "bold") | ||
set_hl("MiniFilesFile", palette.fg, palette.none) | ||
set_hl("MiniTablineCurrent", palette.blue, palette.bg0, "bold") | ||
set_hl("MiniTablineHidden", palette.grey, palette.bg3) | ||
set_hl("MiniTablineModifiedCurrent", palette.bg1, palette.blue, "bold") | ||
set_hl("MiniTablineModifiedHidden", palette.bg1, palette.grey) | ||
set_hl("MiniTablineModifiedVisible", palette.bg1, palette.grey, "bold") | ||
set_hl("MiniTablineTabpagesection", palette.bg0, palette.green, "bold") | ||
set_hl("MiniTablineVisible", palette.grey, palette.bg3, "bold") | ||
set_hl("MiniHipatternsFixmeBody", palette.red, palette.bg0) | ||
set_hl("MiniHipatternsFixmeColon", palette.red, palette.red, "bold") | ||
set_hl("MiniHipatternsHackBody", palette.yellow, palette.bg0) | ||
set_hl("MiniHipatternsHackColon", palette.yellow, palette.yellow, "bold") | ||
set_hl("MiniHipatternsNoteBody", palette.blue, palette.bg0) | ||
set_hl("MiniHipatternsNoteColon", palette.blue, palette.blue, "bold") | ||
set_hl("MiniHipatternsTodoBody", palette.green, palette.bg0) | ||
set_hl("MiniHipatternsTodoColon", palette.green, palette.green, "bold") | ||
set_hl("MiniStatuslineDirectory", palette.grey, palette.bg1) | ||
set_hl("MiniStatuslineFilename", palette.grey, palette.bg1, "bold") | ||
set_hl("MiniStatuslineFilenameModified", palette.blue, palette.bg1, "bold") | ||
set_hl("MiniStatuslineInactive", palette.grey_dim, palette.bg1) | ||
set_hl("MiniStatuslineDevinfo", palette.grey, palette.bg3) | ||
set_hl("MiniStatuslineFileinfo", palette.grey, palette.bg3) | ||
set_hl("MiniJump2dDim", palette.grey_dim, palette.none) | ||
set_hl("MiniJump2dSpot", palette.green, palette.bg_dim, "bold") | ||
set_hl("MiniJump2dSpotUnique", palette.green, palette.bg_dim, "bold") | ||
set_hl("MiniJump2dSpotAhead", palette.yellow, palette.bg_dim) | ||
--stylua: ignore end | ||
end, | ||
}) |