@@ -81,11 +81,11 @@ exports.default = config;
81
81
```
82
82
83
83
| Option | Value | Description |
84
- | :---------------------: | ----------------------------- | ----------------------------------------------------------------------------------------------------------- |
84
+ | :-----------------------: | ------------------------------- | ------------------------------------------------------------------------------------------------------------- |
85
85
| ` except ` (optional) | CSS selector | to exclude some elements under .twp from being preflighted, like external markup |
86
86
| ` rootStyles ` (optional) | ` move to container ` (default) | moves the root styles to the container styles (by simply replacing the selector) |
87
87
| | ` 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 |
89
89
| ` ignore ` (optional) | array of CSS selectors | Keeps these preflight selectors untouched (skipped by the isolation strategy) |
90
90
91
91
#### 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;
114
114
```
115
115
116
116
| Option | Value | Description |
117
- | :-----------------: | ---------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
117
+ | :-------------------: | ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- |
118
118
| ` 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 |
120
120
| ` ignore ` (optional) | array of CSS selectors | Keeps these preflight selectors untouched (skipped by the isolation strategy) |
121
121
122
122
### 3. Use specified selectors in your DOM
0 commit comments