Aquaponem is a web components library using lit-element to create a shared design system for my personal projects.
These instructions will get you a copy of the project up and running on your local machine for development purposes.
npm i aquaponem
Put this into your html and replace @latest with any version you want to use, ex. @0.0.5
Note: if you use script tag, please skip initialization and go to Usage section
<script type="module" src="https://unpkg.com/aquaponem@latest/build/dist/index.js"></script>
or
<script type="module" src='https://unpkg.com/aquaponem@latest/build/dist/app/index.js'></script>
<script type="module" src='https://unpkg.com/aquaponem@latest/build/dist/theme/index.js'></script>
<script type="module" src='https://unpkg.com/aquaponem@latest/build/dist/button/index.js'></script>
import 'aquaponem';
import { App, Theme, Button } from 'aquaponem';
<aq-app>
<aq-theme dark>
<aq-btn color="primary">Button</aq-btn>
</aq-theme>
</aq-app>
- lit-element - A simple base class for creating fast, lightweight web components
- lit-html - An efficient, expressive extensible HTML templating library for JavaScript
- typescript - Typed JavaScript at Any Scale
- snowpack - The faster frontend build tool.
This project is licensed under the MIT License - see the LICENSE file for details