MMeridian Design System
Resources

Contributing

Meridian grows slowly on purpose. A component that exists has to be maintained, documented and supported forever, so the bar for adding one is high and the bar for fixing one is low.

Before you propose a component

Answer these four questions in the issue. If two or more answers are "not sure", it is a pattern, not a component:

  1. Does it appear in at least three unrelated screens, or is it specific to one workflow?
  2. Can it be built from existing primitives with classes you already have?
  3. Does it have states that the current library cannot express?
  4. Who maintains it when the original author moves on?

Change process

StepWhat happensWho decides
1 · IssueA description of the problem, with screenshots of the current workaroundAnyone
2 · TriageLabel as token change, component change, or new componentMaintainers, weekly
3 · ProposalMarkup sketch, token usage, states, accessibility notesAuthor
4 · ReviewTwo approvals: one design, one engineeringReviewers
5 · ReleaseShips in the next minor version with a changelog entryMaintainers

Review criteria

A pull request is merged when all of these are true:

Versioning

Semantic versioning, applied to the public surface — tokens and class names:

ChangeBump
New component, new token, new optional modifierMinor
Visual fix, contrast fix, documentationPatch
Renamed token, removed class, changed default behaviourMajor

Local development

git clone https://example.invalid/meridian.git
cd meridian
npm install
npm run dev      # docs site on :4321, rebuilds on save
npm test         # contrast + snapshot checks
npm run build    # dist/meridian.css

The documentation site is the test harness. If a component cannot be demonstrated in a short HTML block, its API is too complicated.

Licensing Contributions are accepted under Apache-2.0. There is no CLA — submitting a pull request is agreement to the licence.