This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <style> | |
| .branded { | |
| font-family: Papyrus; | |
| } | |
| </style> | |
| <div class="branded"> | |
| <h1>Yummmy Papyrus</h1> | |
| <div> | |
| <p>Papyralicious</p> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const styles = StyleSheet.create({ | |
| branded: { | |
| fontFamily: 'Papyrus' | |
| } | |
| }); | |
| <View> | |
| <Text style={styles.branded}> | |
| Yummy Papyrus | |
| </Text> | |
| <View> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Text style={styles.branded}> | |
| Yummy Papyrus | |
| <Text style={{fontWeight: bold}}> | |
| Bold, yet still Papyrus | |
| </Text> | |
| </Text> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body { | |
| color: lemonchiffon; | |
| } | |
| input[type=text] { | |
| color: peachpuff; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .subheading { | |
| margin-bottom: 16px; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <p style="color: lemonchiffon;">Blah…</p> | |
| <p style="color: lemonchiffon;">Bleh…</p> | |
| <p style="color: lemonchiffon;">Bluh..?</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* textMixins.js */ | |
| export const errorText = { | |
| fontWeight: "700", | |
| color: "red", | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* formStyles.js */ | |
| import { errorText } from "textMixins"; | |
| export default StyleSheet.create({ | |
| formErrorMessage: { | |
| ...errorText, | |
| fontSize: 22, | |
| }, | |
| fieldErrorMessage: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* HeadingText.js */ | |
| const styles = StyleSheet.create({ | |
| text: { | |
| fontFamily: "UnreadableSans", | |
| fontSize: 24, | |
| fontWeight "500", | |
| }, | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* formStyles.js */ | |
| export default StyleSheet.create({ | |
| textInput: { | |
| padding: 16, | |
| borderColor: "#eee", | |
| borderWidth: StyleSheet.hairlineWidth, | |
| }, | |
| }); |