nordtheme / vim

An arctic, north-bluish clean and elegant Vim theme.
https://www.nordtheme.com/ports/vim
MIT License
2.52k stars 274 forks source link

Add public API function to get Nord colors #224

Closed jandamm closed 3 years ago

jandamm commented 4 years ago

This way a user who wants to use the colors of the Nord theme without having to copy hex-codes from the website.

This way adding/modifying highlight groups could be done like this:

let colors = NordPalette()
execute 'hi MyGroup guifg='.colors.nord3
arcticicestudio commented 4 years ago

Hi @jandamm :wave:, thanks for your contribution :+1: This sounds like a great idea. I'll test and review the PR in the near future.

jandamm commented 3 years ago

@arcticicestudio Any update?

jandamm commented 3 years ago

Sure thing. Included the bright color and added the public API header 👍