Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 763 Bytes

CONTRIBUTING.md

File metadata and controls

24 lines (13 loc) · 763 Bytes

Contributing

Outside the developments

You should always run pnpm prettier:fix and pnpm lint:style:fix before you commit, in order to let your code follows the styling specification.

Element behaviors

  • For base elements, see W3C.
  • For Material You styled elements, see Material You.

Element styling

Selectors

Use [part~="name"] inside a component, while only users use ::part(name).

Properties

Sort CSS properties alphabetically, move CSS variables before regular CSS properties.

You can do the sorting by running bun run lint:style:fix instead of manually doing so.