1.3.0 • Published 2 years ago
@russo-programmisto/invert v1.3.0
At a Glance
invert.js
makes it super easy to switch your website from light color scheme to dark and back.
How to Get Started
Type in Terminal:
npm install --save @russo-programmisto/invert
or, if you prefer yarn
over npm
, type:
yarn add @russo-programmisto/invert
Requirements
TypeScript.
Usage
Import library:
import { invert } from "@russo-programmisto/invert"
Then simply call:
invert({
defaultColorScheme: "light",
watchForSchemeChange: true
})
License
invert.js
is available under the MIT license. See the LICENSE file for more info.