/src/styles/textStyles.js

https://bitbucket.org/LorenK/sdconnect · JavaScript · 60 lines · 59 code · 1 blank · 0 comment · 0 complexity · 6183d010b8ff6e4fb072ae5d02ba9cde MD5 · raw file

  1. import { StyleSheet } from 'react-native'
  2. import fonts from '../constants/fonts'
  3. export default StyleSheet.create({
  4. h1: {
  5. fontFamily: fonts.georgia,
  6. fontSize: 42
  7. },
  8. h1b: {
  9. fontFamily: fonts.georgiaBold,
  10. fontSize: 42
  11. },
  12. scheduleHead: {
  13. fontFamily: fonts.arialBold,
  14. fontSize: 32
  15. },
  16. scheduleSubhead: {
  17. fontFamily: fonts.arial,
  18. fontSize: 20
  19. },
  20. h2: {
  21. fontFamily: fonts.arial,
  22. fontSize: 16
  23. },
  24. h2b: {
  25. fontFamily: fonts.arialBold,
  26. fontSize: 16
  27. },
  28. p: {
  29. fontFamily: fonts.arial
  30. },
  31. pb: {
  32. fontFamily: fonts.arialBold
  33. },
  34. sm: {
  35. fontFamily: fonts.arial,
  36. fontSize: 12
  37. },
  38. smb: {
  39. fontFamily: fonts.arialBold,
  40. fontSize: 12
  41. },
  42. xsmi: {
  43. fontFamily: fonts.arialItalic,
  44. fontSize: 10
  45. },
  46. input: {
  47. fontFamily: fonts.arial,
  48. fontSize: 16,
  49. },
  50. button: {
  51. fontFamily: fonts.arialBold,
  52. fontSize: 12
  53. },
  54. error: {
  55. fontFamily: fonts.arial,
  56. fontSize: 10,
  57. color: "#FB2626" // Consts?
  58. }
  59. })