├── .github
├── FUNDING.yml
└── ISSUE_TEMPLATE
│ ├── bug_report.md
│ └── feature_request.md
├── .gitignore
├── .vscode
├── launch.json
└── settings.json
├── .vscodeignore
├── CHANGELOG.md
├── CONTRIBUTING.md
├── LICENSE.md
├── README.md
├── after-c#.png
├── after-dart.png
├── before-c#.png
├── before-dart.png
├── demo
├── .editorconfig
├── .vscode
│ └── settings.json
├── checkbox_with_label.test.js
├── clojure.clj
├── clojurescript.cljs
├── cplusplus-header.h
├── cplusplus-source.cc
├── csharp.cs
├── css.css
├── elm.elm
├── flutter.dart
├── html.html
├── issue-91.jsx
├── issue-91.tsx
├── js.js
├── json.json
├── markdown.md
├── mdx.mdx
├── newfile.js
├── php.php
├── powershell.ps1
├── pug.pug
├── python.py
├── react.js
├── reacthook.js
├── ruby.rb
├── statelessfunctionalreact.js
├── stylus.styl
├── tsx.tsx
├── vuedemo.vue
└── yml.yml
├── first-screen.jpg
├── light-owl-full.jpg
├── night-owl-2.0.1.vsix
├── owl-icon.png
├── package.json
├── preview.jpg
├── preview.png
├── themes
├── Night Owl-Light-color-theme-noitalic.json
├── Night Owl-Light-color-theme.json
├── Night Owl-color-theme-noitalic.json
└── Night Owl-color-theme.json
├── three-dark.jpg
├── three-light.jpg
└── vsc-extension-quickstart.md
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [sdras]
4 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 |
5 | ---
6 |
7 | **Please make sure you're using the latest version of the plugin before submitting an issue**
8 |
9 | **Screenshots**
10 | If applicable, add screenshots to help explain your problem, it helps us debug faster.
11 |
12 | If you are submitting a bug report in a language not currently in demo folder, a PR to this folder with the language helps us track it down.
13 |
14 | Thanks!
15 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Feature request
3 | about: Suggest an idea for this project
4 |
5 | ---
6 |
7 | **Describe the solution you'd like**
8 | A clear and concise description of what you want to happen.
9 |
10 | **Is your feature request related to a problem? Please describe.**
11 | If so, a clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ### OSX ###
2 | *.DS_Store
3 | .AppleDouble
4 | .LSOverride
5 |
6 | # Icon must end with two
7 | Icon
8 | # Thumbnails
9 | ._*
10 | # Files that might appear in the root of a volume
11 | .DocumentRevisions-V100
12 | .fseventsd
13 | .Spotlight-V100
14 | .TemporaryItems
15 | .Trashes
16 | .VolumeIcon.icns
17 | .com.apple.timemachine.donotpresent
18 | # Directories potentially created on remote AFP share
19 | .AppleDB
20 | .AppleDesktop
21 | Network Trash Folder
22 | Temporary Items
23 | .apdisk
24 |
25 | ### Node ###
26 | # Logs
27 | logs
28 | *.log
29 | npm-debug.log*
30 |
31 | # Runtime data
32 | pids
33 | *.pid
34 | *.seed
35 | *.pid.lock
36 |
37 | # Directory for instrumented libs generated by jscoverage/JSCover
38 | lib-cov
39 |
40 | # Coverage directory used by tools like istanbul
41 | coverage
42 |
43 | # nyc test coverage
44 | .nyc_output
45 |
46 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
47 | .grunt
48 |
49 | # node-waf configuration
50 | .lock-wscript
51 |
52 | # Compiled binary addons (http://nodejs.org/api/addons.html)
53 | build/Release
54 |
55 | # Dependency directories
56 | node_modules
57 | jspm_packages
58 |
59 | # Optional npm cache directory
60 | .npm
61 |
62 | # Optional eslint cache
63 | .eslintcache
64 |
65 | # Optional REPL history
66 | .node_repl_history
67 |
68 | # Output of 'npm pack'
69 | *.tgz
70 |
71 | # Yarn Integrity file
72 | .yarn-integrity
73 |
74 | # Nuxt build
75 | .nuxt
76 |
77 | # Nuxt generate
78 | dist
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | // A launch configuration that launches the extension inside a new window
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | {
6 | "version": "0.2.0",
7 | "configurations": [
8 |
9 | {
10 | "name": "Extension",
11 | "type": "extensionHost",
12 | "request": "launch",
13 | "runtimeExecutable": "${execPath}",
14 | "args": [
15 | "--extensionDevelopmentPath=${workspaceFolder}"
16 | ]
17 | }
18 | ]
19 | }
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "python.linting.pylintEnabled": false,
3 | }
4 |
--------------------------------------------------------------------------------
/.vscodeignore:
--------------------------------------------------------------------------------
1 | .vscode/**
2 | .vscode-test/**
3 | .gitignore
4 | vsc-extension-quickstart.md
5 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Change Log
2 |
3 | All notable changes to the "night-owl" extension are be documented in this file.
4 |
5 | # "2.1.1
6 |
7 | - Add Ghostty theme links
8 | - Revert bracket highlight, low contrast issue
9 |
10 | # "2.1.0
11 |
12 | - Update this keyword for higher contrast
13 | - Update line highlight background to be more obvious
14 | - Update readme with extension collision
15 |
16 | # "2.0.2
17 |
18 | - Update readme with more versions
19 | - Update some highlight and illegibility across dark and light themes
20 | - Add VS Code badge
21 |
22 | # "2.0.1
23 |
24 | - update readme
25 | - update branch name
26 |
27 | ## "2.0.0"
28 |
29 | - change strings
30 | - turn a base color less neon green
31 | - turn off semantic highlighting
32 |
33 | ## "1.2.1"
34 |
35 | - fix italic/non-italic inconsistencies
36 |
37 | ## "1.2.0"
38 |
39 | - fix dart files
40 | - update demo files, add in react hook example
41 | - fix contrast on popups
42 | - add in more ports to readme
43 |
44 | ## "1.1.4"
45 |
46 | - fix typescript variable keyword highlighting inside classes
47 |
48 | ## "1.1.3"
49 |
50 | ### Light
51 |
52 | - Update Go too-light function calls
53 |
54 | ### Dark
55 |
56 | - make selection background in search more legible
57 |
58 | ## "1.1.2"
59 |
60 | ### Light Theme
61 |
62 | - make selection background darker
63 | - make code comments darker
64 |
65 | ## "1.1.1"
66 |
67 | ### Light Theme
68 |
69 | - fix the find match background
70 | - fix the badge background to not be so distracting
71 | - fix keyword other unit css bright yellow
72 | - fix the too-bright-orange
73 | - fix the too-light turquoise, give it some contrast from the purple
74 | - fix up invalid illegal, make it not white so you can read it
75 | - stop all the weird border error lines
76 |
77 | ### Dark theme
78 |
79 | - fix up terminal selection background
80 |
81 | ## "1.1.0"
82 |
83 | - Light theme no italics introduced
84 | - Fix bug in empty editor view
85 |
86 | ## "1.0.1"
87 |
88 | - Updated readme with new screenshots, including light theme
89 |
90 | ## "1.0.0"
91 |
92 | - Light theme introduced
93 | - C++ support
94 | - Fix active selection background bug
95 | - Fix Markdown Header bug
96 |
97 | ## "0.5.0"
98 |
99 | - Better Closure support
100 | - Better Powershell support
101 | - Update notification toasts so you can see them better
102 | - Make Proptypes stand out a bit more
103 | - Fix bottom statusbar foreground
104 | - Make inactive tab less distracting
105 | - Make object.other.property more pronounced
106 | - Update editorGroup.emptyBackground from deprecated version
107 | - Make contrast between function keyword stronger
108 | - Fix bug in markdown punctuation
109 | - Make a difference between current highlighted and searched-for keyword
110 | - Update JSON key to be less barfy
111 |
112 | ## "0.4.3"
113 |
114 | - Update README: vs code => visual studio code
115 |
116 | ## "0.4.2"
117 |
118 | - Update warn widget color
119 | - Fix misnamed theme
120 | - Remove italics from git diff in no italics theme
121 | - Add symbol highlighting
122 |
123 | ## "0.4.1"
124 |
125 | - Improved TypeScript support
126 | - Changed active panel coloring
127 |
128 | ## "0.4.0"
129 |
130 | - Make cursor more visible
131 | - Added basic react in TS support
132 | - Fix ts and js differences
133 | - Lighter color for active indent guide
134 |
135 | ## "0.3.2"
136 |
137 | - Fix scss/sass variables
138 | - Update readme to mention ported versions
139 | - Fix badge color
140 | - Update readme to specify how to make more contrast in sidebar
141 | - Make line number contrast more strong
142 | - Fix typescript 'import' and 'from' reserved words color
143 | - Fix PHP accessing property color
144 |
145 | ## "0.3.1"
146 |
147 | - Return conditionals to their original state so that they don't stand out so much
148 |
149 | ## "0.3.0"
150 |
151 | - Do a ton of keyword refinements, mainly across JavaScript and Ruby
152 |
153 | ## "0.2.6"
154 |
155 | - Register italic alternate in package.json
156 | - Fix editor ruler color
157 | - More consistent italic in different scope
158 |
159 | ## "0.2.5"
160 |
161 | - Update the inactive titlebar to be the same color as inactive tab
162 | - Match the html in React to regular HTML
163 | - Start creating a no italics theme
164 |
165 | ## "0.2.4"
166 |
167 | - Remove operator italics
168 |
169 | ## "0.2.3"
170 |
171 | - Update terminal colors for testing, tweaks
172 | - Fix a python blue for consistency
173 |
174 | ## "0.2.2"
175 |
176 | - Update terminal colors for testing
177 |
178 | ## "0.2.1"
179 |
180 | - Revert activity bar background change
181 |
182 | ## "0.2.0"
183 |
184 | - Fix more overuse of italics
185 | - Section highlight and placeholder fixes
186 | - More contrast for React component tags
187 | - Fix top bar color
188 | - Fix block scope/editor indent lack of border
189 | - Operator color continuity
190 | - Fix peek result color contrast
191 |
192 | ## "0.1.8"
193 |
194 | - Fix overuse of italics
195 | - Fix bug in prompts
196 | - Update Ruby highlighting
197 |
198 | ## "0.1.7"
199 |
200 | - Make .gitignored files have less contrast
201 | - Make modified files a bright blue instead of bright yellow
202 | - Fix similar keyword highlight for some files
203 | - Function arrows no longer italicized
204 | - Codelense highlight not as distracting
205 |
206 | ## "0.1.6"
207 |
208 | - Fix terminal blacks
209 | - Fix inactive tabs when there are two panes
210 | - Minor tweaks to JSON to match bracket pairs
211 |
212 | ## "0.1.4 / 0.1.5"
213 |
214 | - Make scrollbar transparent
215 |
216 | ## "0.1.3"
217 |
218 | - Update terminal division
219 |
220 | ## "0.1.2"
221 |
222 | - Define clarity between active and inactive tabs
223 | - Make scrollbar visible
224 | - Make comments more legible
225 |
226 | ## "0.1.0"
227 |
228 | - Initial release
229 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing to CONTRIBUTING.md
2 |
3 | First off, thanks for taking the time to contribute! ❤️
4 |
5 | Contributions are encouraged and valued. See the [Table of Contents](#table-of-contents) for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for to collaborate.
6 |
7 |
8 | ## Table of Contents
9 |
10 | - [Code of Conduct](#code-of-conduct)
11 | - [I Have a Question](#i-have-a-question)
12 | - [I Want To Contribute](#i-want-to-contribute)
13 | - [Reporting Bugs](#reporting-bugs)
14 | - [Suggesting Enhancements](#suggesting-enhancements)
15 | - [Submitting a PR](#submitting-a-pr)
16 |
17 | ## Code of Conduct
18 |
19 | This project and everyone participating in it is governed by the
20 | [CONTRIBUTING.md Code of Conduct](blob/master/CODE_OF_CONDUCT.md).
21 | By participating, you are expected to uphold this code.
22 |
23 |
24 | ## I Have a Question
25 |
26 | > If you want to ask a question, we assume that you have read the available [Documentation]().
27 |
28 | Before you ask a question, it is best to search for existing [Issues](/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.
29 |
30 | If you then still feel the need to ask a question and need clarification, we recommend the following:
31 |
32 | - Open an [Issue](/issues/new).
33 | - Provide as much context as you can about what you're running into.
34 | - Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant.
35 |
36 | We will then take care of the issue as soon as possible.
37 |
38 |
39 |
40 | ## I Want To Contribute
41 |
42 | ### Reporting Bugs
43 |
44 |
45 | #### Before Submitting a Bug Report
46 |
47 | A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible.
48 |
49 | - Make sure that you are using the latest version.
50 | - Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](). If you are looking for support, you might want to check [this section](#i-have-a-question)).
51 | - To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](issues?q=label%3Abug).
52 | - There are times that things break locally due to either other extensions orupstream issues in VS Code. Please try to see if the issue exists in other themes (likely an issue with VS Code itself), and disable other extensions to see if the issue persists.
53 |
54 |
55 | #### How Do I Submit a Good Bug Report?
56 |
57 | > You must never report security related issues, vulnerabilities or bugs including sensitive information to the issue tracker, or elsewhere in public. Instead sensitive bugs must be sent by email to <>.
58 |
59 |
60 | We use GitHub issues to track bugs and errors. If you run into an issue with the project:
61 |
62 | - Open an [Issue](/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.)
63 | - Explain the behavior you would expect and the actual behavior.
64 | - Please provide as much context as possible and describe the *reproduction steps* that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case.
65 | - Provide the information you collected in the previous section.
66 |
67 |
68 | ### Suggesting Enhancements
69 |
70 | Enhancements are welcome! However, due to the nature of a theme, some requests may be subjective, and we may not want to implement them because it could steer the theme away from its intended purpose.
71 |
72 |
73 | ### Submitting a PR
74 |
75 | When submitting a PR, please reference the issue by number. If there is no issue, please create one. Please provide a screenshot of the changes you are making, both before and after.
76 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 Sarah Drasner
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 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Night Owl 🌌
2 |
3 | 
4 | 
5 | [](https://vscode.dev/theme/sdras.night-owl)
6 |
7 |
8 | 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. ✨
9 |
10 | As of 1.0.0, there's a Light Owl Theme too! Color balanced from the Dark version for easy viewing in daylight. 🌅
11 |
12 | 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/](https://css-tricks.com/creating-a-vs-code-theme/)
13 |
14 | ## Night Owl
15 |
16 | 
17 | 
18 |
19 | ## Light Owl
20 |
21 | 
22 | 
23 |
24 | # Installation
25 |
26 | 1. Install [Visual Studio Code](https://code.visualstudio.com/)
27 | 2. Launch Visual Studio Code
28 | 3. Choose **Extensions** from menu
29 | 4. Search for `night owl`
30 | 5. Click **Install** to install it
31 | 6. Click **Reload** to reload the Code
32 | 7. From the menu bar click: Code > Preferences > Color Theme > **Night Owl**
33 |
34 | ## Disable Italics
35 |
36 | 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.
37 |
38 | ## Other versions
39 |
40 | The community is awesome and has ported this theme over to other environments.
41 |
42 | #### Dark Theme
43 |
44 | - Hyper: [https://github.com/pbomb/hyper-night-owl](https://github.com/pbomb/hyper-night-owl)
45 | - iTerm2
46 | 1. [https://github.com/nickcernis/iterm2-night-owl](https://github.com/nickcernis/iterm2-night-owl)
47 | 2. [https://github.com/jsit/night-owl-iterm2-theme](https://github.com/jsit/night-owl-iterm2-theme)
48 | 3. [https://github.com/florianeckerstorfer/night-owl-itermcolors](https://github.com/florianeckerstorfer/night-owl-itermcolors)
49 | 4. [https://github.com/andrewfluck/night-owl-iterm2](https://github.com/andrewfluck/night-owl-iterm2)
50 | - Xresources: [https://github.com/alochaus/night-owl-xresources-theme](https://github.com/alochaus/night-owl-xresources-theme)
51 | - Atom: [https://atom.io/themes/night-owl-vs-code-syntax](https://atom.io/themes/night-owl-vs-code-syntax)
52 | - Jetbrains: [https://github.com/xdrop/night-owl-jetbrains](https://github.com/xdrop/night-owl-jetbrains)
53 | - Emacs: [https://github.com/aaronjensen/night-owl-emacs](https://github.com/aaronjensen/night-owl-emacs)
54 | - Vim
55 | 1. [https://github.com/Khaledgarbaya/night-owl-vim-theme](https://github.com/Khaledgarbaya/night-owl-vim-theme)
56 | 2. [https://github.com/haishanh/night-owl.vim](https://github.com/haishanh/night-owl.vim)
57 | - Pygments [https://github.com/liamdawson/nightowl-pygments-style](https://github.com/liamdawson/nightowl-pygments-style)
58 | - Alfred: [https://github.com/jbharat/night-owl-alfred-theme](https://github.com/jbharat/night-owl-alfred-theme)
59 | - Ulauncher: [https://github.com/christoph-fricke/ulauncher-night-owl-theme](https://github.com/christoph-fricke/ulauncher-night-owl-theme)
60 | - TextMate [https://github.com/batpigandme/night-owlish](https://github.com/batpigandme/night-owlish/tree/master/tmTheme)
61 | - Ace Editor [https://github.com/batpigandme/night-owlish](https://github.com/batpigandme/night-owlish/tree/master/aceTheme)
62 | - RStudio [https://github.com/batpigandme/night-owlish](https://github.com/batpigandme/night-owlish/tree/master/rstheme)
63 | - Insomnia [https://github.com/yoannfleurydev/insomnia-plugin-night-owl-theme](https://github.com/yoannfleurydev/insomnia-plugin-night-owl-theme)
64 | - Sublime Text 3 [https://github.com/VonHeikemen/night-owl-sublime-scheme](https://github.com/VonHeikemen/night-owl-sublime-scheme)
65 | - Slack [https://github.com/clouby/night-owl-slack](https://github.com/clouby/night-owl-slack)
66 | - Xcode [https://github.com/stealthanthrax/xcode-Night-Owl](https://github.com/stealthanthrax/xcode-Night-Owl)
67 | - Visual Studio 2019: [https://github.com/kai-oswald/NightOwl-VS-Theme](https://github.com/kai-oswald/NightOwl-VS-Theme)
68 | - Visual Studio 2022: [https://github.com/SumitKar01/NightOwl-Theme-VS-2022](https://github.com/SumitKar01/NightOwl-Theme-VS-2022)
69 | - Prism [https://github.com/SaraVieira/prism-theme-night-owl](https://github.com/SaraVieira/prism-theme-night-owl)
70 | - Windows Terminal [https://github.com/edurojasr/Windows_Terminal_Theme_Night_Owl](https://github.com/edurojasr/Windows_Terminal_Theme_Night_Owl)
71 | - Alacritty: [https://github.com/alacritty/alacritty](https://github.com/alacritty/alacritty/wiki/Color-schemes)
72 | - Terminology: [https://github.com/LividJava/night-owl-terminology](https://github.com/LividJava/night-owl-terminology)
73 | - Gnome Terminal: [https://github.com/edurojasr/night-owl-gnome-terminal](https://github.com/edurojasr/night-owl-gnome-terminal)
74 | - Kitty [https://github.com/Glazy/night-owl-kitty-theme](https://github.com/Glazy/night-owl-kitty-theme)
75 | - Ghostty [https://github.com/m1yon/ghostty-night-owl](https://github.com/m1yon/ghostty-night-owl)
76 |
77 | #### Light Theme
78 |
79 | - iTerm2: [https://github.com/fcaldera/night-owl-light-iterm2](https://github.com/fcaldera/night-owl-light-iterm2)
80 | - Vim: [https://github.com/macguirerintoul/night_owl_light.vim](https://github.com/macguirerintoul/night_owl_light.vim)
81 | - Tilix: [https://github.com/johanhammar/light-owl-tilix](https://github.com/johanhammar/light-owl-tilix)
82 | - Alacritty: [https://github.com/nik27/night-owl-alacritty-theme](https://github.com/nik27/night-owl-alacritty-theme)
83 | - Ghostty: [https://github.com/m1yon/ghostty-night-owl](https://github.com/m1yon/ghostty-night-owl)
84 |
85 | ## Separate the Editor from the Sidebar
86 |
87 | 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. ☺️
88 |
89 | ```
90 | "workbench.colorCustomizations": {
91 | "[Night Owl]": {
92 | "activityBar.background": "#000C1D",
93 | "activityBar.border": "#102a44",
94 | "editorGroup.border": "#102a44",
95 | "sideBar.background": "#001122",
96 | "sideBar.border": "#102a44",
97 | "sideBar.foreground": "#8BADC1"
98 | },
99 | "[Night Owl (No Italics)]": {
100 | "activityBar.background": "#000C1D",
101 | "activityBar.border": "#102a44",
102 | "editorGroup.border": "#102a44",
103 | "sideBar.background": "#001122",
104 | "sideBar.border": "#102a44",
105 | "sideBar.foreground": "#8BADC1"
106 | }
107 | },
108 | ```
109 |
110 | ## Preferences shown in the preview
111 |
112 | The font in the preview image is Dank Mono, [available here](https://philpl.gumroad.com/l/dank-mono). Editor settings to activate font ligatures:
113 |
114 | ```
115 | "editor.fontFamily": "Dank Mono",
116 | "editor.fontLigatures": true,
117 | ```
118 |
119 | ## Misc
120 |
121 | This is my first foray into creating a theme, so if you see something amiss, please feel free to [file an issue](https://github.com/sdras/night-owl-vscode-theme/issues)! I'm sure there are things I missed.
122 |
123 | If you use [the VS Code Babel extension](https://marketplace.visualstudio.com/items?itemName=mgmcdermott.vscode-language-babel), you may see some inconsistencies in color for JSX, that's not coming from this theme.
124 |
125 | 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.
126 |
127 | This palette was inspired in part by Material Palenight [Theme](https://marketplace.visualstudio.com/items?itemName=whizkydee.material-palenight-theme), and the accessibility idea was inspired in part by Solarized [Themes](http://ethanschoonover.com/solarized)
128 |
--------------------------------------------------------------------------------
/after-c#.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/night-owl-vscode-theme/cc291eba7976b20d7c66bde6883c27b902196b07/after-c#.png
--------------------------------------------------------------------------------
/after-dart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/night-owl-vscode-theme/cc291eba7976b20d7c66bde6883c27b902196b07/after-dart.png
--------------------------------------------------------------------------------
/before-c#.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/night-owl-vscode-theme/cc291eba7976b20d7c66bde6883c27b902196b07/before-c#.png
--------------------------------------------------------------------------------
/before-dart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/night-owl-vscode-theme/cc291eba7976b20d7c66bde6883c27b902196b07/before-dart.png
--------------------------------------------------------------------------------
/demo/.editorconfig:
--------------------------------------------------------------------------------
1 | # http://editorconfig.org
2 | root = true
3 |
4 | [*]
5 | charset = utf-8
6 | end_of_line = lf
7 | indent_size = 2
8 | indent_style = space
9 | insert_final_newline = true
10 | trim_trailing_whitespace = true
11 |
12 | [*.md]
13 | max_line_length = off
14 | trim_trailing_whitespace = false
15 |
--------------------------------------------------------------------------------
/demo/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "python.linting.enabled": false
3 | }
--------------------------------------------------------------------------------
/demo/checkbox_with_label.test.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import ReactDOM from 'react-dom';
3 | import * as TestUtils from 'react-dom/test-utils';
4 | import CheckboxWithLabel from '../CheckboxWithLabel';
5 |
6 | it('CheckboxWithLabel changes the text after click', () => {
7 | // Render a checkbox with label in the document
8 | const checkbox = TestUtils.renderIntoDocument(
9 |
10 | )
11 |
12 | const checkboxNode = ReactDOM.findDOMNode(checkbox)
13 |
14 | // Verify that it's Off by default
15 | expect(checkboxNode.textContent).toEqual('Off')
16 |
17 | // Simulate a click and verify that it is now On
18 | TestUtils.Simulate.change(
19 | TestUtils.findRenderedDOMComponentWithTag(checkbox, 'input')
20 | )
21 | expect(checkboxNode.textContent).toEqual('On')
22 | })
--------------------------------------------------------------------------------
/demo/clojure.clj:
--------------------------------------------------------------------------------
1 | (ns hello.world.clojure)
2 |
3 | (defn sum [& numbers]
4 | (if (empty? numbers)
5 | 0
6 | (reduce + 0 numbers)))
7 |
8 | (defn print-name [{:keys [first last age]}]
9 | (println (str "Your name is " first " " last " and you are " age " years old.")))
10 |
11 | (defn set-age [person new-age]
12 | (assoc person :age new-age))
13 |
14 | (defn hello-world []
15 | (let [john {:first "John" :last "Smith" :age 65}
16 | jack {:first "Jack" :last "Road" :age 76}
17 | george {:first "George" :last "Way" :age 23}
18 | george-junior (assoc george :age 6)
19 | all-persons [john jack george george-junior]]
20 |
21 | (doseq [person all-persons]
22 | (print-name person))
23 |
24 | (println (str "Total age is: " (apply sum (map :age all-persons))))))
25 |
26 | (hello-world)
27 |
--------------------------------------------------------------------------------
/demo/clojurescript.cljs:
--------------------------------------------------------------------------------
1 | (ns hello.world.clojurescript
2 | (:require [reagent.core :as r])
3 |
4 | (def counter (r/atom 0))
5 | (def text-component-style {:background-color :grey
6 | :border "1px solid black"
7 | :padding "5px"})
8 |
9 | (defn counter-clicked []
10 | (.log js/console "You clicked the counter component.")
11 | (swap! counter inc))
12 |
13 | (defn text-counter [text]
14 | [:div {:on-click counter-clicked
15 | :style text-component-style})
16 | (str text @counter])
17 |
18 | (defn main-component []
19 | [:div
20 | [:p {:style {:color :red}} "Hello world! Click the element below:"]
21 | [text-counter "Clicked: "]])
22 |
--------------------------------------------------------------------------------
/demo/cplusplus-header.h:
--------------------------------------------------------------------------------
1 | // Copyright 2012 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef V8_API_H_
6 | #define V8_API_H_
7 |
8 | #include "include/v8-testing.h"
9 | #include "src/contexts.h"
10 | #include "src/debug/debug-interface.h"
11 | #include "src/detachable-vector.h"
12 | #include "src/heap/factory.h"
13 | #include "src/isolate.h"
14 | #include "src/objects.h"
15 | #include "src/objects/bigint.h"
16 | #include "src/objects/js-collection.h"
17 | #include "src/objects/js-generator.h"
18 | #include "src/objects/js-promise.h"
19 | #include "src/objects/js-proxy.h"
20 | #include "src/objects/module.h"
21 | #include "src/objects/shared-function-info.h"
22 |
23 | #include "src/objects/templates.h"
24 |
25 | namespace v8 {
26 |
27 | // Constants used in the implementation of the API. The most natural thing
28 | // would usually be to place these with the classes that use them, but
29 | // we want to keep them out of v8.h because it is an externally
30 | // visible file.
31 | class Consts {
32 | public:
33 | enum TemplateType {
34 | FUNCTION_TEMPLATE = 0,
35 | OBJECT_TEMPLATE = 1
36 | };
37 | };
38 |
39 | template
40 | inline T ToCData(v8::internal::Object* obj);
41 |
42 | template <>
43 | inline v8::internal::Address ToCData(v8::internal::Object* obj);
44 |
45 | template
46 | inline v8::internal::Handle FromCData(
47 | v8::internal::Isolate* isolate, T obj);
48 |
49 | template <>
50 | inline v8::internal::Handle FromCData(
51 | v8::internal::Isolate* isolate, v8::internal::Address obj);
52 |
53 | class ApiFunction {
54 | public:
55 | explicit ApiFunction(v8::internal::Address addr) : addr_(addr) { }
56 | v8::internal::Address address() { return addr_; }
57 | private:
58 | v8::internal::Address addr_;
59 | };
60 |
61 |
62 |
63 | class RegisteredExtension {
64 | public:
65 | explicit RegisteredExtension(Extension* extension);
66 | static void Register(RegisteredExtension* that);
67 | static void UnregisterAll();
68 | Extension* extension() { return extension_; }
69 | RegisteredExtension* next() { return next_; }
70 | static RegisteredExtension* first_extension() { return first_extension_; }
71 | private:
72 | Extension* extension_;
73 | RegisteredExtension* next_;
74 | static RegisteredExtension* first_extension_;
75 | };
76 |
77 | #define OPEN_HANDLE_LIST(V) \
78 | V(Template, TemplateInfo) \
79 | V(FunctionTemplate, FunctionTemplateInfo) \
80 | V(ObjectTemplate, ObjectTemplateInfo) \
81 | V(Signature, FunctionTemplateInfo) \
82 | V(AccessorSignature, FunctionTemplateInfo) \
83 | V(Data, Object) \
84 | V(RegExp, JSRegExp) \
85 | V(Object, JSReceiver) \
86 | V(Array, JSArray) \
87 | V(Map, JSMap) \
88 | V(Set, JSSet) \
89 | V(ArrayBuffer, JSArrayBuffer) \
90 | V(ArrayBufferView, JSArrayBufferView) \
91 | V(TypedArray, JSTypedArray) \
92 | V(Uint8Array, JSTypedArray) \
93 | V(Uint8ClampedArray, JSTypedArray) \
94 | V(Int8Array, JSTypedArray) \
95 | V(Uint16Array, JSTypedArray) \
96 | V(Int16Array, JSTypedArray) \
97 | V(Uint32Array, JSTypedArray) \
98 | V(Int32Array, JSTypedArray) \
99 | V(Float32Array, JSTypedArray) \
100 | V(Float64Array, JSTypedArray) \
101 | V(DataView, JSDataView) \
102 | V(SharedArrayBuffer, JSArrayBuffer) \
103 | V(Name, Name) \
104 | V(String, String) \
105 | V(Symbol, Symbol) \
106 | V(Script, JSFunction) \
107 | V(UnboundModuleScript, SharedFunctionInfo) \
108 | V(UnboundScript, SharedFunctionInfo) \
109 | V(Module, Module) \
110 | V(Function, JSReceiver) \
111 | V(Message, JSMessageObject) \
112 | V(Context, Context) \
113 | V(External, Object) \
114 | V(StackTrace, FixedArray) \
115 | V(StackFrame, StackFrameInfo) \
116 | V(Proxy, JSProxy) \
117 | V(debug::GeneratorObject, JSGeneratorObject) \
118 | V(debug::Script, Script) \
119 | V(debug::WeakMap, JSWeakMap) \
120 | V(Promise, JSPromise) \
121 | V(Primitive, Object) \
122 | V(PrimitiveArray, FixedArray) \
123 | V(BigInt, BigInt) \
124 | V(ScriptOrModule, Script)
125 |
126 | class Utils {
127 | public:
128 | static inline bool ApiCheck(bool condition,
129 | const char* location,
130 | const char* message) {
131 | if (!condition) Utils::ReportApiFailure(location, message);
132 | return condition;
133 | }
134 | static void ReportOOMFailure(v8::internal::Isolate* isolate,
135 | const char* location, bool is_heap_oom);
136 |
137 | static inline Local ToLocal(
138 | v8::internal::Handle obj);
139 | static inline Local ToLocal(
140 | v8::internal::Handle obj);
141 | static inline Local ToLocal(
142 | v8::internal::Handle obj);
143 | static inline Local ToLocal(
144 | v8::internal::Handle obj);
145 | static inline Local ToLocal(
146 | v8::internal::Handle obj);
147 | static inline Local ToLocal(
148 | v8::internal::Handle obj);
149 | static inline Local ToLocal(
150 | v8::internal::Handle obj);
151 | static inline Local