Skip to content

Commit 1374f5e

Browse files
committed
add note to the readme
1 parent 6eb06cf commit 1374f5e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,21 @@ Transformation examples:
2828
```
2929
<!-- prettier-ignore-end -->
3030

31+
## Pure Mode
32+
33+
In pure mode, all selectors must contain at least one local class or id
34+
selector
35+
36+
To ignore this rule for a specific selector, add the following comment in front
37+
of the selector:
38+
39+
```css
40+
/* cssmodules-pure-ignore */
41+
:global(#modal-backdrop) {
42+
...;
43+
}
44+
```
45+
3146
## Building
3247

3348
```bash

0 commit comments

Comments
 (0)