This is an eleventy site for Kromatic - (brainstorming changes for 2023).
- Clone this repo
npm install
npm run serve
to start a local server
This site is deployed to Netlify. Pushing to the main
branch will trigger a new deploy.
This site uses Eleventy to manage content (markdown files).
- Create a new markdown file in the
src
directory - Add the following frontmatter to the top of the file:
---
layout: base.njk
eleventyNavigation:
key: <Page Title>
order: <1>
---
- Add content below the frontmatter
This site uses Playwright for testing. To run the tests, run npm run test
.
To update teh reference screenshots :
npx playwright test --update-snapshots