├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .gitattributes ├── .github └── codeowners ├── .gitignore ├── .husky └── pre-commit ├── .mailmap ├── .npmrc ├── .prettierignore ├── .remarkignore ├── .remarkrc.mjs ├── changelog.md ├── cmd └── srgb-to-hex │ ├── main.go │ └── templates │ ├── xresources.tmpl │ └── yml.tmpl ├── go.mod ├── go.sum ├── license ├── lint-staged.config.js ├── package-lock.json ├── package.json ├── prettier.config.js ├── readme.md └── src ├── assets ├── nord-iterm2-banner.ai ├── nord-iterm2-banner.svg ├── scrot-colortest.png ├── scrot-htop.png └── scrot-readme-activation.png └── xml └── Nord.itermcolors /.editorconfig: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2016-present Sven Greb 2 | # This source code is licensed under the MIT license found in the license file. 3 | 4 | # Configurations for EditorConfig. 5 | # See https://editorconfig.org/#file-format-details for more details. 6 | 7 | # +--------------------+ 8 | # + Base Configuration + 9 | # +--------------------+ 10 | root = true 11 | 12 | [*] 13 | charset = utf-8 14 | end_of_line = lf 15 | indent_size = 2 16 | indent_style = space 17 | insert_final_newline = true 18 | max_line_length = 160 19 | trim_trailing_whitespace = true 20 | 21 | # +-----------+ 22 | # + Languages + 23 | # +-----------+ 24 | # +--- Markdown ---+ 25 | [*.{md}] 26 | max_line_length = off 27 | trim_trailing_whitespace = false 28 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2016-present Sven Greb 2 | # This source code is licensed under the MIT license found in the license file. 3 | 4 | # Path match pattern to ignore (i.e. not lint) certain files and folders. 5 | # References: 6 | # 1. https://eslint.org/docs/latest/use/configure/ignore 7 | 8 | node_modules/ 9 | 10 | # Explicitly include specific "dotfiles". 11 | # ESLint automatically applies ignore pattern for "dotfiles" by default to prevent accidentally lint over paths like 12 | # `.git` or any other critical paths. 13 | !**/.eslintrc.js 14 | !.remarkrc.mjs 15 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016-present Sven Greb 3 | * This source code is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license found in the license file. 4 | */ 5 | 6 | /** 7 | * Configurations for ESLint. 8 | * @see https://eslint.org/docs/latest/use/configure 9 | * @see https://eslint.org/docs/latest/use/configure/#using-configuration-files 10 | * @see https://eslint.org/docs/latest/use/configure/#specifying-environments 11 | * @see https://eslint.org/docs/latest/rules 12 | */ 13 | module.exports = { 14 | root: true, 15 | extends: [ 16 | "@svengreb/eslint-config-base", 17 | /* 18 | * Enable support for projects using Prettier. 19 | * Note that this must always be placed after the `@svengreb/eslint-config-base` preset to take precedence, otherwise it won't prevent errors 20 | * due to useless and possibly conflicting rules! 21 | */ 22 | "@svengreb/eslint-config-base/prettier", 23 | ], 24 | overrides: [ 25 | { 26 | files: ["*.js"], 27 | rules: { 28 | "capitalized-comments": "off", 29 | }, 30 | }, 31 | ], 32 | }; 33 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2016-present Sven Greb 2 | # This source code is licensed under the MIT license found in the license file. 3 | 4 | # Configuration to define attributes per path. 5 | # 6 | # References: 7 | # 1. https://git-scm.com/docs/gitattributes 8 | # 2. https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes#Keyword-Expansion 9 | 10 | # Automatically perform line feed (LF) normalization for files detected as text and 11 | # leave all files detected as binary untouched. 12 | * text=auto eol=lf 13 | 14 | # +--------+ 15 | # + Assets + 16 | # +--------+ 17 | *.ai binary 18 | *.png binary 19 | -------------------------------------------------------------------------------- /.github/codeowners: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2016-present Sven Greb 2 | # This source code is licensed under the MIT license found in the license file. 3 | 4 | # Configuration for the GitHub feature to automatically request reviews from the code owners 5 | # when a pull request changes any owned files. 6 | # 7 | # References: 8 | # 1. https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-file-location 9 | # 2. https://github.com/blog/2392-introducing-code-owners 10 | 11 | # +----------------------+ 12 | # + Core Team Code Owner + 13 | # +----------------------+ 14 | * @svengreb 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2016-present Sven Greb 2 | # This source code is licensed under the MIT license found in the license file. 3 | 4 | # Path match pattern to intentionally ignore untracked files and directories. 5 | # See https://git-scm.com/docs/gitignore for more details. 6 | 7 | # +---------+ 8 | # + Node.js + 9 | # +---------+ 10 | node_modules/ 11 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Copyright (c) 2016-present Sven Greb 4 | # This source code is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license found in the license file. 5 | 6 | # Git "pre-commit" hook for husky. 7 | # References: 8 | # 1. https://github.com/typicode/husky 9 | # 2. https://git-scm.com/docs/githooks#_pre_commit 10 | 11 | . "$(dirname "$0")/_/husky.sh" 12 | 13 | npm exec lint-staged 14 | -------------------------------------------------------------------------------- /.mailmap: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2016-present Sven Greb 2 | # This source code is licensed under the MIT license found in the license file. 3 | 4 | # Configuration for the Git mail mapping feature to coalesce together commits by the same person in the shortlog, 5 | # where their name and/or email address was spelled differently or has been changed. 6 | # See https://git-scm.com/docs/git-shortlog#_mapping_authors for more details. 7 | Sven Greb 8 | Sven Greb 9 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2016-present Sven Greb 2 | # This source code is licensed under the MIT license found in the license file. 3 | 4 | # Configurations for npm. 5 | # See https://docs.npmjs.com/cli/v7/configuring-npm/npmrc for more details. 6 | 7 | # Disable the vulnerability auditing and checks which includes often way too many false-positives, insignificant 8 | # problems that are only for local development, and many other warnings that are overhelming. 9 | # Use dedicated vulnerability tools instead to filter and identify issue that really impact the project. 10 | # References: 11 | # 1. https://docs.npmjs.com/cli/v9/commands/npm-audit 12 | audit=false 13 | 14 | # Only use a lockfile for single-consumer projects, like applications, but not for multi-consumer projects like 15 | # libraries. 16 | # It helps to pin dependency versions, improves the security through integrity checksums, prevents possible errors 17 | # caused by updated transitive dependencies and allows to get deterministic build results, but it can hide problems in 18 | # multi-consumer projects when any later versions of a used dependency, or its transitive dependencies, is not 19 | # compatible with the own project anymore. 20 | package-lock=true 21 | 22 | # Do not resolve to the latest minor and patch updates. 23 | # Automatically pin dependencies to exact versions instead of resolving to latest minor and patch updates. 24 | # This prevents possible errors caused by updated transitive dependencies. 25 | save-exact=true 26 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2016-present Sven Greb 2 | # This source code is licensed under the MIT license found in the license file. 3 | 4 | # Path match pattern to ignore (i.e. not reformat) certain files and folders. 5 | # See https://prettier.io/docs/en/ignore for more details. 6 | 7 | **/*.ai 8 | **/*.png 9 | .husky/_/ 10 | node_modules/ 11 | go.* 12 | -------------------------------------------------------------------------------- /.remarkignore: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2016-present Sven Greb 2 | # This source code is licensed under the MIT license found in the license file. 3 | 4 | # Path match pattern to ignore when searching for files. 5 | # See https://github.com/unifiedjs/unified-engine/blob/HEAD/doc/ignore.md for more details. 6 | 7 | node_modules/ 8 | license 9 | -------------------------------------------------------------------------------- /.remarkrc.mjs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016-present Sven Greb 3 | * This source code is licensed under the MIT license found in the license file. 4 | */ 5 | 6 | /** 7 | * Configurations for remark-lint. 8 | * @see https://github.com/remarkjs/remark-lint 9 | * @see https://remark.js.org 10 | */ 11 | export default { 12 | plugins: ["@svengreb/remark-preset-lint"], 13 | }; 14 | -------------------------------------------------------------------------------- /changelog.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | 4 | 5 | 6 | 7 | 8 |

