@internet-identity-labs/nfid-ui-kit-core
v0.0.1-alpha.3
Published
A Tailwind CSS plugin for NFID applications
Downloads
6
Readme
NFID UI Kit Core
This package contains the core utilities of the NFID UI Kit.
It is built on top of TailwindCSS and provides a set of utility classes that are used by the different libraries and give a consistent look and feel across all of our sample applications.
Getting started
- Plugins which are added to our Tailwind theme are nested under the utils folder.
- The
theme.json
contains the in-house styles from NFID. - When creating a new utility for a component, create a folder if it doesn't exist and add the utility classes within the
index.js
file.
In order to use the NFID UI Kit in your application, all you have to do is import the package into your tailwind.config.js
:
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {},
},
+ plugins: [require('@internet-identity-labs/nfid-ui-kit-core')],
};