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

6.0.0 • Public • Published

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

Capacitor plugin to support dark mode on Android.

Installation

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

Android

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.9.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 @capawesome/capacitor-android-dark-mode-support

Weekly Downloads

2

Version

6.0.0

License

MIT

Unpacked Size

8.07 kB

Total Files

8

Last publish

Collaborators

  • robingenz