Sfoglia il codice sorgente

Update readme to include information about changing body classes.

tags/1.30
budparr 7 anni fa
parent
commit
c76a58b3d7
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  1. 13
    0
      README.md

+ 13
- 0
README.md Vedi File

@@ -84,6 +84,19 @@ This theme includes a shortcode for a contact form that you can add to any page
{{< form-contact action="http://formspree.io/your@email.com" >}}
```

### Update font or body classes

The theme is set by default to use a near-white background color and the "Avenir" or serif typeface. You can change these in your config file with the `body_classes` paramter, like this:

```
[params]
body_classes = "avenir bg-near-white"
```

You can find a list of available typefaces [here](https://github.com/tachyons-css/tachyons/blob/v4.7.0/src/_font-family.css).

_n.b. in future versions we will likely separate the typeface and other body classes.


### Nearly finished


Loading…
Annulla
Salva