You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

styles.js 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // @flow
  2. import { ColorPalette, createStyleSheet } from '../../base/styles';
  3. /**
  4. * For styling explanations, see:
  5. * https://developers.google.com/identity/branding-guidelines
  6. */
  7. const BUTTON_HEIGHT = 40;
  8. /**
  9. * The styles of the React {@code Components} of google-api.
  10. */
  11. export default createStyleSheet({
  12. /**
  13. * Image of the sign in button (Google branded).
  14. */
  15. signInImage: {
  16. flex: 1
  17. },
  18. /**
  19. * An image-based button for sign in.
  20. */
  21. signInButton: {
  22. alignItems: 'center',
  23. height: BUTTON_HEIGHT,
  24. justifyContent: 'center'
  25. },
  26. /**
  27. * A text-based button for sign out (no sign out button guidance for
  28. * Google).
  29. */
  30. signOutButton: {
  31. alignItems: 'center',
  32. borderColor: ColorPalette.lightGrey,
  33. borderRadius: 3,
  34. borderWidth: 1,
  35. height: BUTTON_HEIGHT,
  36. justifyContent: 'center'
  37. },
  38. /**
  39. * Text of the sign out button.
  40. */
  41. signOutButtonText: {
  42. color: ColorPalette.blue,
  43. fontSize: 14,
  44. fontWeight: 'bold'
  45. }
  46. });