crispypix-css
v0.2.0
Published
A pixel-perfect, 8-bit style CSS framework built with vanilla CSS
Downloads
28
Maintainers
Readme
CrispyPix CSS
Use
- Install the package:
npm install crispypix-css
- Import the configuration of Tailwind in your
tailwind.config.js
:
const crispypixConfig = require('crispypix-css/tailwind.config.js');
module.exports = {
presets: [crispypixConfig],
}
- Import the styles in your main CSS file:
@import 'crispypix-css/styles.css';
- Use the components in your application:
import { CrispyButton } from 'crispypix-css';
function App() {
return <CrispyButton color="primary" size="medium">Click me</CrispyButton>;
}