@lnpg/pkgn-sol
v1.0.0-beta.0
Published
Sol is LNPG’s framework-agnostic design foundation for shared CSS, SCSS, design tokens, typography, spacing, colour, and reset styles across UI kits, applications, and websites.
Readme
@lnpg/pkgn-sol (v1.0.0-beta.0)
pkgn-sol is LNPG’s framework-agnostic design foundation for shared CSS, SCSS, design tokens, typography, spacing, colour, and reset styles across UI kits, applications, and websites.
It ships:
- CSS builds (ready to drop into any app)
- SCSS source (tokens, functions, mixins, element styles, and adapters)
- Typed HTML element factories (safe-ish DOM creation helpers with strong TypeScript typing)
- Tailwind v4 adapter (preset + plugin wrapper)
Repo: https://github.com/lnpgdev/pkgn-sol
Docs (VitePress site): npm run docs
API docs (TypeDoc markdown): generated into docs/api/ts
Table of contents
- What pkgn-sol is
- Install
- Entry points
- Quick start
- Design + security principles
- Build outputs
- Scripts
- Production readiness checklist
- Contributing
- License
What pkgn-sol is
pkgn-sol aims to be the lowest-level design foundation layer:
- Styles: tokens + primitives + optional element styling
- DOM: typed factories that wrap native elements (no framework assumptions)
pkgn-sol intentionally does not attempt to be:
- a full component library
- a design system website
- a framework binding (React/Vue/etc)
Think of it as: “a reliable base layer you can import into anything, without regretting it later.”
Install
npm i @lnpg/pkgn-sol