Fine-tune light, shadows, borders, neumorphic
Light and shadows
Borders
Neumorphic

Contributing

Prismora is open source under the MIT licence. Bug reports, ideas and pull requests are welcome.

Where things go

You haveGo to
A bugIssues, with the smallest markup that shows it, the framework and the browser
A questionDiscussions, Q&A
An idea for an element, template or iconDiscussions, Ideas. An accepted idea becomes an issue and a line in the roadmap
Something you builtDiscussions, Show and tell
A security problemThe private advisory form, never a public issue

Set up the repository

You need Bun and Chrome (for the browser tests).

git clone https://github.com/axxra/prismora.git && cd prismora bun install bun run build bun run dev # this site and the generator at http://localhost:5173

Make a change

bun run build # regenerates CSS modules, wrappers and components.json bun run typecheck bun run lint bun run test # unit tests bun test tests/components.test.ts # the browser suite nearest to your change

Continuous integration runs every suite on each pull request, so locally the one or two suites near your change are enough.

A pull request is ready when

  • a test fails without the change and passes with it;
  • generated files are committed;
  • the changelog has a line under "Unreleased", with a Migration note for a rename or removal;
  • keyboard use, screen reader names, dark mode and right-to-left still work;
  • no size budget was raised without a comment that names what was added.

What we look for

  • Accessible first. WCAG 2.2 AA in every theme and surface.
  • Every framework. Elements are web components; wrappers are generated, never written by hand.
  • Pay for what you use. One element per module, no new runtime dependencies.
  • The platform first. Native <dialog>, popover, form association and CSS before script. See browser support.

Read more