Skip to content

Commit 793f88a

Browse files
committed
Document styling optouts
1 parent b38f51b commit 793f88a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

app/docs/md/enhance-styles/customization.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,14 @@ You can choose your naming convention.
9393
Bootstrap-like themes will use generic names such as "primary".
9494
Material-like themes will choose a theme color name i.e. "indigo".
9595

96+
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`:
97+
98+
```json
99+
{
100+
"theme": false
101+
}
102+
```
103+
96104
<doc-link-callout link="https://github.com/enhance-dev/enhance-styles?tab=readme-ov-file#theme" mark="🎨">
97105
Read more about themes
98106
</doc-link-callout>
@@ -120,3 +128,11 @@ Material-like themes will choose a theme color name i.e. "indigo".
120128
### `radii`
121129
`radii` is an array of border radii. The defaults are 2, 8, 16, and 9999 ( for use with pill buttons )
122130

131+
### `reset`
132+
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`:
133+
134+
```json
135+
{
136+
"reset": false
137+
}
138+
```

0 commit comments

Comments
 (0)