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

constants.js 921B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // @flow
  2. /**
  3. * An object containing all the class names for common CSS.
  4. * Add a new name here and the styles to {@code commonStyles} object.
  5. *
  6. */
  7. export const commonClassName = {
  8. emptyList: 'empty-list'
  9. };
  10. /**
  11. * An object containing the declaration of the common, reusable CSS classes.
  12. */
  13. export const commonStyles = {
  14. // '.empty-list'
  15. [commonClassName.emptyList]: {
  16. listStyleType: 'none',
  17. margin: 0,
  18. padding: 0
  19. }
  20. };
  21. /**
  22. * Returns the global styles.
  23. *
  24. * @param {Object} theme - The Jitsi theme.
  25. * @returns {Object}
  26. */
  27. export const getGlobalStyles = (theme: Object) => {
  28. return {
  29. // @atlaskit/modal-dialog OVERRIDES
  30. '.atlaskit-portal div[role=dialog]': {
  31. // override dialog background
  32. '& > div': {
  33. background: theme.palette.ui02,
  34. color: theme.palette.text01
  35. }
  36. }
  37. };
  38. };