alias.d.ts 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. import type { CSSProperties } from 'vue';
  2. import type { MapToken } from './maps';
  3. export interface AliasToken extends MapToken {
  4. colorFillContentHover: string;
  5. colorFillAlter: string;
  6. colorFillContent: string;
  7. colorBgContainerDisabled: string;
  8. colorBgTextHover: string;
  9. colorBgTextActive: string;
  10. colorBorderBg: string;
  11. /**
  12. * @nameZH 分割线颜色
  13. * @desc 用于作为分割线的颜色,此颜色和 colorBorderSecondary 的颜色一致,但是用的是透明色。
  14. */
  15. colorSplit: string;
  16. colorTextPlaceholder: string;
  17. colorTextDisabled: string;
  18. colorTextHeading: string;
  19. colorTextLabel: string;
  20. colorTextDescription: string;
  21. colorTextLightSolid: string;
  22. /** Weak action. Such as `allowClear` or Alert close button */
  23. colorIcon: string;
  24. /** Weak action hover color. Such as `allowClear` or Alert close button */
  25. colorIconHover: string;
  26. colorLink: string;
  27. colorLinkHover: string;
  28. colorLinkActive: string;
  29. colorHighlight: string;
  30. controlOutline: string;
  31. colorWarningOutline: string;
  32. colorErrorOutline: string;
  33. /** Operation icon in Select, Cascader, etc. icon fontSize. Normal is same as fontSizeSM */
  34. fontSizeIcon: number;
  35. /** For heading like h1, h2, h3 or option selected item */
  36. fontWeightStrong: number;
  37. controlOutlineWidth: number;
  38. controlItemBgHover: string;
  39. controlItemBgActive: string;
  40. controlItemBgActiveHover: string;
  41. controlInteractiveSize: number;
  42. controlItemBgActiveDisabled: string;
  43. paddingXXS: number;
  44. paddingXS: number;
  45. paddingSM: number;
  46. padding: number;
  47. paddingMD: number;
  48. paddingLG: number;
  49. paddingXL: number;
  50. paddingContentHorizontalLG: number;
  51. paddingContentHorizontal: number;
  52. paddingContentHorizontalSM: number;
  53. paddingContentVerticalLG: number;
  54. paddingContentVertical: number;
  55. paddingContentVerticalSM: number;
  56. marginXXS: number;
  57. marginXS: number;
  58. marginSM: number;
  59. margin: number;
  60. marginMD: number;
  61. marginLG: number;
  62. marginXL: number;
  63. marginXXL: number;
  64. opacityLoading: number;
  65. boxShadow: string;
  66. boxShadowSecondary: string;
  67. boxShadowTertiary: string;
  68. linkDecoration: CSSProperties['textDecoration'];
  69. linkHoverDecoration: CSSProperties['textDecoration'];
  70. linkFocusDecoration: CSSProperties['textDecoration'];
  71. controlPaddingHorizontal: number;
  72. controlPaddingHorizontalSM: number;
  73. screenXS: number;
  74. screenXSMin: number;
  75. screenXSMax: number;
  76. screenSM: number;
  77. screenSMMin: number;
  78. screenSMMax: number;
  79. screenMD: number;
  80. screenMDMin: number;
  81. screenMDMax: number;
  82. screenLG: number;
  83. screenLGMin: number;
  84. screenLGMax: number;
  85. screenXL: number;
  86. screenXLMin: number;
  87. screenXLMax: number;
  88. screenXXL: number;
  89. screenXXLMin: number;
  90. screenXXLMax: number;
  91. screenXXXL: number;
  92. screenXXXLMin: number;
  93. /** Used for DefaultButton, Switch which has default outline */
  94. controlTmpOutline: string;
  95. }