1.2.34 • Published 4 years ago

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

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

4 years ago

1.2.33

4 years ago

1.2.32

4 years ago

1.2.28

4 years ago

1.2.29

4 years ago

1.2.30

4 years ago

1.2.31

4 years ago

1.2.27

4 years ago

1.2.26

4 years ago

1.2.25

4 years ago

1.2.24

4 years ago

1.2.20

4 years ago

1.2.23

4 years ago

1.2.21

4 years ago

1.2.22

4 years ago

1.2.18

4 years ago

1.2.19

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.9

4 years ago

1.2.12

4 years ago

1.2.13

4 years ago

1.2.10

4 years ago

1.2.11

4 years ago

1.2.16

4 years ago

1.2.17

4 years ago

1.2.14

4 years ago

1.2.15

4 years ago

1.2.0

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.2.4

4 years ago

1.1.5

4 years ago

1.2.3

4 years ago

1.1.4

4 years ago

1.2.2

4 years ago

1.1.3

4 years ago

1.2.1

4 years ago

1.1.1

4 years ago

1.1.2

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

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