Skip to content

Commit

Permalink
feat(theme): highlight updates for html, tsx, ts, jsx, js, …
Browse files Browse the repository at this point in the history
…`vue`, and `markdown`
  • Loading branch information
PunGrumpy committed Mar 19, 2024
1 parent ad3b169 commit 58f4b1e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
1 change: 1 addition & 0 deletions lua/dullahan/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ function M.setup(opts)
colors.warning = colors.yellow500
colors.info = colors.blue500
colors.hint = colors.cyan500
colors.todo = colors.violet500

config.options.on_colors(colors)
if opts.transform and config.is_white() then
Expand Down
22 changes: 20 additions & 2 deletions lua/dullahan/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,27 @@ function M.setup()
["@module"] = { link = "Include" },

-- tsx
["@tag.tsx"] = { fg = c.green500 },
["@constructor.tsx"] = { fg = c.blue500 },
["@tag.delimiter.tsx"] = { fg = c.orange500 },
["@tag.tsx"] = { fg = c.yellow500 },
["@keyword.return.tsx"] = { fg = c.green500, style = "italic" },
["@keyword.tsx"] = { fg = c.green500, style = "italic" },

-- typescript
["@variable.typescript"] = { fg = c.yellow500 },

-- Vue
["@tag.delimiter.vue"] = { fg = c.orange500 },

-- html
["@tag.delimiter.html"] = { fg = c.orange500 },

-- javascriptreact
["@keyword.javascript"] = { fg = c.green500, style = "italic" },
["@keyword.return.javascript"] = { fg = c.green500, style = "italic" },
["@tag.delimiter.javascript"] = { fg = c.orange500 },
["@tag.javascript"] = { fg = c.yellow500 },
["@variable.javascript"] = { fg = c.yellow500 },

-- LSP Semantic Token Groups
["@lsp.type.boolean"] = { link = "@boolean" },
Expand Down Expand Up @@ -609,7 +627,7 @@ function M.setup()
LeapBackdrop = { fg = c.base01 },

FlashBackdrop = { fg = c.base01 },
FlashLabel = { bg = c.magenta500, bold = true, fg = c.fg },
FlashLabel = { bg = c.magenta500, bold = true, fg = c.bg },

LightspeedGreyWash = { fg = c.base01 },
-- LightspeedCursor = { link = "Cursor" },
Expand Down

0 comments on commit 58f4b1e

Please sign in to comment.