Skip to content
Package for Atom Editor which allows you to switch to dark mode and light mode theme.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
keymaps
lib
menus
spec
.eslintrc.js
.gitattributes
.gitignore
DarkMode640.gif
LICENSE.md
README.md
package-lock.json
package.json

README.md

Dark Mode

Package for Atom Editor which allow you to switch to dark mode and light mode theme automatically thanks to your Mac light sensor.

Installation

Run: apm install dark-mode or use Atom Package Manager in Atom settings.

** After installation remember to restart Atom or run Window: Reload in command palette.**

Manual Theme switcher

Dark Mode

To change theme manually use:

ctrl + `

or in command palette choose Dark Mode: Toggle

Auto mode

By activating auto mode you will take an advantage of implemented sensors to switch the theme automatically.

To disable/enable auto mode choose in command palette: Dark Mode: Turn On Auto mode or Dark Mode: Turn Off Auto Mode

Sun Sensor

Based on DAY or NIGHT atom will change theme automatically.

System Theme Sensor

Not working until Atom will upgrade to Electron 3.0 but we are already all set :) Based on your system's theme atom will adjust the theme automatically.

Ambient Light Sensor

Not working until Atom will enable chrome's sensors.api by default

It will change your theme based on your ambient light sensor of your computer (if present and supported)

You can setup the interval of refreshing and threshold of darkness level in the package settings.

Customization

Go to the package config in Atom settings.

You can specify your own custom theme for each mode and use it as a fast theme switcher.

You can’t perform that action at this time.