您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

styles.ts 807B

123456789101112131415161718192021222324252627282930313233343536373839
  1. import { createStyleSheet } from '../../base/styles/functions.any';
  2. /**
  3. * For styling explanations, see:
  4. * https://developers.google.com/identity/branding-guidelines.
  5. */
  6. const BUTTON_HEIGHT = 40;
  7. /**
  8. * The styles of the React {@code Components} of google-api.
  9. */
  10. export default createStyleSheet({
  11. /**
  12. * Image of the sign in button (Google branded).
  13. */
  14. signInImage: {
  15. flex: 1
  16. },
  17. /**
  18. * An image-based button for sign in.
  19. */
  20. signInButton: {
  21. alignItems: 'center',
  22. height: BUTTON_HEIGHT,
  23. justifyContent: 'center'
  24. },
  25. /**
  26. * A text-based button for sign out (no sign out button guidance for
  27. * Google).
  28. */
  29. signOutButton: {
  30. alignSelf: 'center',
  31. maxWidth: 120,
  32. width: 'auto'
  33. }
  34. });