GithubHelp home page GithubHelp logo

l0drex / yin-yang-firefox-extension Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 589 KB

This is a small extension which syncs the theme of Firefox with the system through Yin & Yang ☯️.

JavaScript 100.00%
yin-yang darkmode firefox-addon

yin-yang-firefox-extension's Introduction

Yin-Yang Firefox extension

This is a small extension syncs the theme of Firefox with Yin & Yang. Please note that you need to have Yin Yang installed. If you change any settings in Yin & Yang, Firefox needs to be restarted.

The master branch should work with the original yin yang application. If you want to use my fork of the yin yang application, you should use the branch l0drex_fork, which supports the new message style sent by my fork.

yin-yang-firefox-extension's People

Contributors

l0drex avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

yin-yang-firefox-extension's Issues

Setting a custom downloaded theme doesnt work

Output in browser console:

Uncaught (in promise) Error: Incorrect argument types for management.get.
    setTheme moz-extension://801ac443-4c26-4e33-b066-dfb31b9ae7c4/theme_select.js:7
    applyConfig moz-extension://801ac443-4c26-4e33-b066-dfb31b9ae7c4/theme_select.js:49
theme_select.js:7:24

Update settings sync

The settings object should contain the same settings and names as the native application:

  • dark_mode: bool
  • enabled: bool
  • themes (light and dark): strings
  • time (light and dark): strings

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.