1.1.3 • Published 2 years ago

@metagg/mgg-uikit v1.1.3

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

MGG UIkit

MGG 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 @metagg/mgg-uikit

1.b With NPM

npm install @metagg/mgg-uikit

2. Setup

2.a Theme

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

import { ThemeProvider } from 'styled-components'

import { light, dark } from '@metagg/MGG-uikit

...

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

2.b Reset

A reset CSS is available as a global styled component.

import { ResetCSS } from '@metagg/MGG-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/mgguild/mgg-uikit.git
  1. Open Directory
cd mgg-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

MGG UIKit - Github

MGG UIKit - NPM

1.1.3

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.2

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.10

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago