1
0

theme.ts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /**
  2. * Below are the colors that are used in the app. The colors are defined in the light and dark mode.
  3. */
  4. import { Platform } from 'react-native';
  5. const tintColorLight = '#0a7ea4';
  6. const tintColorDark = '#fff';
  7. export const Colors = {
  8. light: {
  9. text: '#11181C',
  10. background: '#fff',
  11. tint: tintColorLight,
  12. icon: '#687076',
  13. iconDisabled: '#ccc',
  14. tabIconDefault: '#687076',
  15. tabIconSselected: tintColorLight,
  16. border: "#ddd",
  17. },
  18. dark: {
  19. text: '#ECEDEE',
  20. background: '#1f2837',
  21. tint: tintColorDark,
  22. icon: '#9BA1A6',
  23. iconDisabled: '#333',
  24. tabIconDefault: '#9BA1A6',
  25. tabIconSelected: tintColorDark,
  26. border: "#36404e",
  27. },
  28. };
  29. export const Fonts = Platform.select({
  30. ios: {
  31. /** iOS `UIFontDescriptorSystemDesignDefault` */
  32. sans: 'system-ui',
  33. /** iOS `UIFontDescriptorSystemDesignSerif` */
  34. serif: 'ui-serif',
  35. /** iOS `UIFontDescriptorSystemDesignRounded` */
  36. rounded: 'ui-rounded',
  37. /** iOS `UIFontDescriptorSystemDesignMonospaced` */
  38. mono: 'ui-monospace',
  39. },
  40. default: {
  41. sans: 'normal',
  42. serif: 'serif',
  43. rounded: 'normal',
  44. mono: 'monospace',
  45. }
  46. });