GitHub - 61Magical/useMagicTheme · GitHub
Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation





useMagicTheme 🟣📘🍊

Magical - Build With Magic



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

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages