Skip to content

Commit

Permalink
Document styling optouts
Browse files Browse the repository at this point in the history
  • Loading branch information
colepeters committed Mar 26, 2024
1 parent b38f51b commit 793f88a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions app/docs/md/enhance-styles/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ You can choose your naming convention.
Bootstrap-like themes will use generic names such as "primary".
Material-like themes will choose a theme color name i.e. "indigo".

If you’d like to opt out of the styles generated by the `theme` module, you can set this field to `false` in your `styleguide.json`:

```json
{
"theme": false
}
```

<doc-link-callout link="https://github.com/enhance-dev/enhance-styles?tab=readme-ov-file#theme" mark="🎨">
Read more about themes
</doc-link-callout>
Expand Down Expand Up @@ -120,3 +128,11 @@ Material-like themes will choose a theme color name i.e. "indigo".
### `radii`
`radii` is an array of border radii. The defaults are 2, 8, 16, and 9999 ( for use with pill buttons )

### `reset`
Enhance Style ships with a CSS reset by default in order to normalize inconsistencies and provide a blank slate from which to build. If you’d prefer to not have this reset included in the CSS bundle, you can add the following to your `styleguide.json`:

```json
{
"reset": false
}
```

0 comments on commit 793f88a

Please sign in to comment.