night-owl-vscode-theme
🌌 NIGHT OWL: A VS Code dark theme for contrast for nighttime coding, 🦉 LIGHT OWL: a daytime light theme
Top Related Projects
Retro groove color scheme for Vim
An arctic, north-bluish clean and elegant Visual Studio Code theme.
Quick Overview
Night Owl is a popular Visual Studio Code theme designed for nighttime coding. It features a dark blue background with carefully selected syntax highlighting colors that reduce eye strain and enhance readability, making it ideal for developers who prefer working in low-light environments.
Pros
- Optimized for readability and reduced eye strain during nighttime coding sessions
- Carefully chosen color palette that enhances syntax highlighting and code comprehension
- Includes both dark (Night Owl) and light (Light Owl) variants for different preferences
- Supports a wide range of programming languages and file types
Cons
- May not appeal to users who prefer high-contrast or vibrant color schemes
- Some users might find the blue-based theme less versatile for daytime use
- Limited customization options compared to more flexible theme frameworks
- Occasional updates may cause slight color changes, requiring adjustment for some users
Getting Started
To install the Night Owl theme in Visual Studio Code:
- Open VS Code
- Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X)
- Search for "Night Owl"
- Click "Install" on the Night Owl theme by Sarah Drasner
- Once installed, open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P)
- Type "Color Theme" and select "Preferences: Color Theme"
- Choose "Night Owl" from the list of available themes
Alternatively, you can install it directly from the VS Code Marketplace:
https://marketplace.visualstudio.com/items?itemName=sdras.night-owl
After installation, the theme will be applied automatically. You can switch between Night Owl (dark) and Light Owl variants in the Color Theme settings.
Competitor Comparisons
Retro groove color scheme for Vim
Pros of Gruvbox
- Wider color palette with more variations and shades
- Supports a broader range of applications and editors beyond VS Code
- Offers both light and dark themes for different preferences
Cons of Gruvbox
- Less optimized for modern web development languages and frameworks
- May require more manual configuration for optimal appearance in some editors
- Color scheme might be less soothing for extended coding sessions compared to Night Owl
Code Comparison
Night Owl:
const nightOwl = {
background: '#011627',
foreground: '#d6deeb',
accent: '#7e57c2',
string: '#addb67',
comment: '#637777'
};
Gruvbox:
const gruvbox = {
background: '#282828',
foreground: '#ebdbb2',
accent: '#fe8019',
string: '#b8bb26',
comment: '#928374'
};
Both themes offer distinct color palettes designed to enhance code readability and reduce eye strain. Night Owl focuses on a cooler, blue-based scheme optimized for web development, while Gruvbox provides a warmer, earthy tone suitable for various programming languages and environments. The choice between them often comes down to personal preference and specific use cases.
An arctic, north-bluish clean and elegant Visual Studio Code theme.
Pros of Nord Theme
- More comprehensive color scheme with a wider range of colors
- Supports a broader range of file types and languages
- Actively maintained with frequent updates and improvements
Cons of Nord Theme
- Less contrast between some syntax elements, which may affect readability
- Color palette might be less vibrant compared to Night Owl
- Steeper learning curve for customization due to more options
Code Comparison
Night Owl:
const nightOwl = {
background: '#011627',
foreground: '#d6deeb',
accent: '#7e57c2'
};
Nord Theme:
const nord = {
background: '#2E3440',
foreground: '#D8DEE9',
accent: '#88C0D0'
};
Both themes offer dark backgrounds suitable for night-time coding, but Night Owl uses a deeper blue while Nord opts for a more muted, grayish-blue tone. Night Owl's accent color is more vibrant, while Nord's is softer and more pastel-like. The foreground colors in both themes are light, with Night Owl having a slightly warmer tint compared to Nord's cooler hue.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
Night Owl ð
A Visual Studio Code theme for the night owls out there. 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. â¨
As of 1.0.0, there's a Light Owl Theme too! Color balanced from the Dark version for easy viewing in daylight. ð
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/
Night Owl
Light Owl
Installation
- Install Visual Studio Code
- Launch Visual Studio Code
- Choose Extensions from menu
- Search for
night owl
- 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
The community is awesome and has ported this theme over to other environments.
Dark Theme
- Hyper: https://github.com/pbomb/hyper-night-owl
- iTerm2
- Xresources: https://github.com/alochaus/night-owl-xresources-theme
- 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
- Alfred: https://github.com/jbharat/night-owl-alfred-theme
- Ulauncher: https://github.com/christoph-fricke/ulauncher-night-owl-theme
- TextMate https://github.com/batpigandme/night-owlish
- Ace Editor https://github.com/batpigandme/night-owlish
- RStudio https://github.com/batpigandme/night-owlish
- Insomnia https://github.com/yoannfleurydev/insomnia-plugin-night-owl-theme
- Sublime Text 3 https://github.com/VonHeikemen/night-owl-sublime-scheme
- Slack https://github.com/clouby/night-owl-slack
- Xcode https://github.com/stealthanthrax/xcode-Night-Owl
- Visual Studio 2019: https://github.com/kai-oswald/NightOwl-VS-Theme
- Visual Studio 2022: https://github.com/SumitKar01/NightOwl-Theme-VS-2022
- Prism https://github.com/SaraVieira/prism-theme-night-owl
- Windows Terminal https://github.com/edurojasr/Windows_Terminal_Theme_Night_Owl
- Alacritty: https://github.com/alacritty/alacritty
- Terminology: https://github.com/LividJava/night-owl-terminology
- Gnome Terminal: https://github.com/edurojasr/night-owl-gnome-terminal
- Kitty https://github.com/Glazy/night-owl-kitty-theme
Light Theme
- iTerm2: https://github.com/fcaldera/night-owl-light-iterm2
- Vim: https://github.com/macguirerintoul/night_owl_light.vim
- Tilix: https://github.com/johanhammar/light-owl-tilix
- Alacritty: https://github.com/nik27/night-owl-alacritty-theme
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 significance, 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": {
"[Night Owl]": {
"activityBar.background": "#000C1D",
"activityBar.border": "#102a44",
"editorGroup.border": "#102a44",
"sideBar.background": "#001122",
"sideBar.border": "#102a44",
"sideBar.foreground": "#8BADC1"
},
"[Night Owl (No Italics)]": {
"activityBar.background": "#000C1D",
"activityBar.border": "#102a44",
"editorGroup.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,
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
Top Related Projects
Retro groove color scheme for Vim
An arctic, north-bluish clean and elegant Visual Studio Code theme.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot