Styling guide
The native component uses React Native styles. Use style for the outer layout and theme for the content's colors and typography.
Layout
style accepts StyleProp<ViewStyle>: an object, a StyleSheet.create result, or a style array.
Light and dark
Override tokens
Pass a preset name, partial overrides, or [preset, overrides]. Sizes use React Native numeric units. Font names refer to fonts installed or loaded by your app.
Import
Theme,ThemeTokens, andPartialThemeConfigfrom@fluxdown/react-native-plugins/typings.
Override colors, headings, paragraphs, code, radii, or spacing without copying the entire theme.
Use a slot plugin to replace link navigation, code controls, or images. A patch's render callback also returns native components; use Text for content inserted inside a paragraph.
Links open through React Native Linking by default. Use a custom Link slot for in-app routes or footnote navigation so they follow your app's navigation model.