diff --git a/lua/barbecue/theme/flow.lua b/lua/barbecue/theme/flow.lua new file mode 100644 index 0000000..19e51c1 --- /dev/null +++ b/lua/barbecue/theme/flow.lua @@ -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 diff --git a/lua/flow/highlights/treesitter.lua b/lua/flow/highlights/treesitter.lua index 6f27c0f..3e308a9 100644 --- a/lua/flow/highlights/treesitter.lua +++ b/lua/flow/highlights/treesitter.lua @@ -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. diff --git a/lua/flow/palette.lua b/lua/flow/palette.lua index de44af1..30b8951 100644 --- a/lua/flow/palette.lua +++ b/lua/flow/palette.lua @@ -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