Skip to content

Commit

Permalink
feat(module): add alpha support
Browse files Browse the repository at this point in the history
  • Loading branch information
EdenEast committed Mar 26, 2023
1 parent ab4f82c commit 4b73c9d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions lua/nightfox/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ local defaults = {
M.options = collect.deep_copy(defaults)

M.module_names = {
"alpha",
"aerial",
"barbar",
"cmp",
Expand Down
16 changes: 16 additions & 0 deletions lua/nightfox/group/modules/alpha.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-- https://github.com/goolord/alpha-nvim

local M = {}

function M.get(spec, _, _)
-- stylua: ignore
return {
AlphaShortcut = { fg = spec.palette.orange.base },
AlphaHeader = { fg = spec.palette.blue:harsh() },
AlphaHeaderLabel = { fg = spec.palette.orange.base },
AlphaFooter = { fg = spec.palette.blue.base },
AlphaButtons = { fg = spec.palette.cyan.base },
}
end

return M
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ There are a few things to note:

## Supported Plugins

- [alpha-nvim](https://github.com/goolord/alpha-nvim)
- [aerial.nvim](https://github.com/stevearc/aerial.nvim)
- [barbar.nvim](https://github.com/romgrk/barbar.nvim)
- [nvim-cmp](https://github.com/hrsh7th/nvim-cmp)
Expand Down
1 change: 1 addition & 0 deletions usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ to determine if the module is applied.

Current list of modules are:

- alpha
- aerial
- barbar
- cmp
Expand Down

0 comments on commit 4b73c9d

Please sign in to comment.