https://github.com/saneef/a-tiny-pattern-library
https://github.com/saneef/a-tiny-pattern-library
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/saneef/a-tiny-pattern-library
- Owner: saneef
- Created: 2024-09-17T15:49:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-17T16:09:48.000Z (over 1 year ago)
- Last Synced: 2025-04-05T09:56:04.979Z (about 1 year ago)
- Language: CSS
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Tiny Pattern Library
## Customizing colors and type
1. To pick the font family, open the file `src/_includes/layouts/base.njk` and pick one of `` with corresponding font family.
2. Enable corresponding font family in the CSS file, `src/css/design-tokens.typography.font-family.css`
3. To pick color palette, edit the file `src/css/main.css` and uncomment one of the palette, `design-tokens.colors.primary-01.css`, `design-tokens.colors.primary-02.css`, or `design-tokens.colors.primary-03.css`
## Development
```sh
$ npm install
$ npm dev # Starts development server.
```