nordtheme / nord

An arctic, north-bluish color palette.
https://www.nordtheme.com
MIT License
6k stars 171 forks source link

Port for suckless.org `st` #89

Open robert-uhl opened 6 years ago

robert-uhl commented 6 years ago

Issue type: feature

Description

st is the simple terminal from the suckless project. It'd be awesome to have an official port of Nord to st.

Here's an attempt at the relevant changes to config.def.h:

const char *colorname[] = {
  "#3b4252", /*  0: nord1 */
  "#bf616a", /*  1: nord11 */
  "#a3be8c", /*  2: nord14 */
  "#ebcb8b", /*  3: nord13 */
  "#81a1c1", /*  4: nord9 */
  "#b48ead", /*  5: nord15 */
  "#88c0d0", /*  6: nord8 */
  "#e5e9f0", /*  7: nord5 */
  "#4c566a", /*  8: nord3 */
  "#bf616a", /*  9: nord11 */
  "#a3be8c", /* 10: nord14 */
  "#ebcb8b", /* 11: nord3 */
  "#81a1c1", /* 12: nord9 */
  "#b48ead", /* 13: nord15 */
  "#8fbcbb", /* 14: nord7 */
  "#eceff4", /* 15: nord6 */
  [255] = 0,
  // defaults
  [256] = "#d8dee9", /* 256: nord4 */
  [257] = "#2e3440", /* 257: nord0 */
};

/*
* Default colors (colorname index)
* foreground, background, cursor, reverse
* cursor
*/
unsigned int defaultfg = 256; /* nord4 */
unsigned int defaultbg = 257; /* nord0 */
unsigned int defaultcs = 256; /* nord4 */
unsigned int defaultrcs = 8;  /* nord3 */
arcticicestudio commented 6 years ago

Thanks for your contribution :+1:

I'm always happy for any help to get a new port project up and running. As long as there is no official repository, users can transitionally use the content in this issue to use a theme prototype locally.

Please note that my current life situation doesn't allow me to spend as much time on my projects as before like announced on Twitter so I've added this port project to the Backlog Icebox for the time being. It might take some time to test your provided theme prototype, but I'll try to reserve some free time on the weekends.

robert-uhl commented 6 years ago

Glad to help out.

Thanks so much for Nord; it's my new favourite theme. I've got st, emacs, StumpWM, tmux & slock all using it, and Firefox with a similar UI theme & a number of Nord Stylus themes for frequently-used sites. It's absolutely beautiful!

DanielVartanov commented 6 years ago

@zvbuhl huge thanks for implementing it, I have tested it just now, I gladly confirm it works perfectly

arcticicestudio commented 5 years ago

Another port has been announced (available on GitLab) that can also be used in the meantime. I can spend time again to work off the large queue of port requests as soon as I've got the official website and documentations up and running :smile:

astier commented 5 years ago

I would like to mention that I published a patch on the official suckless-website for st. Wasn't aware that people here are already working on it. But here it is: https://st.suckless.org/patches/nordtheme/