seed.js 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.defaultPresetColors = exports.default = void 0;
  6. const defaultPresetColors = exports.defaultPresetColors = {
  7. blue: '#1677FF',
  8. purple: '#722ED1',
  9. cyan: '#13C2C2',
  10. green: '#52C41A',
  11. magenta: '#EB2F96',
  12. /**
  13. * @deprecated Use magenta instead
  14. */
  15. pink: '#EB2F96',
  16. red: '#F5222D',
  17. orange: '#FA8C16',
  18. yellow: '#FADB14',
  19. volcano: '#FA541C',
  20. geekblue: '#2F54EB',
  21. gold: '#FAAD14',
  22. lime: '#A0D911'
  23. };
  24. const seedToken = Object.assign(Object.assign({}, defaultPresetColors), {
  25. // Color
  26. colorPrimary: '#1677ff',
  27. colorSuccess: '#52c41a',
  28. colorWarning: '#faad14',
  29. colorError: '#ff4d4f',
  30. colorInfo: '#1677ff',
  31. colorLink: '',
  32. colorTextBase: '',
  33. colorBgBase: '',
  34. // Font
  35. fontFamily: `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
  36. 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
  37. 'Noto Color Emoji'`,
  38. fontFamilyCode: `'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace`,
  39. fontSize: 14,
  40. // Line
  41. lineWidth: 1,
  42. lineType: 'solid',
  43. // Motion
  44. motionUnit: 0.1,
  45. motionBase: 0,
  46. motionEaseOutCirc: 'cubic-bezier(0.08, 0.82, 0.17, 1)',
  47. motionEaseInOutCirc: 'cubic-bezier(0.78, 0.14, 0.15, 0.86)',
  48. motionEaseOut: 'cubic-bezier(0.215, 0.61, 0.355, 1)',
  49. motionEaseInOut: 'cubic-bezier(0.645, 0.045, 0.355, 1)',
  50. motionEaseOutBack: 'cubic-bezier(0.12, 0.4, 0.29, 1.46)',
  51. motionEaseInBack: 'cubic-bezier(0.71, -0.46, 0.88, 0.6)',
  52. motionEaseInQuint: 'cubic-bezier(0.755, 0.05, 0.855, 0.06)',
  53. motionEaseOutQuint: 'cubic-bezier(0.23, 1, 0.32, 1)',
  54. // Radius
  55. borderRadius: 6,
  56. // Size
  57. sizeUnit: 4,
  58. sizeStep: 4,
  59. sizePopupArrow: 16,
  60. // Control Base
  61. controlHeight: 32,
  62. // zIndex
  63. zIndexBase: 0,
  64. zIndexPopupBase: 1000,
  65. // Image
  66. opacityImage: 1,
  67. // Wireframe
  68. wireframe: false,
  69. // Motion
  70. motion: true
  71. });
  72. var _default = exports.default = seedToken;