Skip to content

Commit 6a49229

Browse files
authored
Update colors.md
1 parent 77c9113 commit 6a49229

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/foundation/colors.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,12 @@ Colors.loadSchemes({
5757
</Text>
5858
</View>
5959
```
60-
60+
61+
**Note:** for dark mode support please add the following `require` in your app, in an initial place, before importing `react-native-ui-lib` at the first time.
62+
```
63+
require('react-native-ui-lib/config').setConfig({appScheme: 'default'});
64+
```
65+
6166
### rgba
6267
usage:
6368
```js

0 commit comments

Comments
 (0)