update readme

This commit is contained in:
Ray Elliott 2021-04-06 14:54:49 +01:00
parent 463856e15f
commit 8b61f666da
1 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,5 @@
## TODO ## TODO
* css - body line heights, margins (what happened to these??) * better documentation regarding the CSS files
* documentation regarding the CSS files - e.g., .text-component ???
* Eslint errors - do not stop compilation, just emit warnings? * Eslint errors - do not stop compilation, just emit warnings?
* CSS linting (needs to be postcss compatible) * CSS linting (needs to be postcss compatible)
@ -16,6 +15,10 @@
## Usage ## Usage
### Default Text Spacing Styles
There are no default *base* text spacing styles. However, there are default styles that are applied when textual elements are child elements of a `.text-component` class.
### Templating ### Templating
`ejs-compiled-loader` is used to load `ejs` templates. Templates are found in `src/templates/`. The template entry point is `index.ejs`. Partials can be placed in `src/templates/partials/`. `ejs-compiled-loader` is used to load `ejs` templates. Templates are found in `src/templates/`. The template entry point is `index.ejs`. Partials can be placed in `src/templates/partials/`.