theme.js 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. export const theme = {
  2. common: {
  3. border: '1px solid #ddd',
  4. backgroundColor: 'white',
  5. holiday: { color: '#f54f3d' },
  6. saturday: { color: '#135de6' },
  7. dayName: { color: '#333' },
  8. today: { color: '#009688' },
  9. gridSelection: {
  10. backgroundColor: 'rgba(19, 93, 230, 0.1)',
  11. border: '1px solid #135de6',
  12. },
  13. },
  14. month: {
  15. dayName: {
  16. borderLeft: 'none',
  17. backgroundColor: 'inherit',
  18. },
  19. holidayExceptThisMonth: { color: '#f3acac' },
  20. dayExceptThisMonth: { color: '#bbb' },
  21. weekend: { backgroundColor: '#fafafa' },
  22. moreView: {
  23. boxShadow: 'none',
  24. },
  25. moreViewTitle: {
  26. backgroundColor: '#f4f4f4',
  27. },
  28. },
  29. week: {
  30. dayName: {
  31. borderTop: '1px solid #ddd',
  32. borderBottom: '1px solid #ddd',
  33. borderLeft: '1px solid #ddd',
  34. backgroundColor: 'inherit',
  35. },
  36. today: {
  37. color: '#009688',
  38. backgroundColor: 'inherit',
  39. },
  40. pastDay: { color: '#999' },
  41. panelResizer: { border: '1px solid #ddd' },
  42. dayGrid: { borderRight: '1px solid #ddd' },
  43. dayGridLeft: {
  44. width: '100px',
  45. backgroundColor: '',
  46. borderRight: '1px solid #ddd',
  47. },
  48. weekend: { backgroundColor: 'inherit' },
  49. timeGridLeft: {
  50. width: '100px',
  51. backgroundColor: '#fafafa',
  52. borderRight: '1px solid #ddd',
  53. },
  54. timeGridLeftAdditionalTimezone: { backgroundColor: '#fdfdfd' },
  55. timeGridHourLine: { borderBottom: '1px solid #eee' },
  56. timeGridHalfHourLine: { borderBottom: '1px dotted #f9f9f9' },
  57. timeGrid: { borderRight: '1px solid #ddd' },
  58. nowIndicatorLabel: { color: '#135de6' },
  59. nowIndicatorPast: { border: '1px solid rgba(19, 93, 230, 0.3)' },
  60. nowIndicatorBullet: { backgroundColor: '#135de6' },
  61. nowIndicatorToday: { border: '1px solid #135de6' },
  62. nowIndicatorFuture: { border: '1px solid #135de6' },
  63. pastTime: { color: '#999' },
  64. futureTime: { color: '#333' },
  65. gridSelection: { color: '#135de6' },
  66. },
  67. };