Skip to content

Commit b39eee0

Browse files
committed
mention CSS transformer in the CSS variables docs
1 parent 508040c commit b39eee0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/setup-css-variables.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Using [postcss-css-variables](https://github.com/MadLittleMods/postcss-css-variables#readme) you can use most of CSS variables features, including selector cascading with some caveats, because this can only see the CSS, not the potentially dynamic HTML and DOM the CSS is applied to.
44

5+
If you are already using `react-native-css-transformer`, then need to switch to use `react-native-postcss-transformer` (please refer to the setup documentation) and add a PostCSS config with [postcss-css-variables](https://github.com/MadLittleMods/postcss-css-variables#readme) plugin.
6+
57
### Step 1: Setup React Native CSS modules
68

79
- [Setup React Native CSS modules with CSS support](setup-css.md)

0 commit comments

Comments
 (0)