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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. // src/theme.js
  2. import { DefaultTheme, MD3DarkTheme } from 'react-native-paper';
  3. export const lightTheme = {
  4. ...DefaultTheme,
  5. colors: {
  6. primary: "#DD9C47",
  7. onPrimary: "#FFF",
  8. secondary: "#396868",
  9. onSecondary: "#FFF",
  10. error: "#BF645B",
  11. background: "#FEFCF9",
  12. onBackground: "#000000",
  13. outline: "rgb(130, 117, 104)",
  14. outlineVariant: "rgb(212, 196, 181)",
  15. shadow: "rgb(0, 0, 0)",
  16. scrim: "rgb(0, 0, 0)",
  17. inverseSurface: "rgb(53, 47, 42)",
  18. inverseOnSurface: "rgb(249, 239, 231)",
  19. inversePrimary: "rgb(255, 185, 95)",
  20. elevation: {
  21. level0: "transparent",
  22. level1: "rgb(249, 243, 242)",
  23. level2: "rgb(245, 238, 235)",
  24. level3: "rgb(242, 233, 227)",
  25. level4: "rgb(240, 231, 224)",
  26. level5: "rgb(238, 228, 219)"
  27. },
  28. },
  29. button: {
  30. alignSelf: 'flex-start',
  31. paddingHorizontal: 15,
  32. borderRadius: 100,
  33. paddingVertical: 5,
  34. minWidth: 'auto'
  35. }
  36. };
  37. export const darkTheme = {
  38. ...MD3DarkTheme,
  39. colors: {
  40. primary: "rgb(255, 185, 95)",
  41. onPrimary: "rgb(71, 42, 0)",
  42. primaryContainer: "rgb(101, 62, 0)",
  43. onPrimaryContainer: "rgb(255, 221, 184)",
  44. secondary: "rgb(76, 218, 218)",
  45. onSecondary: "rgb(0, 55, 55)",
  46. secondaryContainer: "rgb(0, 79, 79)",
  47. onSecondaryContainer: "rgb(111, 247, 246)",
  48. tertiary: "rgb(79, 216, 235)",
  49. onTertiary: "rgb(0, 54, 61)",
  50. tertiaryContainer: "rgb(0, 79, 88)",
  51. onTertiaryContainer: "rgb(151, 240, 255)",
  52. error: "rgb(255, 180, 171)",
  53. onError: "rgb(105, 0, 5)",
  54. errorContainer: "rgb(147, 0, 10)",
  55. onErrorContainer: "rgb(255, 180, 171)",
  56. background: "rgb(31, 27, 22)",
  57. onBackground: "rgb(235, 225, 217)",
  58. surface: "rgb(31, 27, 22)",
  59. onSurface: "rgb(235, 225, 217)",
  60. surfaceVariant: "rgb(80, 69, 57)",
  61. onSurfaceVariant: "rgb(212, 196, 181)",
  62. outline: "rgb(156, 142, 128)",
  63. outlineVariant: "rgb(80, 69, 57)",
  64. shadow: "rgb(0, 0, 0)",
  65. scrim: "rgb(0, 0, 0)",
  66. inverseSurface: "rgb(235, 225, 217)",
  67. inverseOnSurface: "rgb(53, 47, 42)",
  68. inversePrimary: "rgb(133, 83, 0)",
  69. elevation: {
  70. level0: "transparent",
  71. level1: "rgb(42, 35, 26)",
  72. level2: "rgb(49, 40, 28)",
  73. level3: "rgb(56, 44, 30)",
  74. level4: "rgb(58, 46, 31)",
  75. level5: "rgb(62, 49, 32)"
  76. },
  77. surfaceDisabled: "rgba(235, 225, 217, 0.12)",
  78. onSurfaceDisabled: "rgba(235, 225, 217, 0.38)",
  79. backdrop: "rgba(56, 47, 36, 0.4)",
  80. errorCustom: "rgb(255, 180, 171)",
  81. onErrorCustom: "rgb(95, 20, 17)",
  82. errorCustomContainer: "rgb(125, 43, 37)",
  83. onErrorCustomContainer: "rgb(255, 218, 214)"
  84. }
  85. };
  86. console.log(DefaultTheme)