Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions lua/barbecue/theme/flow.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
local options = require("flow.config").options
local c = require("flow.colors").setup(options)

local M = {
normal = { bg = c.none, fg = c.grey[4] },

ellipsis = { fg = c.fg_gutter },
separator = { fg = c.fg_gutter },
modified = { fg = c.yellow },

dirname = { fg = c.comment },
basename = { fg = c.light_blue },
context = { fg = c.grey[6] },

context_object = { fg = c.cyan },
context_class = { fg = c.cyan },
context_struct = { fg = c.cyan },

context_enum = { fg = c.purple },
context_interface = { fg = c.purple },
context_array = { fg = c.purple },
context_event = { fg = c.yellow },
context_number = { fg = c.yellow },
context_boolean = { link = "Number" },
context_file = { link = "Directory" },
context_module = { fg = c.yellow },
context_namespace = { fg = c.yellow },
context_package = { fg = c.blue },
context_method = { fg = c.blue },
context_property = { fg = c.green },
context_field = { fg = c.green },
context_constructor = { fg = c.blue },
context_function = { fg = c.blue },
context_variable = { fg = c.purple },
context_constant = { fg = c.purple },
context_string = { link = "String" },
context_key = { fg = c.purple },
context_null = { fg = c.blue },
context_enum_member = { fg = c.green },
context_operator = { fg = c.green },
context_type_parameter = { fg = c.purple },
}

return M
2 changes: 1 addition & 1 deletion lua/flow/highlights/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local M = {}
function M.get(c, _)
local theme = {

TreesitterContext = { bg = c.grey[3] },
TreesitterContext = { bg = c.grey[2] },
TreesitterContextLineNumber = { link = "TreesitterContext" },
-- TODO: verify the sp with another terminal.
-- sp works only if the terminal support it.
Expand Down
2 changes: 0 additions & 2 deletions lua/flow/palette.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ function M.get(o)

if o.colors.custom.light ~= "" then
---@diagnostic disable-next-line: assign-type-mismatch
--- Options are validated here
shade[o.colors.mode].L = tonumber(o.colors.custom.light)
end

if o.colors.custom.saturation ~= "" then
---@diagnostic disable-next-line: assign-type-mismatch
--- Options are validated here
shade[o.colors.mode].S = tonumber(o.colors.custom.saturation)
end

Expand Down