Skip to content

Commit 7dd5c27

Browse files
committed
fix: the remove option description is a bit cleaner
1 parent aa21da3 commit 7dd5c27

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ exports.default = config;
8181
```
8282

8383
| Option | Value | Description |
84-
| :---------------------: | ----------------------------- | ----------------------------------------------------------------------------------------------------------- |
84+
|:-----------------------:|-------------------------------|-------------------------------------------------------------------------------------------------------------|
8585
| `except` (optional) | CSS selector | to exclude some elements under .twp from being preflighted, like external markup |
8686
| `rootStyles` (optional) | `move to container` (default) | moves the root styles to the container styles (by simply replacing the selector) |
8787
| | `add :where` | adds ` :where` to the root selector so styles are still in roots, but only matching items would be affected |
88-
| `remove` (optional) | array of CSS selectors | Removes preflight styles |
88+
| `remove` (optional) | array of CSS selectors | Removes specified (with CSS selectors) preflight styles |
8989
| `ignore` (optional) | array of CSS selectors | Keeps these preflight selectors untouched (skipped by the isolation strategy) |
9090

9191
#### 2.2 Case: you want Tailwind preflight styles to be everywhere except some root container(s) that may collide.
@@ -114,9 +114,9 @@ exports.default = config;
114114
```
115115

116116
| Option | Value | Description |
117-
| :-----------------: | ---------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
117+
|:-------------------:|------------------------|-----------------------------------------------------------------------------------------------------------------------------------|
118118
| `plus` (optional) | CSS selector | if you have your Tailwind components under .no-twp, you need them to be preflighted. Specify their root selector with this option |
119-
| `remove` (optional) | array of CSS selectors | Removes preflight styles |
119+
| `remove` (optional) | array of CSS selectors | Removes specified (with CSS selectors) preflight styles |
120120
| `ignore` (optional) | array of CSS selectors | Keeps these preflight selectors untouched (skipped by the isolation strategy) |
121121

122122
### 3. Use specified selectors in your DOM

0 commit comments

Comments
 (0)