Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/viktor-yakubiv/macos.itermcolors

MacOS native system colors as iTerm color scheme
https://github.com/viktor-yakubiv/macos.itermcolors

apple color color-scheme iterm iterm2 native scheme terminal theme

Last synced: 8 days ago
JSON representation

MacOS native system colors as iTerm color scheme

Awesome Lists containing this project

README

        

[![
Russia invaded Ukraine,
killing tens of thousands of civilians and displacing millions more.
It's a genocide.
Please help us defend freedom, democracy and Ukraine's right to exist.
](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct-single.svg)](https://vshymanskyy.github.io/StandWithUkraine)

# MacOS Native iTerm Colors

This is a color scheme for iTerm based on colors
from Apple's [Human Interface Guidelines](https://developer.apple.com/design/human-interface-guidelines/foundations/color) ([archived](https://web.archive.org/web/20221228144127/https://developer.apple.com/design/human-interface-guidelines/foundations/color)).
It's designed to blend smoothly into native MacOS UI.

Theme is designed for **iTerm 3.5+** that supports light and dark color schemes
simultaneously as well as switching between them based on the system settings.

The color scheme should be compatible with older versions,
however this was not tested.
In case you use it with iTerm 3.4 or an older version,
the default color scheme is **light**.
This is arbitrary, it could be changed, contributions are welcomed.

[Download](https://raw.githubusercontent.com/viktor-yakubiv/macos.itermcolors/main/MacOS.itermcolors)

## Screenshots

![Light color scheme](./screenshots/light.png)

![Dark color scheme](./screenshots/dark.png)

## Design Process

Colors were gathered directly from the system
with help of a basic Swift script.

Then the values were processed manually and put [into CSS](./src/theme.scss),
processed with [some Sass scripts](./src/library.scss)
to define the [final spec](./src/spec.scss).
CSS spec is converted to [JSON](./MacOS.json)
that is transformed into [XML](./MacOS.itermcolors) (`.itermcolors`)
with help of Nunjacks.

Please, go through the [source directory](./src) if you want to know more.

## License

The color scheme as a file is licensed under [MIT](./LICENSE).
Color palette itself is licensed under Apple's Terms and Conditions.