9 | 10 |

11 | 12 | 13 | 14 |

15 | 16 |

17 | 18 | 19 | 20 |

21 | 22 | --- 23 | 24 | # 0.2.0 25 | 26 | _2017-01-09_ 27 | 28 | ## Improvements 29 | 30 | ❯ Characters under block cursors are now colored darker (`nord1`) while the block cursor is visible to achieve a optimal contrast and to avoid unreadability due to the same cursor- and foreground color (`nord4`). (@svengreb / @kepbod, #2, 8b6e64b0) 31 | 32 |

33 | Before
34 | 35 |
36 |
37 | After
38 | 39 | 40 | 41 |

42 | 43 | ### Documentation 44 | 45 | ❯ Added a screenshot to the README [activation](https://github.com/nordtheme/iterm2/blob/develop/README.md#activation) description (@svengreb, 669c307d) 46 | 47 | # 0.1.0 48 | 49 | _2016-11-22_ 50 | 51 | ## Features 52 | 53 | ❯ Implemented the main XML (Property List) color scheme file [`Nord.itermcolors`](https://github.com/nordtheme/iterm2/blob/develop/src/xml/Nord.itermcolors). (@svengreb, #1, 80d14907) 54 | 55 | ![](https://raw.githubusercontent.com/nordtheme/iterm2/develop/src/assets/scrot-colortest.png) 56 | ![](https://raw.githubusercontent.com/nordtheme/iterm2/develop/src/assets/scrot-htop.png) 57 | 58 | Detailed information about features, supported languages and install instructions can be found in the [README](https://github.com/nordtheme/iterm2/blob/develop/README.md#installation) and in the [project wiki](https://github.com/nordtheme/iterm2/wiki). 59 | 60 | # 0.0.0 (2016-11-22) 61 | 62 | **Project Initialization** 63 | 64 |

