@talismn/ui

0.0.0-pr1002.045a7406 • Public • Published

@talismn/ui

Installation

yarn add @talismn/ui

@talismn/ui has a number of required peer dependencies. If your project doesn't have them already, you can install them by running:

yarn add @emotion/react @talismn/icons framer-motion react-hot-toast

Configuring the theme

import '@talismn/ui/assets/css/talismn.css'

import { ThemeProvider } from '@emotion/react'
import { theme } from '@talismn/ui'

export const App = () => {
  return <ThemeProvider theme={theme.greenDark}>{/* Your app */}</ThemeProvider>
}

Typing the theme

import { TalismanTheme } from '@talismn/ui'

declare module '@emotion/react' {
  export interface Theme extends TalismanTheme {}
}

For more information, refer to Emotion's TypeScript documentation.

Readme

Keywords

none

Package Sidebar

Install

npm i @talismn/ui

Weekly Downloads

1,361

Version

0.0.0-pr1002.045a7406

License

none

Unpacked Size

5.17 MB

Total Files

164

Last publish

Collaborators

  • chrisling-dev
  • tien-talisman
  • 0xkheops
  • jonpdunne
  • warp_lizard
  • alectalisman