1.0.5 • Published 2 years ago

usemagic-theme v1.0.5

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

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago