iterm2 icon indicating copy to clipboard operation
iterm2 copied to clipboard

Synchronize RGB Hex values from official Nord palette

Open ericvw opened this issue 2 years ago • 11 comments

Align the ANSI and other iTerm2 colors to the Nord color palette.

The following values have changed in the iTerm2 Settings > Profiles >
Colors panel, noting changes in colors:

Basic Colors
------------
- Foreground    (nord4): #d8dde8 -> #d8dee9
- Background    (nord0): #2e333f -> #2e3440
- Bold          (nord6): #eceef3 -> #eceff4
- Links         (nord5): #e5e8ef -> #e5e9f0
- Selection     (nord2): #4c5569 -> #434c5e
                         (nord3) -> (nord2)
- Selected text (nord4): #d8dde8 -> #d8dee9
- Tab color     (nord1): #3b4151 -> #3b4252

Cursor Colors
-------------
- Cursor       (nord4): #d8dde8 -> #d8dee9
- Cursor text  (nord1): #3b4151 -> #3b4252
- Cursor guide (nord2): #3b4151 -> #434c5e
                        (nord1)    (nord2)

ANSI Colors
-----------
- Normal Black     (nord1): #3b4151  -> #3b4252
- Bright Black     (nord3): #4c5569  -> #4c566a
- Normal Red      (nord11): #be6069  -> #bf616a
- Bright Red      (nord11): #be6069  -> #bf616a
- Normal Green    (nord14): #a3bd8b  -> #a3be8c
- Bright Green:   (nord14): #a3bd8b  -> #a3be8c
- Normal Yellow:  (nord13): #ebca8a  -> #ebcb8b
- Bright Yellow:  (nord12): #ebca8a  -> #d08770
                            (nord13)    (nord12)
- Normal Blue:     (nord9): #81a0c0  -> #81a1c1
- Bright Blue:    (nord10): #81a0c0  -> #5e81ac
                            (nord9)     (nord10)
- Normal Magenta: (nord15): #b48dac  -> #b48ead
- Bright Magenta: (nord15): #b48dac  -> #b48ead
- Normal Cyan:     (nord8): #88bfcf  -> #88c0d0
- Bright Cyan:     (nord7): #8fbbba  -> #8fbcbb
- Normal White:    (nord5): #e5e8ef  -> #e5e9f0
- Bright White:    (nord6): #eceef3  -> #eceff4

The text selection and cursor guide uses nord2 now to align with
"currently active text editor line as well as selection."

Bright Blue uses nord10, the next accent level, for tertiary UI
elements. Using nord12 may be a stretch for Bright Yellow. With both
these changes, all of Frost and Aurora are available.

Closes: #15

ericvw avatar Mar 27 '23 01:03 ericvw

I noticed the change from "Calibrated" to "sRGB" in the diff, which caused me to research this further.

According to https://github.com/mbadolato/iTerm2-Color-Schemes/issues/349#issuecomment-1053743408, the maintainer of iTerm2 recommends sRGB (P3 is not available until iTerm 3.5). Leaving it unspecified or explicitly "Calibrated" is device-specific, which may render differently on other users' displays. By keeping it sRGB and having the RGB Hex values match, each display can calibrate against the sRGB standard values as needed.

ericvw avatar Mar 27 '23 02:03 ericvw

I've updated the commit and included the text in the PR description to describe the details of the changes to help facilitate review and discussion.

ericvw avatar Mar 27 '23 20:03 ericvw

nordtheme-iterm2-aligned

Here is what the iTerm2 Colors settings look like with the changes in this PR.

ericvw avatar Mar 27 '23 20:03 ericvw

Hi @ericvw :wave:, thanks for your contribution and the very detailed PR description and research :+1:

I could vaguely remember the topic about the color space (sRGB vs. Calibrated) and found a comment from myself in PR #8, which is still open. Based on your research I'll revisit my findings about this topic, but the arguments of the iTerm2 author himself that you linked to is more or less the best source :smile:

I'll review this PR as soon as https://github.com/nordtheme/nord/issues/185 is completed which has the most priority right now to finalize the nordtheme organization migration as finally retire Arctic Ice Studio as Nord and personal brand.

svengreb avatar Apr 02 '23 09:04 svengreb

Hi, can this be reviewed?

sa7mon avatar Jun 09 '23 13:06 sa7mon