mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
1 line
91 KiB
JavaScript
1 line
91 KiB
JavaScript
|
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["1d191e78"],{"1d191e78":function(a,e,d){"use strict";d.d(e,"__esModule",{value:!0}),d.d(e,"texts",{enumerable:!0,get:function(){return I;}}),d("c2d5e5d4");let I=[{value:"\u672C\u6587\u6863\u5305\u542B\u4E86\u6240\u6709 4.x \u7248\u672C\u4E2D\u7EC4\u4EF6\u76F8\u5173\u7684 less \u53D8\u91CF\u4E0E 5.x \u7248\u672C\u7684 Component Token \u7684\u5BF9\u7167\u5173\u7CFB\u3002\u5982\u679C\u4F60\u662F\u4ECE 4.x \u7248\u672C\u5347\u7EA7\u5230 5.x \u7248\u672C\uFF0C\u53EF\u4EE5\u901A\u8FC7\u8FD9\u4EFD\u5BF9\u7167\u8868\u5FEB\u901F\u627E\u5230\u5BF9\u5E94\u7684 Component Token\u3002",paraId:0},{value:"\u4ECD\u6709\u90E8\u5206\u53D8\u91CF\u6CA1\u6709\u5BF9\u5E94\u7684 Component Token\uFF0C\u8FD9\u4E9B\u53D8\u91CF\u5728 5.x \u7248\u672C\u4E2D\u5DF2\u88AB\u5E9F\u5F03\u3002",paraId:1},{value:"\u901A\u8FC7 ConfigProvider \u7684 ",paraId:2,tocIndex:0},{value:"theme",paraId:2,tocIndex:0},{value:" \u5C5E\u6027\uFF0C\u6211\u4EEC\u53EF\u4EE5\u5BF9\u6BCF\u4E00\u4E2A\u7EC4\u4EF6\u5355\u72EC\u914D\u7F6E\u5168\u5C40 Token \u548C\u7EC4\u4EF6 Token",paraId:2,tocIndex:0},{value:"import React from 'react';\nimport { Checkbox, ConfigProvider, Radio } from 'antd';\n\nconst App: React.FC = () => (\n <ConfigProvider\n theme={{\n components: {\n Radio: {\n colorPrimary: '#00b96b',\n },\n Checkbox: {\n colorPrimary: '#ff4d4f',\n },\n },\n }}\n >\n <Radio>Radio</Radio>\n <Checkbox>Checkbox</Checkbox>\n </ConfigProvider>\n);\n\nexport default App;\n",paraId:3,tocIndex:0},{value:"Less \u53D8\u91CF",paraId:4,tocIndex:2},{value:"Component Token",paraId:4,tocIndex:2},{value:"\u5907\u6CE8",paraId:4,tocIndex:2},{value:"@alert-success-border-color",paraId:4,tocIndex:2},{value:"colorSuccessBorder",paraId:4,tocIndex:2},{value:"\u5168\u5C40 token",paraId:4,tocIndex:2},{value:"@alert-success-bg-color",paraId:4,tocIndex:2},{value:"colorSuccessBg",paraId:4,tocIndex:2},{value:"\u5168\u5C40 token",paraId:4,tocIndex:2},{value:"@alert-success-icon-color",paraId:4,tocIndex:2},{value:"colorSuccess",paraId:4,tocIndex:2},{value:"\u5168\u5C40 token",paraId:4,tocIndex:2},{value:"@alert-info-border-color",paraId:4,tocIndex:2},{value:"colorInfoBorder",paraId:4,tocIndex:2},{value:"\u5168\u5C40 token",paraId:4,tocIndex:2},{value:"@alert-info-bg-color",paraId:4,tocIndex:2},{value:"colorInfoBg",paraId:4,tocIndex:2},{value:"\u5168\u5C40 token",paraId:4,tocIndex:2},{value:"@alert-info-icon-color",paraId:4,tocIndex:2},{value:"colorInfo",paraId:4,tocIndex:2},{value:"\u5168\u5C40 token",paraId:4,tocIndex:2},{value:"@alert-warning-border-color",paraId:4,tocIndex:2},{value:"colorWarningBorder",paraId:4,tocIndex:2},{value:"\u5168\u5C40 token",paraId:4,tocIndex:2},{value:"@alert-warning-bg-color",paraId:4,tocIndex:2},{value:"colorWarningBg",paraId:4,tocIndex:2},{value:"\u5168\u5C40 token",paraId:4,tocIndex:2},{value:"@alert-warning-icon-color",paraId:4,tocIndex:2},{value:"colorWarning",paraId:4,tocIndex:2},{value:"\u5168\u5C40 token",paraId:4,tocIndex:2},{value:"@alert-error-border-color",paraId:4,tocIndex:2},{value:"colorErrorBorder",paraId:4,tocIndex:2},{value:"\u5168\u5C40 token",paraId:4,tocIndex:2},{value:"@alert-error-bg-color",paraId:4,tocIndex:2},{value:"colorErrorBg",paraId:4,tocIndex:2},{value:"\u5168\u5C40 token",paraId:4,tocIndex:2},{value:"@alert-error-icon-color",paraId:4,tocIndex:2},{value:"colorError",paraId:4,tocIndex:2},{value:"\u5168\u5C40 token",paraId:4,tocIndex:2},{value:"@alert-message-color",paraId:4,tocIndex:2},{value:"colorTextHeading",paraId:4,tocIndex:2},{value:"\u5168\u5C40 token",paraId:4,tocIndex:2},{value:"@alert-text-color",paraId:4,tocIndex:2},{value:"colorText",paraId:4,tocIndex:2},{value:"\u5168\u5C40 Token",paraId:4,tocIndex:2},{value:"@alert-close-color",paraId:4,tocIndex:2},{value:"colorIcon",paraId:4,tocIndex:2},{value:"\u5168\u5C40 token",paraId:4,tocIndex:2},{value:"@alert-close-hover-color",paraId:4,tocIndex:2},{value:"colorIconHover",paraId:4,
|