seed.js 1.9 KB

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