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.ts 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. import { BoxModel } from '../../../base/styles/components/styles/BoxModel';
  2. import {
  3. ColorPalette
  4. } from '../../../base/styles/components/styles/ColorPalette';
  5. import BaseTheme from '../../../base/ui/components/BaseTheme.native';
  6. /**
  7. * The styles of the React {@code Component}s of the feature subtitles.
  8. */
  9. export default {
  10. languageItemWrapper: {
  11. alignItems: 'center',
  12. display: 'flex',
  13. flexDirection: 'row'
  14. },
  15. iconWrapper: {
  16. width: 32
  17. },
  18. activeLanguageItemText: {
  19. ...BaseTheme.typography.bodyShortBoldLarge
  20. },
  21. languageItemText: {
  22. ...BaseTheme.typography.bodyShortRegularLarge,
  23. color: BaseTheme.palette.text01,
  24. marginLeft: BaseTheme.spacing[2],
  25. marginVertical: BaseTheme.spacing[2]
  26. },
  27. subtitlesContainer: {
  28. backgroundColor: BaseTheme.palette.ui01,
  29. flex: 1
  30. },
  31. /**
  32. * Style for subtitle paragraph.
  33. */
  34. captionsSubtitles: {
  35. backgroundColor: ColorPalette.black,
  36. borderRadius: BoxModel.margin / 4,
  37. color: ColorPalette.white,
  38. marginBottom: BoxModel.margin,
  39. padding: BoxModel.padding / 2
  40. },
  41. /**
  42. * Style for the subtitles container.
  43. */
  44. captionsSubtitlesContainer: {
  45. alignItems: 'center',
  46. flexDirection: 'column',
  47. flexGrow: 0,
  48. justifyContent: 'flex-end',
  49. margin: BoxModel.margin
  50. },
  51. itemsContainer: {
  52. marginHorizontal: BaseTheme.spacing[4],
  53. marginVertical: BaseTheme.spacing[4]
  54. }
  55. };