1.4.1 • Published 1 year ago

@sparkpointio/sparkswap-uikit v1.4.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

SparkSwap UIkit

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

1. Install

1.a With Yarn

yarn add @sparkpointio/sparkswap-uikit

1.b With NPM

npm install @sparkpointio/sparkswap-uikit

2. Setup

2.a Theme

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

import { ThemeProvider } from 'styled-components'

import { light, dark } from '@aldrickb/sparkswap-uikit

...

<ThemeProvider theme={isDark}>...</ThemeProvider>

2.b Reset

A reset CSS is available as a global styled component.

import { ResetCSS } from '@aldrickb/sparkswap-uikit'

...

<ResetCSS />

3. Types

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

4. Devs Section

How to start contributing

  1. Clone Repository
git clone https://github.com/sparkpointio/sparkswap-uikit.git
  1. Open Directory
cd sparkswap-uikit
  1. Install Dependencies: Yarn recommended
yarn install
  1. Create working repository from develop
git checkout develop
git branch [branch name]
  1. Commit changes with message formatting - Husky https://github.com/conventional-changelog/commitlint
ex: 
1. chore: Run tests on travis ci
2. fix(server): Send cors headers
3. feat(blog): Add comment section
4. docs: Update README.md

Common types according to commitlint-config-conventional (based on the Angular convention) can be:

1. build
2. ci
3. chore
4. docs
5. feat
6. fix
7. perf
8. refactor
9. revert
10. style
11. test

Library

SparkSwap UIKit - Github

SparkSwap UIKit - NPM

View storybook

1.4.1

1 year ago

1.4.0

1 year ago

1.3.8

1 year ago

1.3.7

1 year ago

1.3.6

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.10

2 years ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.9

2 years ago

1.2.6

2 years ago

1.2.0

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.2.5

2 years ago

1.1.6

2 years ago

1.2.4

2 years ago

1.1.5

2 years ago

1.2.3

2 years ago

1.1.4

2 years ago

1.2.2

2 years ago

1.1.3

2 years ago

1.2.1

2 years ago

1.1.1

2 years ago

1.1.2

2 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

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

1.0.0

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago