1.0.5 • Published 4 years ago

usemagic-theme v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
4 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

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.1

4 years ago