65 | 66 | 67 | 68 | 69 | 70 |

71 | 72 |

73 | Copyright © 2016-present Sven Greb 74 |

75 | 76 |

77 | 78 | 79 | 80 | 81 | 82 | 83 |

84 | -------------------------------------------------------------------------------- /cmd/srgb-to-hex/main.go: -------------------------------------------------------------------------------- 1 | // Forked from https://git.dim13.org/itermcolors.git/tree/main.go 2 | // Inspired by https://github.com/F1LT3R/itermcolors-to-hex/blob/master/index.js 3 | package main 4 | 5 | import ( 6 | "flag" 7 | "fmt" 8 | "io/ioutil" 9 | "math" 10 | "os" 11 | "path/filepath" 12 | "strings" 13 | "text/template" 14 | 15 | "howett.net/plist" 16 | ) 17 | 18 | type Scheme struct { 19 | Name string 20 | Ansi0 Color `plist:"Ansi 0 Color"` 21 | Ansi1 Color `plist:"Ansi 1 Color"` 22 | Ansi2 Color `plist:"Ansi 2 Color"` 23 | Ansi3 Color `plist:"Ansi 3 Color"` 24 | Ansi4 Color `plist:"Ansi 4 Color"` 25 | Ansi5 Color `plist:"Ansi 5 Color"` 26 | Ansi6 Color `plist:"Ansi 6 Color"` 27 | Ansi7 Color `plist:"Ansi 7 Color"` 28 | Ansi8 Color `plist:"Ansi 8 Color"` 29 | Ansi9 Color `plist:"Ansi 9 Color"` 30 | Ansi10 Color `plist:"Ansi 10 Color"` 31 | Ansi11 Color `plist:"Ansi 11 Color"` 32 | Ansi12 Color `plist:"Ansi 12 Color"` 33 | Ansi13 Color `plist:"Ansi 13 Color"` 34 | Ansi14 Color `plist:"Ansi 14 Color"` 35 | Ansi15 Color `plist:"Ansi 15 Color"` 36 | Background Color `plist:"Background Color"` 37 | Badge Color `plist:"Badge Color"` 38 | Bold Color `plist:"Bold Color"` 39 | Cursor Color `plist:"Cursor Color"` 40 | CursorGuide Color `plist:"Cursor Guide Color"` 41 | CursorText Color `plist:"Cursor Text Color"` 42 | Foreground Color `plist:"Foreground Color"` 43 | Link Color `plist:"Link Color"` 44 | SelectedText Color `plist:"Selected Text Color"` 45 | Selection Color `plist:"Selection Color"` 46 | } 47 | 48 | type Color struct { 49 | Alpha float64 `plist:"Alpha Component"` 50 | Red float64 `plist:"Red Component"` 51 | Green float64 `plist:"Green Component"` 52 | Blue float64 `plist:"Blue Component"` 53 | Space string `plist:"Color Space"` 54 | } 55 | 56 | func (c Color) String() string { 57 | r := int(math.MaxUint8 * c.Red) 58 | g := int(math.MaxUint8 * c.Green) 59 | b := int(math.MaxUint8 * c.Blue) 60 | return fmt.Sprintf("#%02x%02x%02x", r, g, b) 61 | } 62 | 63 | func name(s string) string { 64 | return strings.TrimSuffix(filepath.Base(s), filepath.Ext(s)) 65 | } 66 | 67 | func exitErr(code int, err error) { 68 | fmt.Println(err) 69 | os.Exit(code) 70 | } 71 | 72 | func main() { 73 | file := flag.String("file", "", "Color scheme .itemcolors") 74 | tmpl := flag.String("tmpl", "scheme.tmpl", "Xresources template") 75 | out := flag.String("out", "-", "output") 76 | flag.Parse() 77 | 78 | body, err := ioutil.ReadFile(*file) 79 | if err != nil { 80 | exitErr(1, err) 81 | } 82 | 83 | var s Scheme 84 | if _, err := plist.Unmarshal(body, &s); err != nil { 85 | exitErr(1, err) 86 | } 87 | s.Name = name(*file) 88 | fd := os.Stdout 89 | 90 | if *out != "-" { 91 | fd, err = os.Create(*out) 92 | if err != nil { 93 | exitErr(1, err) 94 | } 95 | } 96 | 97 | t, err := template.ParseFiles(*tmpl) 98 | if err != nil { 99 | exitErr(1, err) 100 | } 101 | 102 | if err := t.Execute(fd, s); err != nil { 103 | exitErr(1, err) 104 | } 105 | } 106 | -------------------------------------------------------------------------------- /cmd/srgb-to-hex/templates/xresources.tmpl: -------------------------------------------------------------------------------- 1 | ! Color scheme {{.Name}} 2 | *VT100*foreground: {{.Foreground}} 3 | *VT100*background: {{.Background}} 4 | *VT100*cursorColor: {{.Cursor}} 5 | ! Black 6 | *VT100*color0: {{.Ansi0}} 7 | *VT100*color8: {{.Ansi8}} 8 | ! Red 9 | *VT100*color1: {{.Ansi1}} 10 | *VT100*color9: {{.Ansi9}} 11 | ! Green 12 | *VT100*color2: {{.Ansi2}} 13 | *VT100*color10: {{.Ansi10}} 14 | ! Yellow 15 | *VT100*color3: {{.Ansi3}} 16 | *VT100*color11: {{.Ansi11}} 17 | ! Blue 18 | *VT100*color4: {{.Ansi4}} 19 | *VT100*color12: {{.Ansi12}} 20 | ! Magenta 21 | *VT100*color5: {{.Ansi5}} 22 | *VT100*color13: {{.Ansi13}} 23 | ! Cyan 24 | *VT100*color6: {{.Ansi6}} 25 | *VT100*color14: {{.Ansi14}} 26 | ! White 27 | *VT100*color7: {{.Ansi7}} 28 | *VT100*color15: {{.Ansi15}} 29 | ! Bold 30 | *VT100*colorBD: {{.Bold}} 31 | !*colorIT: 32 | !*colorUL: 33 | -------------------------------------------------------------------------------- /cmd/srgb-to-hex/templates/yml.tmpl: -------------------------------------------------------------------------------- 1 | name: "{{.Name}}" 2 | terminal: 3 | # nord4 4 | foreground: "{{.Foreground}}" 5 | # nord0 6 | background: "{{.Background}}" 7 | # nord4 8 | cursorColor: "{{.Cursor}}" 9 | colors: 10 | black: 11 | # nord0 12 | color0: "{{.Ansi0}}" 13 | # nord3 14 | color8: "{{.Ansi8}}" 15 | red: 16 | # nord11 17 | color1: "{{.Ansi1}}" 18 | # nord11 19 | color9: "{{.Ansi9}}" 20 | green: 21 | # nord14 22 | color2: "{{.Ansi2}}" 23 | # nord14 24 | color10: "{{.Ansi10}}" 25 | yellow: 26 | # nord13 27 | color3: "{{.Ansi3}}" 28 | # nord13 29 | color11: "{{.Ansi11}}" 30 | blue: 31 | # nord9 32 | color4: "{{.Ansi4}}" 33 | # nord9 34 | color12: "{{.Ansi12}}" 35 | magenta: 36 | # nord15 37 | color5: "{{.Ansi5}}" 38 | # nord15 39 | color13: "{{.Ansi13}}" 40 | cyan: 41 | # nord8 42 | color6: "{{.Ansi6}}" 43 | # nord7 44 | color14: "{{.Ansi14}}" 45 | white: 46 | # nord5 47 | color7: "{{.Ansi7}}" 48 | # nord6 49 | color15: "{{.Ansi15}}" 50 | font: 51 | bold: "{{.Bold}}" 52 | italic: 53 | underline: 54 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/nordtheme/iterm2 2 | 3 | go 1.15 4 | 5 | require howett.net/plist v0.0.0-20201026045517-117a925f2150 6 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- 1 | github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= 2 | github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= 3 | github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= 4 | github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= 5 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 6 | gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 7 | gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 8 | howett.net/plist v0.0.0-20201026045517-117a925f2150 h1:s7O/9fwMNd6O1yXyQ8zv+U7dfl8k+zdiLWAY8h7XdVI= 9 | howett.net/plist v0.0.0-20201026045517-117a925f2150/go.mod h1:vMygbs4qMhSZSc4lCUl2OEE+rDiIIJAIdR4m7MiMcm0= 10 | -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- 1 | MIT License (MIT) 2 | 3 | Copyright (c) 2016-present Sven Greb (https://www.svengreb.de) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /lint-staged.config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016-present Sven Greb 3 | * This source code is licensed under the MIT license found in the license file. 4 | */ 5 | 6 | /** 7 | * Configurations for lint-staged. 8 | * @see https://github.com/okonet/lint-staged#configuration 9 | */ 10 | module.exports = { 11 | "*.{itermcolors,json,svg}": "prettier --check --ignore-unknown --no-editorconfig", 12 | "*.{js,mjs}": ["eslint", "prettier --check --ignore-unknown --no-editorconfig"], 13 | "*.md": ["remark --no-stdout", "prettier --check --ignore-unknown --no-editorconfig"], 14 | ".husky/pre-*": "prettier --check --ignore-unknown --no-editorconfig", 15 | }; 16 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@nordtheme/iterm2", 3 | "version": "0.2.0", 4 | "description": "An arctic, north-bluish clean and elegant iTerm2 color scheme", 5 | "author": { 6 | "name": "Sven Greb", 7 | "email": "development@svengreb.de", 8 | "url": "https://www.svengreb.de" 9 | }, 10 | "homepage": "https://www.nordtheme.com/ports/iterm2", 11 | "repository": { 12 | "type": "git", 13 | "url": "git+https://github.com/nordtheme/iterm2.git" 14 | }, 15 | "bugs": { 16 | "url": "https://github.com/nordtheme/iterm2/issues" 17 | }, 18 | "license": "MIT", 19 | "private": true, 20 | "engines": { 21 | "node": ">=15.13", 22 | "npm": ">=7.7" 23 | }, 24 | "scripts": { 25 | "format": "run-s format:*", 26 | "format:js": "eslint --fix .", 27 | "format:pretty": "prettier --ignore-unknown --no-editorconfig --write \"**\"", 28 | "lint": "run-s lint:js lint:md lint:pretty", 29 | "lint:ci": "run-s --continue-on-error lint:js lint:md lint:ci:pretty", 30 | "lint:ci:pretty": "prettier --check --ignore-unknown --loglevel silent --no-editorconfig --no-error-on-unmatched-pattern \"**\"", 31 | "lint:js": "eslint .", 32 | "lint:md": "remark --no-stdout . .github/", 33 | "lint:pretty": "prettier --check --ignore-unknown --no-editorconfig \"**\"", 34 | "prepare:husky": "husky install", 35 | "prepare": "run-s prepare:*" 36 | }, 37 | "devDependencies": { 38 | "@svengreb/eslint-config-base": ">=0.12.0 <=1.0.0", 39 | "@svengreb/remark-preset-lint": ">=0.5.0 <1.0.0", 40 | "@prettier/plugin-xml": "2.2.0", 41 | "eslint": "8.39.0", 42 | "eslint-config-prettier": "8.8.0", 43 | "eslint-plugin-import": "2.27.5", 44 | "eslint-plugin-prettier": "4.2.1", 45 | "husky": "8.0.3", 46 | "lint-staged": "13.2.2", 47 | "npm-run-all": "4.1.5", 48 | "prettier": "2.8.8", 49 | "prettier-plugin-sh": "0.12.8", 50 | "remark-cli": "11.0.0" 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016-present Sven Greb 3 | * This source code is licensed under the MIT license found in the license file. 4 | */ 5 | 6 | /** 7 | * Configurations for Prettier. 8 | * @see https://prettier.io/docs/en/configuration.html 9 | * @see https://prettier.io/docs/en/options.html 10 | * @see https://prettier.io/docs/en/options.html#parser 11 | * @see https://prettier.io/docs/en/plugins.html 12 | * @see https://github.com/un-ts/prettier/tree/master/packages/sh 13 | * @see https://github.com/prettier/plugin-xml 14 | */ 15 | module.exports = { 16 | printWidth: 160, 17 | overrides: [ 18 | { 19 | files: ["*.itermcolors", "*.svg"], 20 | options: { 21 | parser: "xml", 22 | }, 23 | }, 24 | { 25 | files: [".husky/*"], 26 | options: { 27 | parser: "sh", 28 | }, 29 | }, 30 | ], 31 | }; 32 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | 4 | 5 | 6 | 7 | 8 |

