You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am confused by the demo example "npx @react-native-reusables/cli@latest init".
It does not seem to use global.css at all (changing global.css colors has no effect !) but globabs.css is imported in _layout.tsx.
However, the doc here in manual installation 6) says one should define colors in global.css.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am confused by the demo example "npx @react-native-reusables/cli@latest init".
It does not seem to use global.css at all (changing global.css colors has no effect !) but globabs.css is imported in _layout.tsx.
However, the doc here in manual installation 6) says one should define colors in global.css.
but this code
use colors defined in lib/constants.
Is it just "npx @react-native-reusables/cli@latest init" that does not use well global.css ? Is it really supported by RNR and if yes, how to use it?
In fact, I am completely lost. I would be great if someone could clarity theming in rnr because the doc is very poor about this subject.
I wish I could use global.css as on the web and as RNR itself explains in its doc (combination of global.css and tailwind.config.js).
Beta Was this translation helpful? Give feedback.
All reactions