Skip to content

Commit

Permalink
feat: barbecue
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmx03 committed Dec 15, 2023
1 parent f9dc2d6 commit 5ad821f
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,14 @@ require('lualine').setup {

To use the Solarized theme showcased in the screenshot for Lualine [click here](https://github.com/maxmx03/solarized.nvim/discussions/50)

## Barbecue

```lua
require('barbecue').setup {
theme = 'solarized',
}
```

## Api

You can utilize useful functions to customize your Neovim plugins.
Expand Down
12 changes: 11 additions & 1 deletion doc/solarized.nvim.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*solarized.nvim.txt* For NVIM v0.9.1 Last change: 2023 December 09
*solarized.nvim.txt* For NVIM v0.9.1 Last change: 2023 December 15

==============================================================================
Table of Contents *solarized.nvim-table-of-contents*
Expand All @@ -16,6 +16,7 @@ Table of Contents *solarized.nvim-table-of-contents*
- Config Colors |solarized.nvim-config-colors|
- Config Enables |solarized.nvim-config-enables|
- Lualine |solarized.nvim-lualine|
- Barbecue |solarized.nvim-barbecue|
- Api |solarized.nvim-api|
- Contributing |solarized.nvim-contributing|
- Designed by |solarized.nvim-designed-by|
Expand Down Expand Up @@ -291,6 +292,15 @@ To use the Solarized theme showcased in the screenshot for Lualine click here
<https://github.com/maxmx03/solarized.nvim/discussions/50>


BARBECUE *solarized.nvim-barbecue*

>lua
require('barbecue').setup {
theme = 'solarized',
}
<


API *solarized.nvim-api*

You can utilize useful functions to customize your Neovim plugins.
Expand Down
39 changes: 39 additions & 0 deletions lua/barbecue/theme/solarized.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
local c = require('solarized.palette').get_colors()

local M = {
normal = {},
ellipsis = { fg = c.base0 },
separator = { link = 'Keyword' },
modified = { fg = c.warning },
dirname = { link = 'Directory' },
basename = { fg = c.base0, bold = true },
context = { fg = c.base0 },
context_file = { fg = c.base0 },
context_module = { link = '@namespace' },
context_namespace = { link = '@namespace' },
context_package = { link = 'Directory' },
context_class = { link = 'Type' },
context_method = { link = 'Function' },
context_property = { link = '@field' },
context_field = { link = '@field' },
context_constructor = { link = '@constructor' },
context_enum = { link = 'Type' },
context_interface = { link = 'Type' },
context_function = { link = 'Function' },
context_variable = { link = 'Identifier' },
context_constant = { link = 'Constant' },
context_string = { link = 'String' },
context_number = { link = 'Number' },
context_boolean = { link = 'Boolean' },
context_array = { link = 'Delimiter' },
context_object = { link = '@field' },
context_key = { link = 'Delimiter' },
context_null = { link = 'Constant' },
context_enum_member = { link = 'Constant' },
context_struct = { link = 'Structure' },
context_event = { fg = c.base2 },
context_operator = { link = 'Operator' },
context_type_parameter = { link = 'Type' },
}

return M

0 comments on commit 5ad821f

Please sign in to comment.