Light Switch allows you to set-up two themes that swap around day & night. All you have to do is pick your themes and set your preferred times.
- 🌗 Specify Day & Night themes
- ⏱ Set your desired night time
- Moment.js:
npm install moment --save
This extension contributes the following settings:
lightSwitch.defaultTheme
: Default theme in case that loading fails.lightSwitch.nightTheme
: Theme that will be set during dark mode.lightSwitch.dayTheme
: Theme that will be set during light mode.lightSwitch.nightTime
: 24-hour local time that activates night mode. Format: hh:mm (i.e. 20:00, 10:30, 03:45).
Calling out known issues can help limit users opening duplicate issues against your extension.
Users appreciate release notes as you update your extension.
- TODO: Add notes
All code lives inside src/
:
commands
: Every command goes here - Includes the generic command binder.test
: All kinds of tests will be run here. Read more on testing.util
: General utilitiesdate
: Date conversion withMoment.js
.workspace
: Basic functions for getting important workspace information.
- Run
npm install
- Head to the debugging area and choose either
Run Extension
orExtension Tests
if you want to run the tests.
Contributions are more than welcome 🕺
- Bug reports
- Enhancements
- Typos
- Tests
- Anything you can think of 🎉