1.2.34 • Published 3 years ago

@eggplant-finance/eggplant-uikit-theme v1.2.34

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

🥞 Eggplant UIkit

Version Size

Eggplant UIkit is a set of React components and hooks used to build pages on Eggplant's apps. It also contains a theme file for dark and light mode.

Install

yarn add @eggplant-finance/eggplant-uikit-theme

Setup

Theme

Before using Eggplant UIkit, you need to provide the theme file to styled-component.

import { ThemeProvider } from 'styled-components'
import { light, dark } from '@eggplant-finance/eggplant-uikit-theme'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>

Reset

A reset CSS is available as a global styled component.

import { ResetCSS } from '@eggplant-finance/eggplant-uikit-theme'
...
<ResetCSS />

Types

This project is built with Typescript and export all the relevant types.

1.2.34

3 years ago

1.2.33

3 years ago

1.2.32

3 years ago

1.2.28

3 years ago

1.2.29

3 years ago

1.2.30

3 years ago

1.2.31

3 years ago

1.2.27

3 years ago

1.2.26

3 years ago

1.2.25

3 years ago

1.2.24

3 years ago

1.2.20

3 years ago

1.2.23

3 years ago

1.2.21

3 years ago

1.2.22

3 years ago

1.2.18

3 years ago

1.2.19

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.9

3 years ago

1.2.12

3 years ago

1.2.13

3 years ago

1.2.10

3 years ago

1.2.11

3 years ago

1.2.16

3 years ago

1.2.17

3 years ago

1.2.14

3 years ago

1.2.15

3 years ago

1.2.0

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.2.4

3 years ago

1.1.5

3 years ago

1.2.3

3 years ago

1.1.4

3 years ago

1.2.2

3 years ago

1.1.3

3 years ago

1.2.1

3 years ago

1.1.1

3 years ago

1.1.2

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

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