9 | 10 |

11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |

21 | 22 |

23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 |

33 | 34 |

35 | 36 | 37 | 38 |

39 | 40 |

An arctic, north-bluish clean and elegant iTerm2 color scheme.

41 | 42 |

Designed for a fluent and clear workflow based on the Nord color palette.

43 | 44 | ## Getting started 45 | 46 | ### Installation 47 | 48 | [Download](https://github.com/nordtheme/iterm2/releases/latest) the latest [`Nord.itermcolors`](https://github.com/nordtheme/iterm2/blob/develop/src/xml/Nord.itermcolors) file from the GitHub repository and import it: 49 | 50 | 1. Start iTerm2 and open the _Preferences_ 51 | 2. Switch to the _Profiles_ tab located in the topbar 52 | 3. Select the _Colors_ tabs on the right side 53 | 4. Click on the _Load Presets_ drop-down menu and select the _Import_ entry 54 | 5. Import the downloaded `Nord.itermcolors` file and import it 55 | 56 | ### Activation 57 | 58 | 1. Start iTerm2 and open the _Preferences_ 59 | 2. Switch to the _Profiles_ tab located in the topbar 60 | 3. Select the _Colors_ tabs on the right side 61 | 4. Select an existing profile from the profile list window on the left or create a new profile 62 | 5. Click on the _Load Presets_ drop-down menu and select `Nord` 63 | 64 |

