diff --git a/README.md b/README.md index 64c0e42..a897003 100644 --- a/README.md +++ b/README.md @@ -48,19 +48,20 @@ colorscheme zenbones Or choose from the collection: -| colorscheme | description | -| ------------- | ------------------------------------------------------------------------------------------ | -| `zenwritten` | Zero hue and saturation version | -| `neobones` | Inspired by [neovim.io](https://neovim.io) | -| `vimbones` | Inspired by [vim.org](https://www.vim.org) | -| `rosebones` | Inspired by [Rosé Pine](https://rosepinetheme.com) | -| `forestbones` | Inspired by [Everforest](https://github.com/sainnhe/everforest) | -| `nordbones` | Inspired by [Nord](https://www.nordtheme.com/docs/colors-and-palettes) | -| `tokyobones` | Inspired by [Tokyo Night](https://github.com/enkia/tokyo-night-vscode-theme#color-palette) | -| `seoulbones` | Inspired by [Seoul256](https://github.com/junegunn/seoul256.vim) | -| `duckbones` | Inspired by [Spaceduck](https://pineapplegiant.github.io/spaceduck) | -| `zenburned` | Inspired by [Zenburn](https://kippura.org/zenburnpage) | -| `randombones` | Randomly pick from the collection. | +| colorscheme | description | +| --------------- | ------------------------------------------------------------------------------------------ | +| `zenwritten` | Zero hue and saturation version | +| `neobones` | Inspired by [neovim.io](https://neovim.io) | +| `vimbones` | Inspired by [vim.org](https://www.vim.org) | +| `rosebones` | Inspired by [Rosé Pine](https://rosepinetheme.com) | +| `forestbones` | Inspired by [Everforest](https://github.com/sainnhe/everforest) | +| `nordbones` | Inspired by [Nord](https://www.nordtheme.com/docs/colors-and-palettes) | +| `tokyobones` | Inspired by [Tokyo Night](https://github.com/enkia/tokyo-night-vscode-theme#color-palette) | +| `seoulbones` | Inspired by [Seoul256](https://github.com/junegunn/seoul256.vim) | +| `duckbones` | Inspired by [Spaceduck](https://pineapplegiant.github.io/spaceduck) | +| `zenburned` | Inspired by [Zenburn](https://kippura.org/zenburnpage) | +| `kanagawabones` | Inspired by [Kanagawa](https://github.com/rebelot/kanagawa.nvim) | +| `randombones` | Randomly pick from the collection. | ## [Configuration and other documentations](doc/zenbones.md) diff --git a/autoload/lightline/colorscheme/kanagawabones.vim b/autoload/lightline/colorscheme/kanagawabones.vim new file mode 100644 index 0000000..4f35d1b --- /dev/null +++ b/autoload/lightline/colorscheme/kanagawabones.vim @@ -0,0 +1,23 @@ +" This file is auto-generated by shipwright.nvim +let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}} + +let s:p.normal.left = [ [ "#A5A5B0", "#565668", "bold" ], [ "#A5A5B0", "#414151" ] ] +let s:p.normal.middle = [ [ "#DDD8BB", "#2F2F3C" ] ] +let s:p.normal.right = [ [ "#A5A5B0", "#414151" ], [ "#A5A5B0", "#414151" ] ] +let s:p.normal.warning = [ [ "#E5C283", "#292826" ] ] +let s:p.normal.error = [ [ "#E46A78", "#2E2626" ] ] + +let s:p.inactive.left = [ [ "#E9E3C5", "#292934" ], [ "#E9E3C5", "#292934" ] ] +let s:p.inactive.middle = [ [ "#E9E3C5", "#292934" ] ] +let s:p.inactive.right = [ [ "#E9E3C5", "#292934" ] ] + +let s:p.insert.left = [ [ "#A5A5B0", "#364F59", "bold" ], [ "#A5A5B0", "#414151" ] ] +let s:p.replace.left = [ [ "#A5A5B0", "#47272A", "bold" ], [ "#A5A5B0", "#414151" ] ] +let s:p.visual.left = [ [ "#A5A5B0", "#49473E", "bold" ], [ "#A5A5B0", "#414151" ] ] + +let s:p.tabline.left = [ [ "#DDD8BB", "#414151", "italic" ] ] +let s:p.tabline.middle = [ [ "#E9E3C5", "#292934" ] ] +let s:p.tabline.right = [ [ "#DDD8BB", "#414151" ] ] +let s:p.tabline.tabsel = [ [ "#DDD8BB", "#1F1F28", "bold" ] ] + +let g:lightline#colorscheme#kanagawabones#palette = lightline#colorscheme#fill(s:p) diff --git a/colors/kanagawabones.vim b/colors/kanagawabones.vim new file mode 100644 index 0000000..0534f81 --- /dev/null +++ b/colors/kanagawabones.vim @@ -0,0 +1,284 @@ +if exists('g:colors_name') + highlight clear +endif + +let g:colors_name = 'kanagawabones' +set background=dark + +if has('nvim') && (!exists('g:' . g:colors_name . '_compat') || g:{g:colors_name}_compat == 0) + lua require("zenbones.util").apply_colorscheme() + finish +endif + +let s:italics = (&t_ZH != '' && &t_ZH != '') || has('gui_running') || has('nvim') + +if &background ==# 'dark' + " dark start + " This codeblock is auto-generated by shipwright.nvim + let g:terminal_color_0 = '#1F1F28' + let g:terminal_color_1 = '#E46A78' + let g:terminal_color_2 = '#98BC6D' + let g:terminal_color_3 = '#E5C283' + let g:terminal_color_4 = '#7EB3C9' + let g:terminal_color_5 = '#957FB8' + let g:terminal_color_6 = '#7EB3C9' + let g:terminal_color_7 = '#DDD8BB' + let g:terminal_color_8 = '#3C3C51' + let g:terminal_color_9 = '#EC818C' + let g:terminal_color_10 = '#9EC967' + let g:terminal_color_11 = '#F1C982' + let g:terminal_color_12 = '#7BC2DF' + let g:terminal_color_13 = '#A98FD2' + let g:terminal_color_14 = '#7BC2DF' + let g:terminal_color_15 = '#A8A48D' + highlight Bold guifg=NONE guibg=NONE guisp=NONE gui=bold cterm=bold + highlight! link LightspeedUnlabeledMatch Bold + highlight! link TSStrong Bold + highlight BufferVisible guifg=#E9E3C5 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight BufferVisibleIndex guifg=#E9E3C5 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight BufferVisibleSign guifg=#E9E3C5 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight CmpItemAbbr guifg=#BBB79E guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight CmpItemAbbrDeprecated guifg=#7A7767 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight CmpItemAbbrMatch guifg=#DDD8BB guibg=NONE guisp=NONE gui=bold cterm=bold + highlight CmpItemAbbrMatchFuzzy guifg=#C3BFA5 guibg=NONE guisp=NONE gui=bold cterm=bold + highlight CmpItemKind guifg=#A29E89 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight CmpItemMenu guifg=#95917D guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight CocMarkdownLink guifg=#7EB3C9 guibg=NONE guisp=NONE gui=underline cterm=underline + highlight ColorColumn guifg=NONE guibg=#514531 guisp=NONE gui=NONE cterm=NONE + highlight! link LspReferenceRead ColorColumn + highlight! link LspReferenceText ColorColumn + highlight! link LspReferenceWrite ColorColumn + highlight Comment guifg=#696977 guibg=NONE guisp=NONE gui=italic cterm=italic + highlight Conceal guifg=#95917D guibg=NONE guisp=NONE gui=bold,italic cterm=bold,italic + highlight! link LightspeedMaskedChar Conceal + highlight Constant guifg=#A29E89 guibg=NONE guisp=NONE gui=italic cterm=italic + highlight! link TroubleSource Constant + highlight! link WhichKeyValue Constant + highlight! link helpHyperTextJump Constant + highlight! link helpOption Constant + highlight Cursor guifg=#1F1F28 guibg=#E6E0C2 guisp=NONE gui=NONE cterm=NONE + highlight! link TermCursor Cursor + highlight CursorLine guifg=NONE guibg=#272732 guisp=NONE gui=NONE cterm=NONE + highlight! link CursorColumn CursorLine + highlight! link NeogitDiffContextHighlight CursorLine + highlight! link TelescopeSelection CursorLine + highlight CursorLineNr guifg=#DDD8BB guibg=NONE guisp=NONE gui=bold cterm=bold + highlight Delimiter guifg=#7D7D8D guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link markdownLinkTextDelimiter Delimiter + highlight! link NeogitNotificationError DiagnosticError + highlight DiagnosticHint guifg=#957FB8 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight DiagnosticInfo guifg=#7EB3C9 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link NeogitNotificationInfo DiagnosticInfo + highlight! link TSNote DiagnosticInfo + highlight DiagnosticSignError guifg=#E46A78 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link CocErrorSign DiagnosticSignError + highlight DiagnosticSignHint guifg=#957FB8 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link CocHintSign DiagnosticSignHint + highlight DiagnosticSignInfo guifg=#7EB3C9 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link CocInfoSign DiagnosticSignInfo + highlight DiagnosticSignWarn guifg=#E5C283 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link CocWarningSign DiagnosticSignWarn + highlight DiagnosticUnderlineError guifg=NONE guibg=NONE guisp=#E46A78 gui=undercurl cterm=undercurl + highlight! link CocErrorHighlight DiagnosticUnderlineError + highlight DiagnosticUnderlineHint guifg=NONE guibg=NONE guisp=#957FB8 gui=undercurl cterm=undercurl + highlight! link CocHintHighlight DiagnosticUnderlineHint + highlight DiagnosticUnderlineInfo guifg=NONE guibg=NONE guisp=#7EB3C9 gui=undercurl cterm=undercurl + highlight! link CocInfoHighlight DiagnosticUnderlineInfo + highlight DiagnosticUnderlineWarn guifg=NONE guibg=NONE guisp=#E5C283 gui=undercurl cterm=undercurl + highlight! link CocWarningHighlight DiagnosticUnderlineWarn + highlight DiagnosticVirtualTextError guifg=#E46A78 guibg=#2E2626 guisp=NONE gui=NONE cterm=NONE + highlight! link CocErrorVirtualText DiagnosticVirtualTextError + highlight DiagnosticVirtualTextHint guifg=#957FB8 guibg=#29272D guisp=NONE gui=NONE cterm=NONE + highlight DiagnosticVirtualTextInfo guifg=#7EB3C9 guibg=#262829 guisp=NONE gui=NONE cterm=NONE + highlight DiagnosticVirtualTextWarn guifg=#E5C283 guibg=#292826 guisp=NONE gui=NONE cterm=NONE + highlight! link CocWarningVitualText DiagnosticVirtualTextWarn + highlight! link NeogitNotificationWarning DiagnosticWarn + highlight DiffAdd guifg=NONE guibg=#2A331F guisp=NONE gui=NONE cterm=NONE + highlight! link NeogitDiffAddHighlight DiffAdd + highlight DiffChange guifg=NONE guibg=#22333A guisp=NONE gui=NONE cterm=NONE + highlight DiffDelete guifg=NONE guibg=#47272A guisp=NONE gui=NONE cterm=NONE + highlight! link NeogitDiffDeleteHighlight DiffDelete + highlight DiffText guifg=#DDD8BB guibg=#364F59 guisp=NONE gui=NONE cterm=NONE + highlight Directory guifg=NONE guibg=NONE guisp=NONE gui=bold cterm=bold + highlight Error guifg=#E46A78 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link DiagnosticError Error + highlight! link ErrorMsg Error + highlight! link TSDanger Error + highlight FloatBorder guifg=#7B7B8B guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight FoldColumn guifg=#646476 guibg=NONE guisp=NONE gui=bold cterm=bold + highlight Folded guifg=#A5A5B0 guibg=#383846 guisp=NONE gui=NONE cterm=NONE + highlight Function guifg=#DDD8BB guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link TroubleNormal Function + highlight! link TroubleText Function + highlight GitSignsAdd guifg=#98BC6D guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link GitGutterAdd GitSignsAdd + highlight GitSignsChange guifg=#7EB3C9 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link GitGutterChange GitSignsChange + highlight GitSignsDelete guifg=#E46A78 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link GitGutterDelete GitSignsDelete + highlight HopNextKey2 guifg=#7EB3C9 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight Identifier guifg=#BBB79E guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link TSVariable Identifier + highlight IncSearch guifg=#1F1F28 guibg=#AE9FCA guisp=NONE gui=bold cterm=bold + highlight IndentBlanklineChar guifg=#383844 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic + highlight! link TSEmphasis Italic + highlight! link markdownTSEmphasis Italic + highlight LightspeedGreyWash guifg=#696977 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link HopUnmatched LightspeedGreyWash + highlight LightspeedLabel guifg=#957FB8 guibg=NONE guisp=NONE gui=bold,underline cterm=bold,underline + highlight! link HopNextKey LightspeedLabel + highlight LightspeedLabelDistant guifg=#7EB3C9 guibg=NONE guisp=NONE gui=bold,underline cterm=bold,underline + highlight! link HopNextKey1 LightspeedLabelDistant + highlight LightspeedLabelDistantOverlapped guifg=#7EB3C9 guibg=NONE guisp=NONE gui=underline cterm=underline + highlight LightspeedLabelOverlapped guifg=#957FB8 guibg=NONE guisp=NONE gui=underline cterm=underline + highlight LightspeedOneCharMatch guifg=#1F1F28 guibg=#957FB8 guisp=NONE gui=bold cterm=bold + highlight LightspeedPendingChangeOpArea guifg=#957FB8 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight LightspeedShortcut guifg=#1F1F28 guibg=#957FB8 guisp=NONE gui=bold,underline cterm=bold,underline + highlight LineNr guifg=#646476 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link CocCodeLens LineNr + highlight! link LspCodeLens LineNr + highlight! link NeogitHunkHeader LineNr + highlight! link SignColumn LineNr + highlight! link WhichKeySeparator LineNr + highlight MoreMsg guifg=#98BC6D guibg=NONE guisp=NONE gui=bold cterm=bold + highlight! link Question MoreMsg + highlight NeogitHunkHeaderHighlight guifg=#DDD8BB guibg=#272732 guisp=NONE gui=bold cterm=bold + highlight! link NnnNormalNC NnnNormal + highlight NnnVertSplit guifg=bg guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight NonText guifg=#58586A guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link EndOfBuffer NonText + highlight! link Whitespace NonText + highlight Normal guifg=#DDD8BB guibg=#1F1F28 guisp=NONE gui=NONE cterm=NONE + highlight NormalFloat guifg=NONE guibg=#31313F guisp=NONE gui=NONE cterm=NONE + highlight Number guifg=#DDD8BB guibg=NONE guisp=NONE gui=italic cterm=italic + highlight! link Boolean Number + highlight! link TSConstBuiltin Number + highlight! link TSConstMacro Number + highlight! link TSVariableBuiltin Number + highlight NvimTreeCursorLine guifg=NONE guibg=#292934 guisp=NONE gui=NONE cterm=NONE + highlight! link NvimTreeCursorColumn NvimTreeCursorLine + highlight NvimTreeNormal guifg=#DDD8BB guibg=#25252F guisp=NONE gui=NONE cterm=NONE + highlight! link NnnNormal NvimTreeNormal + highlight NvimTreeRootFolder guifg=#7EB3C9 guibg=NONE guisp=NONE gui=bold cterm=bold + highlight NvimTreeSpecialFile guifg=#957FB8 guibg=NONE guisp=NONE gui=underline cterm=underline + highlight NvimTreeSymlink guifg=#7EB3C9 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight NvimTreeVertSplit guifg=bg guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight Pmenu guifg=NONE guibg=#31313F guisp=NONE gui=NONE cterm=NONE + highlight PmenuSbar guifg=NONE guibg=#5D5D6F guisp=NONE gui=NONE cterm=NONE + highlight PmenuSel guifg=NONE guibg=#484759 guisp=NONE gui=NONE cterm=NONE + highlight PmenuThumb guifg=NONE guibg=#858594 guisp=NONE gui=NONE cterm=NONE + highlight Search guifg=#DDD8BB guibg=#614A82 guisp=NONE gui=NONE cterm=NONE + highlight! link MatchParen Search + highlight! link Sneak Search + highlight! link LightspeedPendingOpArea SneakLabel + highlight SneakLabelMask guifg=#957FB8 guibg=#957FB8 guisp=NONE gui=NONE cterm=NONE + highlight Special guifg=#ADA992 guibg=NONE guisp=NONE gui=bold cterm=bold + highlight! link TSNamespace Special + highlight! link TSTag Special + highlight! link WhichKeyGroup Special + highlight! link helpHyperTextEntry Special + highlight! link markdownTSPunctSpecial Special + highlight SpecialComment guifg=#696977 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link markdownTSURI SpecialComment + highlight SpecialKey guifg=#58586A guibg=NONE guisp=NONE gui=italic cterm=italic + highlight! link markdownTSStringEscape SpecialKey + highlight SpellBad guifg=#D0777F guibg=NONE guisp=NONE gui=undercurl cterm=undercurl + highlight! link CocSelectedText SpellBad + highlight SpellCap guifg=#D0777F guibg=NONE guisp=NONE gui=undercurl cterm=undercurl + highlight! link SpellLocal SpellCap + highlight SpellRare guifg=#D0777F guibg=NONE guisp=NONE gui=undercurl cterm=undercurl + highlight Statement guifg=#DDD8BB guibg=NONE guisp=NONE gui=bold cterm=bold + highlight! link PreProc Statement + highlight! link WhichKey Statement + highlight! link markdownTSTitle Statement + highlight StatusLine guifg=#DDD8BB guibg=#363644 guisp=NONE gui=NONE cterm=NONE + highlight! link TabLine StatusLine + highlight StatusLineNC guifg=#E9E3C5 guibg=#292934 guisp=NONE gui=NONE cterm=NONE + highlight! link TabLineFill StatusLineNC + highlight TSConstant guifg=#BBB79E guibg=NONE guisp=NONE gui=bold cterm=bold + highlight TabLineSel guifg=NONE guibg=NONE guisp=NONE gui=bold cterm=bold + highlight! link BufferCurrent TabLineSel + highlight TelescopeBorder guifg=#7B7B8B guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight TelescopeMatching guifg=#957FB8 guibg=NONE guisp=NONE gui=bold cterm=bold + highlight TelescopeSelectionCaret guifg=#E46A78 guibg=#272732 guisp=NONE gui=NONE cterm=NONE + highlight Title guifg=#DDD8BB guibg=NONE guisp=NONE gui=bold cterm=bold + highlight Todo guifg=NONE guibg=NONE guisp=NONE gui=bold,underline cterm=bold,underline + highlight Type guifg=#9797A5 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link helpSpecial Type + highlight! link markdownTSLiteral Type + highlight Underlined guifg=NONE guibg=NONE guisp=NONE gui=underline cterm=underline + highlight! link TSUnderline Underlined + highlight VertSplit guifg=#646476 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight Visual guifg=NONE guibg=#49473E guisp=NONE gui=NONE cterm=NONE + highlight WarningMsg guifg=#E5C283 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link DiagnosticWarn WarningMsg + highlight! link TSWarning WarningMsg + highlight! link gitcommitOverflow WarningMsg + highlight WildMenu guifg=#1F1F28 guibg=#957FB8 guisp=NONE gui=NONE cterm=NONE + highlight! link SneakLabel WildMenu + highlight diffAdded guifg=#98BC6D guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link NvimTreeGitNew diffAdded + highlight diffChanged guifg=#7EB3C9 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link NvimTreeGitDirty diffChanged + highlight diffFile guifg=#E5C283 guibg=NONE guisp=NONE gui=bold cterm=bold + highlight diffIndexLine guifg=#E5C283 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight diffLine guifg=#957FB8 guibg=NONE guisp=NONE gui=bold cterm=bold + highlight diffNewFile guifg=#98BC6D guibg=NONE guisp=NONE gui=italic cterm=italic + highlight diffOldFile guifg=#E46A78 guibg=NONE guisp=NONE gui=italic cterm=italic + highlight diffRemoved guifg=#E46A78 guibg=NONE guisp=NONE gui=NONE cterm=NONE + highlight! link NvimTreeGitDeleted diffRemoved + highlight lCursor guifg=#1F1F28 guibg=#8F8C78 guisp=NONE gui=NONE cterm=NONE + highlight! link TermCursorNC lCursor + highlight! link markdownCode markdownTSLiteral + highlight markdownTSTextReference guifg=#BBB79E guibg=NONE guisp=NONE gui=underline cterm=underline + highlight! link markdownLinkText markdownTSTextReference + highlight! link markdownUrl markdownTSURI + " dark end + + if !s:italics + " no italics dark start + " This codeblock is auto-generated by shipwright.nvim + highlight Boolean gui=NONE cterm=NONE + highlight Comment gui=NONE cterm=NONE + highlight Constant gui=NONE cterm=NONE + highlight Number gui=NONE cterm=NONE + highlight SpecialKey gui=NONE cterm=NONE + highlight TSConstBuiltin gui=NONE cterm=NONE + highlight TSConstMacro gui=NONE cterm=NONE + highlight TSEmphasis gui=NONE cterm=NONE + highlight TSVariableBuiltin gui=NONE cterm=NONE + highlight TroubleSource gui=NONE cterm=NONE + highlight WhichKeyValue gui=NONE cterm=NONE + highlight diffNewFile gui=NONE cterm=NONE + highlight diffOldFile gui=NONE cterm=NONE + highlight helpHyperTextJump gui=NONE cterm=NONE + highlight helpOption gui=NONE cterm=NONE + highlight markdownTSEmphasis gui=NONE cterm=NONE + highlight markdownTSStringEscape gui=NONE cterm=NONE + " no italics dark end + endif +endif + +if has('terminal') + highlight! link StatusLineTerm StatusLine + highlight! link StatusLineTermNC StatusLineNC + let g:terminal_ansi_colors = [ + \ g:terminal_color_0, + \ g:terminal_color_1, + \ g:terminal_color_2, + \ g:terminal_color_3, + \ g:terminal_color_4, + \ g:terminal_color_5, + \ g:terminal_color_6, + \ g:terminal_color_7, + \ g:terminal_color_8, + \ g:terminal_color_9, + \ g:terminal_color_10, + \ g:terminal_color_11, + \ g:terminal_color_12, + \ g:terminal_color_13, + \ g:terminal_color_14, + \ g:terminal_color_15 + \ ] +endif diff --git a/doc/zenbones.md b/doc/zenbones.md index c18f8dd..3b442e1 100644 --- a/doc/zenbones.md +++ b/doc/zenbones.md @@ -24,6 +24,7 @@ colorscheme tokyobones colorscheme seoulbones colorscheme duckbones colorscheme zenburned +colorscheme kanagawabones colorscheme randombones ``` diff --git a/doc/zenbones.txt b/doc/zenbones.txt index 01429e1..bddb83f 100644 --- a/doc/zenbones.txt +++ b/doc/zenbones.txt @@ -35,6 +35,7 @@ Just apply the colorscheme as usual: colorscheme seoulbones colorscheme duckbones colorscheme zenburned + colorscheme kanagawabones colorscheme randombones < diff --git a/extras/alacritty/kanagawabones.yml b/extras/alacritty/kanagawabones.yml new file mode 100644 index 0000000..fc799d3 --- /dev/null +++ b/extras/alacritty/kanagawabones.yml @@ -0,0 +1,26 @@ +# This file is auto-generated by shipwright.nvim +colors: + primary: + foreground: '#DDD8BB' + background: '#1F1F28' + cursor: + cursor: '#1F1F28' + text: '#E6E0C2' + normal: + black: '#1F1F28' + red: '#E46A78' + green: '#98BC6D' + yellow: '#E5C283' + blue: '#7EB3C9' + magenta: '#957FB8' + cyan: '#7EB3C9' + white: '#DDD8BB' + bright: + black: '#3C3C51' + red: '#EC818C' + green: '#9EC967' + yellow: '#F1C982' + blue: '#7BC2DF' + magenta: '#A98FD2' + cyan: '#7BC2DF' + white: '#A8A48D' diff --git a/extras/iterm/kanagawabones.itermcolors b/extras/iterm/kanagawabones.itermcolors new file mode 100644 index 0000000..b2fad36 --- /dev/null +++ b/extras/iterm/kanagawabones.itermcolors @@ -0,0 +1,357 @@ + + + + + Ansi 0 Color + + Alpha Component + 1 + Blue Component + 0.1568627450980392 + Color Space + sRGB + Green Component + 0.1215686274509804 + Red Component + 0.1215686274509804 + + Ansi 1 Color + + Alpha Component + 1 + Blue Component + 0.4705882352941176 + Color Space + sRGB + Green Component + 0.4156862745098039 + Red Component + 0.8941176470588236 + + Ansi 10 Color + + Alpha Component + 1 + Blue Component + 0.4039215686274510 + Color Space + sRGB + Green Component + 0.7882352941176470 + Red Component + 0.6196078431372549 + + Ansi 11 Color + + Alpha Component + 1 + Blue Component + 0.5098039215686274 + Color Space + sRGB + Green Component + 0.7882352941176470 + Red Component + 0.9450980392156862 + + Ansi 12 Color + + Alpha Component + 1 + Blue Component + 0.8745098039215686 + Color Space + sRGB + Green Component + 0.7607843137254902 + Red Component + 0.4823529411764706 + + Ansi 13 Color + + Alpha Component + 1 + Blue Component + 0.8235294117647058 + Color Space + sRGB + Green Component + 0.5607843137254902 + Red Component + 0.6627450980392157 + + Ansi 14 Color + + Alpha Component + 1 + Blue Component + 0.8745098039215686 + Color Space + sRGB + Green Component + 0.7607843137254902 + Red Component + 0.4823529411764706 + + Ansi 15 Color + + Alpha Component + 1 + Blue Component + 0.5529411764705883 + Color Space + sRGB + Green Component + 0.6431372549019608 + Red Component + 0.6588235294117647 + + Ansi 2 Color + + Alpha Component + 1 + Blue Component + 0.4274509803921568 + Color Space + sRGB + Green Component + 0.7372549019607844 + Red Component + 0.5960784313725490 + + Ansi 3 Color + + Alpha Component + 1 + Blue Component + 0.5137254901960784 + Color Space + sRGB + Green Component + 0.7607843137254902 + Red Component + 0.8980392156862745 + + Ansi 4 Color + + Alpha Component + 1 + Blue Component + 0.7882352941176470 + Color Space + sRGB + Green Component + 0.7019607843137254 + Red Component + 0.4941176470588236 + + Ansi 5 Color + + Alpha Component + 1 + Blue Component + 0.7215686274509804 + Color Space + sRGB + Green Component + 0.4980392156862745 + Red Component + 0.5843137254901961 + + Ansi 6 Color + + Alpha Component + 1 + Blue Component + 0.7882352941176470 + Color Space + sRGB + Green Component + 0.7019607843137254 + Red Component + 0.4941176470588236 + + Ansi 7 Color + + Alpha Component + 1 + Blue Component + 0.7333333333333333 + Color Space + sRGB + Green Component + 0.8470588235294118 + Red Component + 0.8666666666666667 + + Ansi 8 Color + + Alpha Component + 1 + Blue Component + 0.3176470588235294 + Color Space + sRGB + Green Component + 0.2352941176470588 + Red Component + 0.2352941176470588 + + Ansi 9 Color + + Alpha Component + 1 + Blue Component + 0.5490196078431373 + Color Space + sRGB + Green Component + 0.5058823529411764 + Red Component + 0.9254901960784314 + + Background Color + + Alpha Component + 1 + Blue Component + 0.1568627450980392 + Color Space + sRGB + Green Component + 0.1215686274509804 + Red Component + 0.1215686274509804 + + Badge Color + + Alpha Component + 1 + Blue Component + 0.4666666666666667 + Color Space + sRGB + Green Component + 0.4117647058823529 + Red Component + 0.4117647058823529 + + Bold Color + + Alpha Component + 1 + Blue Component + 0.3176470588235294 + Color Space + sRGB + Green Component + 0.2352941176470588 + Red Component + 0.2352941176470588 + + Cursor Color + + Alpha Component + 1 + Blue Component + 0.7607843137254902 + Color Space + sRGB + Green Component + 0.8784313725490196 + Red Component + 0.9019607843137255 + + Cursor Guide Color + + Alpha Component + 1 + Blue Component + 0.1960784313725490 + Color Space + sRGB + Green Component + 0.1529411764705882 + Red Component + 0.1529411764705882 + + Cursor Text Color + + Alpha Component + 1 + Blue Component + 0.1568627450980392 + Color Space + sRGB + Green Component + 0.1215686274509804 + Red Component + 0.1215686274509804 + + Foreground Color + + Alpha Component + 1 + Blue Component + 0.7333333333333333 + Color Space + sRGB + Green Component + 0.8470588235294118 + Red Component + 0.8666666666666667 + + Link Color + + Alpha Component + 1 + Blue Component + 0.8745098039215686 + Color Space + sRGB + Green Component + 0.7607843137254902 + Red Component + 0.4823529411764706 + + Selected Text Color + + Alpha Component + 1 + Blue Component + 0.7333333333333333 + Color Space + sRGB + Green Component + 0.8470588235294118 + Red Component + 0.8666666666666667 + + Selection Color + + Alpha Component + 1 + Blue Component + 0.2431372549019608 + Color Space + sRGB + Green Component + 0.2784313725490196 + Red Component + 0.2862745098039216 + + Tab Color + + Alpha Component + 1 + Blue Component + 0.1568627450980392 + Color Space + sRGB + Green Component + 0.1215686274509804 + Red Component + 0.1215686274509804 + + + diff --git a/extras/kitty/kanagawabones.conf b/extras/kitty/kanagawabones.conf new file mode 100644 index 0000000..43eb940 --- /dev/null +++ b/extras/kitty/kanagawabones.conf @@ -0,0 +1,49 @@ +# This file is auto-generated by shipwright.nvim +# vim:ft=kitty +## name: kanagawabones +## author: Michael Chris Lopez +## license: MIT +## upstream: https://github.com/mcchrish/zenbones.nvim/raw/main/extras/kitty/kanagawabones.conf +## blurb: A zenbones variant inspired by Kanagawa. +foreground #DDD8BB +background #1F1F28 +selection_foreground #DDD8BB +selection_background #49473E +# Cursor colors +cursor #E6E0C2 +cursor_text_color #1F1F28 +# URL underline color when hovering with mouse +# kitty window border colors +# OS Window titlebar colors +# Tab bar colors +active_tab_foreground #DDD8BB +active_tab_background #614A82 +inactive_tab_foreground #DDD8BB +inactive_tab_background #363644 +# Colors for marks (marked text in the terminal) +# The basic 16 colors +# black +color0 #1F1F28 +color8 #3C3C51 +# red +color1 #E46A78 +color9 #EC818C +# green +color2 #98BC6D +color10 #9EC967 +# yellow +color3 #E5C283 +color11 #F1C982 +# blue +color4 #7EB3C9 +color12 #7BC2DF +# magenta +color5 #957FB8 +color13 #A98FD2 +# cyan +color6 #7EB3C9 +color14 #7BC2DF +# white +color7 #DDD8BB +color15 #A8A48D +# You can set the remaining 240 colors as color16 to color255. diff --git a/extras/tmux/kanagawabones.tmux b/extras/tmux/kanagawabones.tmux new file mode 100644 index 0000000..ac3e5ee --- /dev/null +++ b/extras/tmux/kanagawabones.tmux @@ -0,0 +1,19 @@ +# This file is auto-generated by shipwright.nvim +set -g status-left ' #[fg=#957FB8,bold]#{s/root//:client_key_table} ' +set -g status-right '#[fg=#957FB8,bold] [#S]#[fg=#957FB8,bold] [%d/%m] #[fg=#957FB8,bold][%I:%M%p] ' +set -g status-style fg='#957FB8',bg='#DDD8BB' + +set -g window-status-current-style fg='#957FB8',bg='#DDD8BB',bold + +set -g pane-border-style fg='#957FB8' +set -g pane-active-border-style fg='#957FB8' + +set -g message-style fg='#1F1F28',bg='#49473E' + +set -g display-panes-active-colour '#957FB8' +set -g display-panes-colour '#957FB8' + +set -g clock-mode-colour '#957FB8' + +set -g mode-style fg='#1F1F28',bg='#49473E' + diff --git a/extras/wezterm/Kanagawabones.toml b/extras/wezterm/Kanagawabones.toml new file mode 100644 index 0000000..ae6d41f --- /dev/null +++ b/extras/wezterm/Kanagawabones.toml @@ -0,0 +1,11 @@ +# This file is auto-generated by shipwright.nvim +[colors] +foreground = "#DDD8BB" +background = "#1F1F28" +cursor_fg = "#1F1F28" +cursor_bg = "#E6E0C2" +cursor_border = "#1F1F28" +selection_fg = "#DDD8BB" +selection_bg = "#49473E" +ansi = ["#1F1F28", "#E46A78", "#98BC6D", "#E5C283", "#7EB3C9", "#957FB8", "#7EB3C9", "#DDD8BB"] +brights = ["#3C3C51", "#EC818C", "#9EC967", "#F1C982", "#7BC2DF", "#A98FD2", "#7BC2DF", "#A8A48D"] diff --git a/lua/kanagawabones/init.lua b/lua/kanagawabones/init.lua new file mode 100644 index 0000000..26e9c21 --- /dev/null +++ b/lua/kanagawabones/init.lua @@ -0,0 +1,5 @@ +local generator = require "zenbones.specs" +local bg = vim.opt.background:get() +local p = require("kanagawabones.palette")[bg] + +return generator.generate(p, bg, generator.get_global_config("kanagawabones", bg)) diff --git a/lua/kanagawabones/palette.lua b/lua/kanagawabones/palette.lua new file mode 100644 index 0000000..9309aa6 --- /dev/null +++ b/lua/kanagawabones/palette.lua @@ -0,0 +1,18 @@ +local util = require "zenbones.util" +local lush = require "lush" +local hsluv = lush.hsluv + +local M = {} + +M.dark = util.palette_extend({ + bg = hsluv "#1f1f28", + fg = hsluv "#dcd7ba", + leaf = hsluv "#98bb6c", + water = hsluv "#7fb4ca", + rose = hsluv "#e46876", + wood = hsluv "#e6c384", + blossom = hsluv "#957fb8", + sky = hsluv "#7fb4ca", +}, "dark") + +return M diff --git a/lua/lualine/themes/kanagawabones.lua b/lua/lualine/themes/kanagawabones.lua new file mode 100644 index 0000000..317ff15 --- /dev/null +++ b/lua/lualine/themes/kanagawabones.lua @@ -0,0 +1 @@ +return require("zenbones.util").get_lualine_theme "kanagawabones" diff --git a/lua/lualine/themes/kanagawabones_default.lua b/lua/lualine/themes/kanagawabones_default.lua new file mode 100644 index 0000000..f8b8590 --- /dev/null +++ b/lua/lualine/themes/kanagawabones_default.lua @@ -0,0 +1,34 @@ +-- This file is auto-generated by shipwright.nvim +local common_fg = "#A5A5B0" +local inactive_bg = "#292934" +local inactive_fg = "#E9E3C5" + +return { + normal = { + a = { bg = "#565668", fg = common_fg, gui = "bold" }, + b = { bg = "#414151", fg = common_fg }, + c = { bg = "#2F2F3C", fg = "#DDD8BB" }, + }, + + insert = { + a = { bg = "#364F59", fg = common_fg, gui = "bold" }, + }, + + command = { + a = { bg = "#614A82", fg = common_fg, gui = "bold" }, + }, + + visual = { + a = { bg = "#49473E", fg = common_fg, gui = "bold" }, + }, + + replace = { + a = { bg = "#47272A", fg = common_fg, gui = "bold" }, + }, + + inactive = { + a = { bg = inactive_bg, fg = inactive_fg, gui = "bold" }, + b = { bg = inactive_bg, fg = inactive_fg }, + c = { bg = inactive_bg, fg = inactive_fg }, + }, +} diff --git a/lua/lualine/themes/kanagawabones_stark.lua b/lua/lualine/themes/kanagawabones_stark.lua new file mode 100644 index 0000000..976b4d4 --- /dev/null +++ b/lua/lualine/themes/kanagawabones_stark.lua @@ -0,0 +1,34 @@ +-- This file is auto-generated by shipwright.nvim +local common_fg = "#A2A2B5" +local inactive_bg = "#222233" +local inactive_fg = "#E9E3C5" + +return { + normal = { + a = { bg = "#50506E", fg = common_fg, gui = "bold" }, + b = { bg = "#3B3B54", fg = common_fg }, + c = { bg = "#28283B", fg = "#DDD8BB" }, + }, + + insert = { + a = { bg = "#314851", fg = common_fg, gui = "bold" }, + }, + + command = { + a = { bg = "#594378", fg = common_fg, gui = "bold" }, + }, + + visual = { + a = { bg = "#424038", fg = common_fg, gui = "bold" }, + }, + + replace = { + a = { bg = "#3E2225", fg = common_fg, gui = "bold" }, + }, + + inactive = { + a = { bg = inactive_bg, fg = inactive_fg, gui = "bold" }, + b = { bg = inactive_bg, fg = inactive_fg }, + c = { bg = inactive_bg, fg = inactive_fg }, + }, +} diff --git a/lua/lualine/themes/kanagawabones_warm.lua b/lua/lualine/themes/kanagawabones_warm.lua new file mode 100644 index 0000000..4688320 --- /dev/null +++ b/lua/lualine/themes/kanagawabones_warm.lua @@ -0,0 +1,34 @@ +-- This file is auto-generated by shipwright.nvim +local common_fg = "#A8A8B2" +local inactive_bg = "#2F2F3B" +local inactive_fg = "#E9E3C5" + +return { + normal = { + a = { bg = "#5B5A6B", fg = common_fg, gui = "bold" }, + b = { bg = "#484858", fg = common_fg }, + c = { bg = "#343440", fg = "#DDD8BB" }, + }, + + insert = { + a = { bg = "#3C5661", fg = common_fg, gui = "bold" }, + }, + + command = { + a = { bg = "#69508D", fg = common_fg, gui = "bold" }, + }, + + visual = { + a = { bg = "#504E44", fg = common_fg, gui = "bold" }, + }, + + replace = { + a = { bg = "#502D30", fg = common_fg, gui = "bold" }, + }, + + inactive = { + a = { bg = inactive_bg, fg = inactive_fg, gui = "bold" }, + b = { bg = inactive_bg, fg = inactive_fg }, + c = { bg = inactive_bg, fg = inactive_fg }, + }, +} diff --git a/zenbones.json b/zenbones.json index 994c964..7cbbab8 100644 --- a/zenbones.json +++ b/zenbones.json @@ -50,5 +50,10 @@ { "name": "zenwritten", "description": "A zenbones variant with zero hue and saturation." + }, + { + "name": "kanagawabones", + "background": "dark", + "description": "A zenbones variant inspired by Kanagawa." } ]