@loom-js/pink
v0.8.1
Published
The loomjs design system — Pink Design 1.0, continued from the archived appwrite/pink, with loom components on top.
Maintainers
Readme
@loom-js/pink
The design system for loom apps: a stylesheet, an icon font and a set of loom components that emit its class names. The stylesheet is Pink Design 1.0, continued from Appwrite's archived project (see NOTICE); the components, theming hook and code panels are loom's.
Install
npm i @loom-js/pink@loom-js/core is a peer dependency.
Use
import { component } from '@loom-js/core';
import { PinkButton, PinkCard } from '@loom-js/pink';
import '@loom-js/pink/icons.css';
import '@loom-js/pink/pink.css';
export const SaveCard = component(
(html) => html`
<${PinkCard}>
<p>Changes are kept locally until you save.</p>
<${PinkButton} icon="icon-check" isSecondary>Save</>
</>
`
);Documentation
- Pink on the docs site — install, theming, and the component reference.
- Storybook — every component, light and dark.
