Awesome
Night Owl 🌌
An iTerm2 theme based on Sarah Drasner’s VS Code theme of the same name.
Installation
Drag the file themes/Night Owl.itermcolors
onto iTerm2, or import
it in Preferences > Profiles > Colors.
There is also a Night Owl (inverse).itermcolors
theme, which swaps the
"normal"/"bright" colors; the default "normal" colors are the common foreground
colors used in the VS Code theme, but if for some reason your iTerm setup uses
the "bright" colors as foreground colors, you may use this inverse theme.
Recommended iTerm2 Settings
- Preferences > Profiles > Text > Text Rendering
- Draw bold text in bold font
- Draw bold text in bright colors
- Use thin strokes for anti-aliased text: On Retina Displays and Dark Backgrounds
Color sources
Normal | Bright | |
---|---|---|
Black | #011627 <br>editor.background | #44596b <br>activityBarBadge.background |
Red | #f78c6c <br>Number | #ef5350 <br>errorForeground |
Green | #addb67 <br>String | #22da6e <br>terminal.ansiBrightGreen |
Yellow | #ffcb8b <br>Class name | #ffeb95 <br>Constant Other Color |
Blue | #82aaff <br>Built-in constant <br>Function name | #5ca7e4 <br>RegExp String |
Magenta | #c792ea <br>Keyword | #7e57c2 <br>button.hoverBackground |
Cyan | #7fdbca <br>Meta tag | #21c7a8 <br>terminal.ansiCyan |
White | #bec5d4 <br>PHP Variables | #ffffff <br>Object Comma |
Original README follows.
A VS Code theme for the night owls out there. Works well in the daytime, too, but this theme is fine-tuned for those of us who like to code late into the night. Color choices have taken into consideration what is accessible to people with colorblindness and in low-light circumstances. Decisions were also based on meaningful contrast for reading comprehension and for optimal razzle dazzle. ✨
About this theme, and some of the considerations made while creating it (as well as how to create it should you want to make your own): https://css-tricks.com/creating-a-vs-code-theme/
Installation
- Install Visual Studio Code
- Launch Visual Studio Code
- Choose Extensions from menu
- Search for
night-owl-vscode-theme
- Click Install to install it
- Click Reload to reload the Code
- From the menu bar click: Code > Preferences > Color Theme > Night Owl
Disable Italics
If you wish to disable italics, there is now a no-italic theme available. You will have access to both, select Night Owl No Italics as your color theme.
Other versions of this Theme
The community is awesome and has ported this theme over to other environments
- Hyper: https://github.com/pbomb/hyper-night-owl
- iTerm2
- Atom: https://atom.io/themes/night-owl-vs-code-syntax
- Jetbrains: https://github.com/xdrop/night-owl-jetbrains
- Emacs: https://github.com/aaronjensen/night-owl-emacs
- Vim
- Pygments https://github.com/liamdawson/nightowl-pygments-style
Separate the Editor from the Sidebar
This theme uses contrast sparingly so that when it's applied, it's more meaningful. This can help reduce noise and improve your ability to scan. However, some of the decisions may not work for everyone. One such decision that some disagree on is whether or not to have a separation between the editor and sidebar, and the amount of contrast. If you wish for this to have more visual signifigance, please paste this into your user settings preferences. These are my recommendations for these settings but you can use whatever colors you wish. ☺️
"workbench.colorCustomizations": {
"activityBar.background": "#000C1D",
"activityBar.border": "#102a44",
"sideBar.background": "#001122",
"sideBar.border": "#102a44",
"sideBar.foreground": "#8BADC1"
},
Preferences shown in the preview
The font in the preview image is Dank Mono, available here. Editor settings to activate font ligatures:
"editor.fontFamily": "Dank Mono",
"editor.fontLigatures": true,
The preview image is using Bracket Pair Colorizer, a really cool extension that highlights matching brackets. This can help reduce unwanted errors.
I use this setting:
"bracketPairColorizer.forceIterationColorCycle": true,
Misc
This is my first foray into creating a theme, so if you see something amiss, please feel free to file an issue! I'm sure there are things I missed.
Any relevant changes for each version are documented in the changelog. Please update and check the changelog before filing any issues, as they may have already been taken care of.
This palette was inspired in part by Material Palenight Theme, and the accessibility idea was inspired in part by Solarized Themes