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
Copy file name to clipboardExpand all lines: README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -404,13 +404,43 @@ Variables are used to make different UI parts look the same. Their default value
404
404
Apart from these, there are <aname="stylesComplexStyles"></a>styles that depend on [variables](#stylesVariables). That's why `create()` needs to be called: these styles are created during its invocation. They are described below:
405
405
406
406
- navigator
407
+
408
+
To be used for a [`Navigator`](http://facebook.github.io/react-native/releases/0.43/docs/navigator.html). Though it's deprecated long ago, I find this component useful when no navigation UI is needed.
409
+
410
+
This style sets the navigator background color equal to `backgroundColor`.
411
+
407
412
- navigatorWithPadding
413
+
414
+
The same as `navigator` but with padding equal to `marginPadding`.
415
+
408
416
- scene
417
+
418
+
A style for scenes just making them fullscreen.
419
+
409
420
- sceneWithMargin
421
+
422
+
The same as `scene` but with margins set to `marginPadding`.
423
+
410
424
- button
425
+
426
+
A style for [`Button`](https://npmjs.com/packages/react-native-common-ui-components#button).
427
+
411
428
- toggleButtons
429
+
430
+
A style for [`ToggleButtons`](https://npmjs.com/packages/react-native-common-ui-components#togglebuttons).
431
+
412
432
- listView
413
433
434
+
A style for [`ListViewHelper`](#listviewhelper) and list view items.
435
+
436
+
- $itemHeight
437
+
438
+
A list view item height.
439
+
440
+
- separatorStyle
441
+
442
+
A style for list view item separators.
443
+
414
444
#### 4. <aname="stylesFont"></a>Font sizes.
415
445
416
446
Font sizes are calculated as `baseFontSize + numberOfSteps * step`. `font` contains all the values and `fontSize()` is a function to calculate the font size: `fontSize(someInteger);`.
0 commit comments