Coder Social home page Coder Social logo

martinpagesaal / capacitor-android-dark-mode-support Goto Github PK

View Code? Open in Web Editor NEW

This project forked from capawesome-team/capacitor-android-dark-mode-support

0.0 0.0 0.0 607 KB

⚡️ Capacitor plugin to support dark mode on Android.

License: MIT License

JavaScript 12.58% Java 87.42%

capacitor-android-dark-mode-support's Introduction

⚠️ Deprecated repository

Capacitor now officially supports dark mode on Android. See this comment.



Android Dark Mode Support

@robingenz/capacitor-android-dark-mode-support

Capacitor plugin to support dark mode on Android.


Maintainers

Maintainer GitHub Social
Robin Genz robingenz @robin_genz

Installation

npm install @robingenz/capacitor-android-dark-mode-support
npx cap sync

Variables

This plugin will use the following project variables (defined in your app’s variables.gradle file):

  • $androidxWebkitVersion version of androidx.webkit:webkit (default: 1.2.0)

Configuration

No configuration required for this plugin.

Demo

A working example can be found here: robingenz/capacitor-plugin-demo

Usage

The plugin only needs to be installed.

It enables the correct behavior of the prefers-color-scheme CSS media feature.

Changelog

See CHANGELOG.md.

License

See LICENSE.

capacitor-android-dark-mode-support's People

Contributors

dependabot[bot] avatar robingenz avatar

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.