Skip to content

cadgerfeast/pixel-components

Repository files navigation

Pixel Components

Version Downloads License


Pixel Components Icon

Pixel Slithe Theme

Documentation

Full documentation website can be found here.

Installation

npm install slithe @pixel/components --save

Usage

// Import
import { defineElements, setTheme } from 'slithe';
// Theme
import '@pixel/components/global.css';
import theme from '@pixel/components';
// Initialization
defineElements();
setTheme('light', theme);
<!-- Use it! -->
<sl-button primary>My Pixelized Button</sl-button>

License

MIT