create-lumos
v0.3.5
Published
Create a new site from the Lumos For Astro template.
Maintainers
Readme
Quick start
npm create lumos@latest my-sitecd my-site
npm run devThat is the whole setup. The command copies the framework into my-site, names
the project after the folder, and installs dependencies with whichever package
manager you ran it with — npm, pnpm, yarn or bun.
Run it without a directory name and it asks for one. Pass --no-install to skip
the install and set the project up yourself.
What you get
An Astro site with a component library and a styling system already in place:
- Layout —
Section,ContentWrapper,Grid,ButtonWrapper - Content —
Heading,Paragraph,RichText,Eyebrow,Card,Button - Media —
Img,Video,Icon,Overlay - Chrome —
Nav,Footer,SkipLink,BaseHead,FormattedDate
Styles are organised into four cascade layers, so components override shared patterns and utilities override components without specificity fights. Four themes — light, dark, brand and invert — redeclare the same custom properties, so anything nested inside one picks up the right colors on its own.
Every component takes a render prop, and components that would render nothing
skip themselves. Set your site name and URL in src/consts.ts.
Documentation
Source and issues live in the repository.
