1.0.5 • Published 3 years ago

usemagic-theme v1.0.5

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

useMagicTheme is a magical theme library, useMagicTheme is basically a function that accept a boolean value as a parameter and return prebuilt object of css HEX value

Installation

npm install usemagic-theme

or

yarn add usemagic-theme

Usage

Javascript

import {useMagicTheme} from 'usemagic-theme'

const button = document.getElementById('merlinButton')
const { background, brandColor} = useMagicTheme( true )

button.style.backgroundColor = brandColor
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago