GithubHelp home page GithubHelp logo

exelord / dark-mode Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 4.0 12.81 MB

Package for Atom Editor which allows you to switch to dark mode and light mode theme.

License: MIT License

JavaScript 100.00%

dark-mode's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.