1.0.1 • Published 2 years ago

@robingenz/capacitor-android-dark-mode-support v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Maintainers

MaintainerGitHubSocial
Robin Genzrobingenz@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.