This package has been deprecated

Author message:

Capacitor now officially supports dark mode on Android. See https://github.com/capawesome-team/capacitor-android-dark-mode-support

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

1.0.1 • Public • Published


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.

Readme

Keywords

Package Sidebar

Install

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

Weekly Downloads

30

Version

1.0.1

License

MIT

Unpacked Size

9.65 kB

Total Files

8

Last publish

Collaborators

  • robingenz