65 | 66 | 67 | 68 |

69 | 70 | ## Screenshots 71 | 72 |

73 | htop
74 | 75 | 76 | 77 |

78 | 79 | ### Contribution 80 | 81 | Please report issues/bugs, feature requests and suggestions for improvements to the [issue tracker](https://github.com/nordtheme/iterm2/issues). 82 | 83 |

84 | 85 | 86 | 87 | 88 | 89 |

90 | 91 |

92 | Copyright © 2016-present Sven Greb 93 |

94 | 95 |

96 | 97 | 98 | 99 | 100 | 101 | 102 |

103 | -------------------------------------------------------------------------------- /src/assets/nord-iterm2-banner.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordtheme/iterm2/233a2462e04e07a9676386a52dad0c2ff6666d72/src/assets/nord-iterm2-banner.ai -------------------------------------------------------------------------------- /src/assets/nord-iterm2-banner.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/assets/scrot-colortest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordtheme/iterm2/233a2462e04e07a9676386a52dad0c2ff6666d72/src/assets/scrot-colortest.png -------------------------------------------------------------------------------- /src/assets/scrot-htop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordtheme/iterm2/233a2462e04e07a9676386a52dad0c2ff6666d72/src/assets/scrot-htop.png -------------------------------------------------------------------------------- /src/assets/scrot-readme-activation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordtheme/iterm2/233a2462e04e07a9676386a52dad0c2ff6666d72/src/assets/scrot-readme-activation.png -------------------------------------------------------------------------------- /src/xml/Nord.itermcolors: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Ansi 0 Color 6 | 7 | Alpha Component 8 | 1 9 | Blue Component 10 | 0.25300124287605286 11 | Color Space 12 | Calibrated 13 | Green Component 14 | 0.19692185521125793 15 | Red Component 16 | 0.17621420323848724 17 | 18 | Ansi 1 Color 19 | 20 | Alpha Component 21 | 1 22 | Blue Component 23 | 0.34168937802314758 24 | Color Space 25 | Calibrated 26 | Green Component 27 | 0.29435792565345764 28 | Red Component 29 | 0.68855589628219604 30 | 31 | Ansi 10 Color 32 | 33 | Alpha Component 34 | 1 35 | Blue Component 36 | 0.47597441077232361 37 | Color Space 38 | Calibrated 39 | Green Component 40 | 0.7002110481262207 41 | Red Component 42 | 0.57605421543121338 43 | 44 | Ansi 11 Color 45 | 46 | Alpha Component 47 | 1 48 | Blue Component 49 | 0.47280269861221313 50 | Color Space 51 | Calibrated 52 | Green Component 53 | 0.75577855110168457 54 | Red Component 55 | 0.89902019500732422 56 | 57 | Ansi 12 Color 58 | 59 | Alpha Component 60 | 1 61 | Blue Component 62 | 0.70459425449371338 63 | Color Space 64 | Calibrated 65 | Green Component 66 | 0.56080448627471924 67 | Red Component 68 | 0.43401443958282471 69 | 70 | Ansi 13 Color 71 | 72 | Alpha Component 73 | 1 74 | Blue Component 75 | 0.61571133136749268 76 | Color Space 77 | Calibrated 78 | Green Component 79 | 0.47487166523933411 80 | Red Component 81 | 0.64283657073974609 82 | 83 | Ansi 14 Color 84 | 85 | Alpha Component 86 | 1 87 | Blue Component 88 | 0.67779052257537842 89 | Color Space 90 | Calibrated 91 | Green Component 92 | 0.68614721298217773 93 | Red Component 94 | 0.49344515800476074 95 | 96 | Ansi 15 Color 97 | 98 | Alpha Component 99 | 1 100 | Blue Component 101 | 0.94574689865112305 102 | Color Space 103 | Calibrated 104 | Green Component 105 | 0.92092084884643555 106 | Red Component 107 | 0.90727746486663818 108 | 109 | Ansi 2 Color 110 | 111 | Alpha Component 112 | 1 113 | Blue Component 114 | 0.47597441077232361 115 | Color Space 116 | Calibrated 117 | Green Component 118 | 0.7002110481262207 119 | Red Component 120 | 0.57605421543121338 121 | 122 | Ansi 3 Color 123 | 124 | Alpha Component 125 | 1 126 | Blue Component 127 | 0.47280269861221313 128 | Color Space 129 | Calibrated 130 | Green Component 131 | 0.75577855110168457 132 | Red Component 133 | 0.89902019500732422 134 | 135 | Ansi 4 Color 136 | 137 | Alpha Component 138 | 1 139 | Blue Component 140 | 0.70459425449371338 141 | Color Space 142 | Calibrated 143 | Green Component 144 | 0.56080448627471924 145 | Red Component 146 | 0.43401443958282471 147 | 148 | Ansi 5 Color 149 | 150 | Alpha Component 151 | 1 152 | Blue Component 153 | 0.61571133136749268 154 | Color Space 155 | Calibrated 156 | Green Component 157 | 0.47487166523933411 158 | Red Component 159 | 0.64283657073974609 160 | 161 | Ansi 6 Color 162 | 163 | Alpha Component 164 | 1 165 | Blue Component 166 | 0.77356863021850586 167 | Color Space 168 | Calibrated 169 | Green Component 170 | 0.70216643810272217 171 | Red Component 172 | 0.4660642147064209 173 | 174 | Ansi 7 Color 175 | 176 | Alpha Component 177 | 1 178 | Blue Component 179 | 0.92620980739593506 180 | Color Space 181 | Calibrated 182 | Green Component 183 | 0.8916594386100769 184 | Red Component 185 | 0.87367779016494751 186 | 187 | Ansi 8 Color 188 | 189 | Alpha Component 190 | 1 191 | Blue Component 192 | 0.34064260125160217 193 | Color Space 194 | Calibrated 195 | Green Component 196 | 0.2652154266834259 197 | Red Component 198 | 0.23306176066398621 199 | 200 | Ansi 9 Color 201 | 202 | Alpha Component 203 | 1 204 | Blue Component 205 | 0.34168937802314758 206 | Color Space 207 | Calibrated 208 | Green Component 209 | 0.29435792565345764 210 | Red Component 211 | 0.68855589628219604 212 | 213 | Background Color 214 | 215 | Alpha Component 216 | 1 217 | Blue Component 218 | 0.19183900952339172 219 | Color Space 220 | Calibrated 221 | Green Component 222 | 0.15255947411060333 223 | Red Component 224 | 0.1357133686542511 225 | 226 | Badge Color 227 | 228 | Alpha Component 229 | 0.7057952880859375 230 | Blue Component 231 | 0.29600727558135986 232 | Color Space 233 | Calibrated 234 | Green Component 235 | 0.23046499490737915 236 | Red Component 237 | 0.20252507925033569 238 | 239 | Bold Color 240 | 241 | Alpha Component 242 | 1 243 | Blue Component 244 | 0.94574689865112305 245 | Color Space 246 | Calibrated 247 | Green Component 248 | 0.92092084884643555 249 | Red Component 250 | 0.90727746486663818 251 | 252 | Cursor Color 253 | 254 | Alpha Component 255 | 1 256 | Blue Component 257 | 0.89225924015045166 258 | Color Space 259 | Calibrated 260 | Green Component 261 | 0.83857882022857666 262 | Red Component 263 | 0.81214714050292969 264 | 265 | Cursor Guide Color 266 | 267 | Alpha Component 268 | 1 269 | Blue Component 270 | 0.25300124287605286 271 | Color Space 272 | Calibrated 273 | Green Component 274 | 0.19692185521125793 275 | Red Component 276 | 0.17621420323848724 277 | 278 | Cursor Text Color 279 | 280 | Alpha Component 281 | 1 282 | Blue Component 283 | 0.25300124287605286 284 | Color Space 285 | Calibrated 286 | Green Component 287 | 0.19692185521125793 288 | Red Component 289 | 0.17621420323848724 290 | 291 | Foreground Color 292 | 293 | Alpha Component 294 | 1 295 | Blue Component 296 | 0.89225912094116211 297 | Color Space 298 | Calibrated 299 | Green Component 300 | 0.83857882022857666 301 | Red Component 302 | 0.81214725971221924 303 | 304 | Link Color 305 | 306 | Alpha Component 307 | 1 308 | Blue Component 309 | 0.92620980739593506 310 | Color Space 311 | Calibrated 312 | Green Component 313 | 0.8916594386100769 314 | Red Component 315 | 0.87367779016494751 316 | 317 | Selected Text Color 318 | 319 | Alpha Component 320 | 1 321 | Blue Component 322 | 0.89225924015045166 323 | Color Space 324 | Calibrated 325 | Green Component 326 | 0.83857882022857666 327 | Red Component 328 | 0.81214714050292969 329 | 330 | Selection Color 331 | 332 | Alpha Component 333 | 1 334 | Blue Component 335 | 0.34064260125160217 336 | Color Space 337 | Calibrated 338 | Green Component 339 | 0.2652154266834259 340 | Red Component 341 | 0.23306176066398621 342 | 343 | Tab Color 344 | 345 | Alpha Component 346 | 1 347 | Blue Component 348 | 0.25300124287605286 349 | Color Space 350 | Calibrated 351 | Green Component 352 | 0.19692185521125793 353 | Red Component 354 | 0.17621420323848724 355 | 356 | 357 | 358 | --------------------------------------------------------------------------------