1.0.3 • Published 6 months ago

@zetachain/ui-toolkit v1.0.3

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

ZetaChain UI Toolkit

Description

This project has a UI Toolkit for ZetaChain Apps. It exposes our theme, some components, and utils.

Installation

NPM

npm install @zetachain/ui-toolkit

Yarn

yarn add @zetachain/ui-toolkit

Basic Usage

Importing the tailwind theme config

Import @zetachain/ui-toolkit/theme/tailwind.config into the base tailwind configuration file on the root of the app that will consume the theme.

IMPORTANT: Add the content config listing all the components that will use tailwind classes.

Example tailwind.config.js:

const twConfig = require("@zetachain/ui-toolkit/theme/tailwind.config");

module.exports = {
  ...twConfig,
  content: ["./src/**/*.{ts,tsx,js,jsx}"],
};
1.0.3

6 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago