Style guide 00 / CSS framework
astrostyle
Buttons, inputs, pagination, panels and all the other bits a website needs, dressed in the colors and attitude of the ASTROPRISMA tabletop RPG. SCSS core, plain CSS build, a pinch of vanilla JavaScript, no framework required.
These pages are built with astrostyle itself. More components arrive over the next releases; the Demo shows everything shipped so far on one screen.
Install 01
npm install astrostyle
@use 'pkg:astrostyle' as ap;
@include ap.emit;
No Sass? Link node_modules/astrostyle/dist/astrostyle.css and pick a theme with data-ap-theme="light" or "dark".
Explore 02
FoundationsPalette, themes, type roles, spacing, shapes.
ElementsPlain HTML, styled with zero specificity.
LayoutsStack, cluster, grid, sidebar, switcher, frame, container.
UtilitiesVisually hidden, text roles, truncation, responsive display.
ButtonsLooks, sizes, shapes, states and button groups.
FormsFields, inputs, selects, the combobox, choices, ranges and meters.
NavigationBreadcrumb, pagination, tabs.
FeedbackTags, callouts, progress, spinners, empty states, toasts.
BlocksMasthead, headings, window, card, tabbed box, segment bar, swatch, surface.
ContainersDialog, drawer, accordion, table, list, divider, key cap, skeleton, tooltip, menu.