seed.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. import _extends from "@babel/runtime/helpers/esm/extends";
  2. export const defaultPresetColors = {
  3. blue: '#1677ff',
  4. purple: '#722ED1',
  5. cyan: '#13C2C2',
  6. green: '#52C41A',
  7. magenta: '#EB2F96',
  8. pink: '#eb2f96',
  9. red: '#F5222D',
  10. orange: '#FA8C16',
  11. yellow: '#FADB14',
  12. volcano: '#FA541C',
  13. geekblue: '#2F54EB',
  14. gold: '#FAAD14',
  15. lime: '#A0D911'
  16. };
  17. const seedToken = _extends(_extends({}, defaultPresetColors), {
  18. // Color
  19. colorPrimary: '#1677ff',
  20. colorSuccess: '#52c41a',
  21. colorWarning: '#faad14',
  22. colorError: '#ff4d4f',
  23. colorInfo: '#1677ff',
  24. colorTextBase: '',
  25. colorBgBase: '',
  26. // Font
  27. fontFamily: `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
  28. 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
  29. 'Noto Color Emoji'`,
  30. fontSize: 14,
  31. // Line
  32. lineWidth: 1,
  33. lineType: 'solid',
  34. // Motion
  35. motionUnit: 0.1,
  36. motionBase: 0,
  37. motionEaseOutCirc: 'cubic-bezier(0.08, 0.82, 0.17, 1)',
  38. motionEaseInOutCirc: 'cubic-bezier(0.78, 0.14, 0.15, 0.86)',
  39. motionEaseOut: 'cubic-bezier(0.215, 0.61, 0.355, 1)',
  40. motionEaseInOut: 'cubic-bezier(0.645, 0.045, 0.355, 1)',
  41. motionEaseOutBack: 'cubic-bezier(0.12, 0.4, 0.29, 1.46)',
  42. motionEaseInBack: 'cubic-bezier(0.71, -0.46, 0.88, 0.6)',
  43. motionEaseInQuint: 'cubic-bezier(0.755, 0.05, 0.855, 0.06)',
  44. motionEaseOutQuint: 'cubic-bezier(0.23, 1, 0.32, 1)',
  45. // Radius
  46. borderRadius: 6,
  47. // Size
  48. sizeUnit: 4,
  49. sizeStep: 4,
  50. sizePopupArrow: 16,
  51. // Control Base
  52. controlHeight: 32,
  53. // zIndex
  54. zIndexBase: 0,
  55. zIndexPopupBase: 1000,
  56. // Image
  57. opacityImage: 1,
  58. // Wireframe
  59. wireframe: false
  60. });
  61. export default seedToken;