Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import { BoxModel, ColorPalette, createStyleSheet } from '../../base/styles';
  2. /**
  3. * The style common to {@code LoginDialog} and {@code WaitForOwnerDialog}.
  4. */
  5. const dialog = {
  6. marginBottom: BoxModel.margin,
  7. marginTop: BoxModel.margin
  8. };
  9. /**
  10. * The style common to {@code Text} rendered by {@code LoginDialog} and
  11. * {@code WaitForOwnerDialog}.
  12. */
  13. const text = {
  14. color: ColorPalette.white
  15. };
  16. /**
  17. * The styles of the authentication feature.
  18. */
  19. export default createStyleSheet({
  20. /**
  21. * The style of {@code Text} rendered by the {@code Dialog}s of the
  22. * feature authentication.
  23. */
  24. dialogText: {
  25. ...text,
  26. margin: BoxModel.margin,
  27. marginTop: BoxModel.margin * 2
  28. },
  29. /**
  30. * The style of {@code LoginDialog}.
  31. */
  32. loginDialog: {
  33. ...dialog,
  34. flex: 0,
  35. flexDirection: 'column'
  36. },
  37. /**
  38. * The style of {@code WaitForOwnerDialog}.
  39. */
  40. waitForOwnerDialog: {
  41. ...dialog,
  42. ...text
  43. }
  44. });