embark-theme / vim Goto Github PK
View Code? Open in Web Editor NEWAn ambitious theme for vim
Home Page: https://embark-theme.github.io/
License: MIT License
An ambitious theme for vim
Home Page: https://embark-theme.github.io/
License: MIT License
Could you add support for edit some text/syntax styles into embark-theme ?
I guess something like that it's a good solution ->
e.g. : link for theme above -> https://github.com/mellow-theme/mellow.nvim
Not sure where to post suggestions and ideas for things like this but thought this was too cool to not make you aware of.
I just found this image processig tool someone's made for the Nord theme and thought it was pretty awesome. It basically applies the nord palette to any image you give it. Source is all on github so I thought if you do get round to making a Nord/Dracula style site, this would be an awesome /r/vimporn /r/unixporn feature!
I've had to add this to my vimrc:
hi MatchParen guibg='#F8F8F2' guifg='#1E1C31'
Couldn't remember the names of these colours so used Hex values I saved from your reddit post. Might be nice to add a chart of colors and their names (+terminal colors) to your readme and/or a mention of :so $VIMRUNTIME/syntax/hitest.vim
and similar.
👋 ,
I'm not really sure how this color thing works, but the 8th terminal color is a bit too dark to be usable, I'm not sure if this issue is specific to my setup or not, maybe you can shed some light.
See the following screenshot:
(on the left, :terminal
with embark colors, the blackened text is barely visible; on the right a terminal not running in nvim)
Let me know if it makes sense, and if so I'd be happy to submit a pull request.
The following patch fixes the issue:
diff --git a/colors/embark.vim b/colors/embark.vim
index 74a9e2c..3c4417d 100644
--- a/colors/embark.vim
+++ b/colors/embark.vim
@@ -344,7 +344,7 @@ let g:terminal_color_4 = s:blue.gui
let g:terminal_color_5 = s:purple.gui
let g:terminal_color_6 = s:cyan.gui
let g:terminal_color_7 = s:space.gui
-let g:terminal_color_8 = s:subtle_black.gui
+let g:terminal_color_8 = s:bg_subtle.gui
let g:terminal_color_9 = s:dark_red.gui
let g:terminal_color_10 = s:dark_green.gui
let g:terminal_color_11 = s:dark_yellow.gui
Here is a theme file for the kitty terminal emulator that matches colors from embark.
# Embark (https://github.com/skbolton/embark/) {{{
background #1e1c31
foreground #EEFFFF
cursor #A1EFD3
selection_background #fbfcfc
# black
color0 #1e1c31
color8 #3E3859
# red
color1 #F0719B
color9 #F02E6E
# green
color2 #A1EFD3
color10 #2CE592
# yellow
color3 #ffe9aa
color11 #ffb378
# blue
color4 #57C7FF
color12 #1DA0E2
# magenta
color5 #C792EA
color13 #A742EA
# cyan
color6 #87DFEB
color14 #63f2f1
# white
color7 #F8F8F2
color15 #a6b3cc
active_border_color #A1EFD3
inactive_border_color #a6b3cc
bell_border_color #f56574
active_tab_foreground #222433
active_tab_background #63f2f1
active_tab_font_style bold
inactive_tab_foreground #63f2f1
inactive_tab_background #222433
inactive_tab_font_style normal
# }}}
Maybe this could be an entry in the wiki ?
It is very nice, i would like to know, please.
I really like this theme and hope to update the theme of the Sublime version or vscode version soon
Hi,
To complete the collection here's a port of the kitty theme for alacritty:
colors:
primary:
background: '0x1e1c31'
foreground: '0xeeffff'
cursor:
text: '0x1e1c31'
cursor: '0xa1efd3'
normal:
black: '0x1e1c31'
red: '0xf0719b'
green: '0xa1efd3'
yellow: '0xffe9aa'
blue: '0x57c7ff'
magenta: '0xc792ea'
cyan: '0x87dfeb'
white: '0xf8f8f2'
bright:
black: '0x585273'
red: '0xf02e6e'
green: '0x2ce592'
yellow: '0xffb378'
blue: '0x1da0e2'
magenta: '0xa742ea'
cyan: '0x63f2f1'
white: '0xa6b3cc'
Looks like this:
Hi!
I've been using the color scheme for the past weeks, and absolutely love it, but I can't seem to disable italics.
Is let g:embark_terminal_italics = 0
supposed to work? Or is there a more specific option to disable italicized comments for example?
Thanks
I have made a zathura port for this awesome colorscheme, Please check that out if you want to add a zathura port.
https://github.com/gdnand/zathura-embark-theme.git
Thanks!
JSX tags are italicized when embark_terminal_italics
is turned on. Below is a screenshot of a TypeScriptReact (.tsx) file.
Installed plugins that might have affected this behaviour:
Expected behaviour: Tags should be added as an exclusion to not be italicized.
Hi! I liked this theme and decided to give it a try.
I have been using it for a minute or so, and I found it strange to read async / await JavaScript code. Please take a look:
await
is a keyword and graphql(
in a function invocation. So it makes big difference if there is await
or not and I used to that other themes have a separate color for keywords. In Embark you have the same color for function names and keywords.
I wonder if you think it will improve the theme if it has (at least slightly) different colors for function names and keywords?
Neovim version 6 just dropped 🎉
With it they have adjusted how the lsp diagnostic highlights work. I am currently verifying that I have configured things correctly on the nvim0.6.0
branch.
If anyone has the time to point their plugin manager to this branch and help me test things out I would appreciate it. If not I should be able to get this in within the upcoming week.
I'm getting some strange behaviour with this airline theme where it doesn't seem to refresh the colours correctly after inserting an emmet abbreviation using CoC. I'm using the example vim config found here
It seems to go back in sync to the expected behaviour if I take focus away from my terminal window and click on it again or use :AirlineRefresh
I'm not getting this problem using any other vim-airline Theme (I'm definitely using a powerline patched font, etc)
I've tried setting the theme manually with let g:airline_theme='embark'
but the problem persists
Steps to reproduce with Coc, emmet-vim and coc-emmet installed:
nvim index.html
i ! <TAB> <CR>
Any thoughts?
vim version: NVIM v0.4.3
coc.nvim version: 0.0.78-0ff42027ff
term: iTerm.app
platform: darwin
all plugins up to date according to Plug
PS: Loving the theme btw! Thanks for putting out there!
I have installed embark using vim-plug. I have put it inside my vimrc. But everytime I open vim, it shows this error
Error detected while processing /home/pial/.vim/vimrc:
line 9:
E185: Cannot find color scheme 'embark'
Press ENTER or type command to continue
But, when I am inside vim, and then use the command mode to select embark as my colorscheme, then it works.
My .vimrc file:
autocmd! bufwritepost vimrc ++nested source %
" change leader key to <space>, previously it was <alt>
let mapleader = " "
" colorscheme
colorscheme embark
" setting linenumbers and relative line numbers
set nu rnu
" incremental searching for vim
set incsearch
" shows command in the status bar
set showcmd
" Plugins installed using vim-plug
call plug#begin('~/.vim/plugged')
Plug 'embark-theme/vim', { 'as': 'embark' }
call plug#end()
I am using VIm 8.1 and my OS is Ubuntu 20.04.
Hi,
Recently I updated my plugins in neovim and I received an error "Illegal value underdash" when I reopened neovim.
The line call s:h("DiffText", {"bg": s:diff_changed, "gui": "underdash"}) appears to be cause.
Perhaps you meant to write 'underline' here ?
Hi,
Love the embark theme.
Could we support https://github.com/nvim-lualine/lualine.nvim?
There is already a PR closed there: nvim-lualine/lualine.nvim#269.
Thanks
I really like the font used in this screenshot https://github.com/embark-theme/vim/blob/master/embark-screenshot.png
Can someone tell me what's the name of this font?
I have nushell+zellij+alacritty+neovim config on MacOS and when I switch to this theme the background of my neovim becomes pitch black which makes the colors stand out very aggressively.
How do I fix that?
Is there any chance to make an option to boost the contrast of the line numbers? :)
thanks, love the scheme. :)
airline doesn't take the embark color theme, so i'm adding let g:airline_theme='embark'
in my init.vim, i'm using nvim
could you help me how I can figure it out?
the following is the error
Error detected while processing function airline#check_mode[66]..airline#highlighter#highlig
ht:
line 2:
E121: Undefined variable: g:airline#themes#embark#palette
Here's the iTerm2 color theme file if you want that too
Embark.itermcolors.zip (zipped because github doesn't like the .itermcolors extension for some reason)
iTerm has a few extra colours for their featureset but I disabled them all to keep it strictly based on your reddit post colour names. Can change any and all if needed.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.19215686619281769</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.10980392247438431</real>
<key>Red Component</key>
<real>0.11764705926179886</real>
</dict>
<key>Ansi 1 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.60784316062927246</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.44313725829124451</real>
<key>Red Component</key>
<real>0.94117647409439087</real>
</dict>
<key>Ansi 10 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.57254904508590698</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.89803922176361084</real>
<key>Red Component</key>
<real>0.17254902422428131</real>
</dict>
<key>Ansi 11 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.47058823704719543</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.70196080207824707</real>
<key>Red Component</key>
<real>1</real>
</dict>
<key>Ansi 12 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.88627451658248901</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.62745100259780884</real>
<key>Red Component</key>
<real>0.11372549086809158</real>
</dict>
<key>Ansi 13 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.91764706373214722</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.25882354378700256</real>
<key>Red Component</key>
<real>0.65490198135375977</real>
</dict>
<key>Ansi 14 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.94509804248809814</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.94901961088180542</real>
<key>Red Component</key>
<real>0.38823530077934265</real>
</dict>
<key>Ansi 15 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.80000001192092896</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.70196080207824707</real>
<key>Red Component</key>
<real>0.65098041296005249</real>
</dict>
<key>Ansi 2 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.82745099067687988</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.93725490570068359</real>
<key>Red Component</key>
<real>0.63137257099151611</real>
</dict>
<key>Ansi 3 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.66666668653488159</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.91372549533843994</real>
<key>Red Component</key>
<real>1</real>
</dict>
<key>Ansi 4 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>1</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.78039216995239258</real>
<key>Red Component</key>
<real>0.34117648005485535</real>
</dict>
<key>Ansi 5 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.91764706373214722</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.57254904508590698</real>
<key>Red Component</key>
<real>0.78039216995239258</real>
</dict>
<key>Ansi 6 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.92156863212585449</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.87450981140136719</real>
<key>Red Component</key>
<real>0.52941179275512695</real>
</dict>
<key>Ansi 7 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.94901961088180542</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.97254902124404907</real>
<key>Red Component</key>
<real>0.97254902124404907</real>
</dict>
<key>Ansi 8 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.3490196168422699</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.21960784494876862</real>
<key>Red Component</key>
<real>0.24313725531101227</real>
</dict>
<key>Ansi 9 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.43137255311012268</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.18039216101169586</real>
<key>Red Component</key>
<real>0.94117647409439087</real>
</dict>
<key>Background Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.19215686619281769</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.10980392247438431</real>
<key>Red Component</key>
<real>0.11764705926179886</real>
</dict>
<key>Badge Color</key>
<dict>
<key>Alpha Component</key>
<real>0.5</real>
<key>Blue Component</key>
<real>0.4117647111415863</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.20392157137393951</real>
<key>Red Component</key>
<real>0.80784314870834351</real>
</dict>
<key>Bold Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>1</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.78975206613540649</real>
<key>Red Component</key>
<real>0.76818817853927612</real>
</dict>
<key>Cursor Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.82745099067687988</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.93725490570068359</real>
<key>Red Component</key>
<real>0.63137257099151611</real>
</dict>
<key>Cursor Guide Color</key>
<dict>
<key>Alpha Component</key>
<real>0.047881155303030304</real>
<key>Blue Component</key>
<real>1</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>1</real>
<key>Red Component</key>
<real>1</real>
</dict>
<key>Cursor Text Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.19215686619281769</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.10980392247438431</real>
<key>Red Component</key>
<real>0.11764705926179886</real>
</dict>
<key>Foreground Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>1</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>1</real>
<key>Red Component</key>
<real>0.93333333730697632</real>
</dict>
<key>Link Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.63137257099151611</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.90588235855102539</real>
<key>Red Component</key>
<real>0.93725490570068359</real>
</dict>
<key>Selected Text Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.19215686619281769</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.10980392247438431</real>
<key>Red Component</key>
<real>0.11764705926179886</real>
</dict>
<key>Selection Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.98823529481887817</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.98823529481887817</real>
<key>Red Component</key>
<real>0.9843137264251709</real>
</dict>
<key>Tab Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.3490196168422699</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.21960784494876862</real>
<key>Red Component</key>
<real>0.24313725531101227</real>
</dict>
<key>Underline Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.50694197416305542</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.3795028030872345</real>
<key>Red Component</key>
<real>0.34893858432769775</real>
</dict>
</dict>
</plist>
It's not the best, and it is my first time making a vscode extension, but I thought maybe I could hand it off and someone could take it from here. In any case, I love the theme, keep up the great work!
Links:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.