Skip to content

Commit

Permalink
feat: add kanagawa_dragon theme
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonvermeulen committed Oct 14, 2024
1 parent b431d22 commit f9b1b92
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
9 changes: 9 additions & 0 deletions THEMES.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,15 @@ them based you your `background` option.
<img width='700' src='https://user-images.githubusercontent.com/41551030/108648902-8f31a080-74bc-11eb-9d8e-37a3f41d4c7a.png'/>
</p>

### kanagawa_dragon

<p>
<img width='700' src=''/>
<img width='700' src=''/>
<img width='700' src=''/>
<img width='700' src=''/>
</p>

### material

<p>
Expand Down
49 changes: 49 additions & 0 deletions lua/lualine/themes/kanagawa_dragon.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
-- inspired by kanagawa dragon theme for nvim
-- https://github.com/rebelot/kanagawa.nvim

local colors = {
dragonBlack = '#0D0C0C',
dragonGray = '#A6A69C',
dragonLightGray = '#C5C9C5',
dragonBackground = '#282727',
dragonForeground = '#C8C093',
dragonRed = '#C4746E',
dragonGreen = '#87A987',
dragonYellow = '#C4B28A',
dragonBlue = '#8BA4B0',
dragonOrange = '#B6927B',
inactiveGray = '#625e5a',
}

local shared_sections = {
b = { bg = colors.dragonBackground, fg = colors.dragonLightGray },
c = { bg = colors.dragonBackground, fg = colors.dragonLightGray },
}

return {
normal = vim.tbl_extend('force', {
a = { bg = colors.dragonGray, fg = colors.dragonBlack, gui = 'bold' },
}, shared_sections),

insert = vim.tbl_extend('force', {
a = { bg = colors.dragonRed, fg = colors.dragonBlack, gui = 'bold' },
}, shared_sections),

visual = vim.tbl_extend('force', {
a = { bg = colors.dragonOrange, fg = colors.dragonBlack, gui = 'bold' },
}, shared_sections),

replace = vim.tbl_extend('force', {
a = { bg = colors.dragonBlue, fg = colors.dragonBlack, gui = 'bold' },
}, shared_sections),

command = vim.tbl_extend('force', {
a = { bg = colors.dragonGreen, fg = colors.dragonBlack, gui = 'bold' },
}, shared_sections),

inactive = {
a = { bg = colors.inactiveGray, fg = colors.dragonGray, gui = 'bold' },
b = { bg = colors.inactiveGray, fg = colors.dragonGray },
c = { bg = colors.inactiveGray, fg = colors.dragonGray },
},
}

0 comments on commit f9b1b92

Please sign in to comment.