const colorTransparent = 'transparent'; const colorWhite = '#FFFFFF'; const colorBlack = '#000000'; const colorBrand11 = '#EEF3f9'; const colorBrand16 = '#5584FF'; const colorBrand19 = '#3E71F7'; const colorLine11 = '#E6E7EB'; const colorLine12 = '#DCDEE3'; const colorLine13 = '#C4C6CF'; const colorFill11 = '#F7F8FA'; const colorFill12 = '#F2F3F7'; const colorFill13 = '#EBECF0'; const colorText11 = '#CCCCCC'; const colorText12 = '#999999'; const colorText13 = '#666666'; const colorText14 = '#333333'; const colorWarning1 = '#FFF3E0'; const colorWarning2 = '#FF9800'; const colorWarning3 = '#EB7E10'; const colorError1 = '#FFECE4'; const colorError2 = '#FF3000'; const colorError3 = '#E72B00'; const colorSuccess1 = '#E4FDDA'; const colorSuccess2 = '#46BC15'; const colorSuccess3 = '#41A716'; const colorNotice1 = '#E3F2FD'; const colorNotice2 = '#4494F9'; const colorNotice3 = '#2E7DE0'; const colorHelp1 = '#E3FFF8'; const colorHelp2 = '#01C1B2'; const colorHelp3 = '#01A79A'; const colorLink1 = '#5584FF'; const colorLink2 = '#5584FF'; const colorLink3 = '#3E71F7'; /** * 颜色 * @namespace component * @property module color * @property category style */ const colorMap = { /** * transparent * @property group default * @property semantic 透明 * @property export */ 'color-transparent': colorTransparent, /** * white * @property group default * @property semantic 纯白 * @property export */ 'color-white': colorWhite, /** * black * @property group default * @property semantic 纯黑 * @property export */ 'color-black': colorBlack, /** * brand1-1 * @property group brand * @property semantic 浅 * @property export */ 'color-brand1-1': colorBrand11, /** * brand1-6 * @property group brand * @property semantic 常规 * @property export */ 'color-brand1-6': colorBrand16, /** * brand1-9 * @property group brand * @property semantic 深 * @property export */ 'color-brand1-9': colorBrand19, /** * line1-1 * @property group neutural * @property semantic 浅 * @property export */ 'color-line1-1': colorLine11, /** * line1-2 * @property group neutural * @property semantic 常规 * @property export */ 'color-line1-2': colorLine12, /** * line1-3 * @property group neutural * @property semantic 深 * @property export */ 'color-line1-3': colorLine13, /** * fill1-1 * @property group neutural * @property semantic 浅 * @property export */ 'color-fill1-1': colorFill11, /** * fill1-2 * @property group neutural * @property semantic 常规 * @property export */ 'color-fill1-2': colorFill12, /** * fill1-3 * @property group neutural * @property semantic 深 * @property export */ 'color-fill1-3': colorFill13, /** * text1-1 * @property group neutural * @property semantic 禁用/水印 * @property export */ 'color-text1-1': colorText11, /** * text1-2 * @property group neutural * @property semantic 脚注 * @property export */ 'color-text1-2': colorText12, /** * text1-3 * @property group neutural * @property semantic 正文 * @property export */ 'color-text1-3': colorText13, /** * text1-4 * @property group neutural * @property semantic 标题 * @property export */ 'color-text1-4': colorText14, /** * success-1 * @property group function * @property semantic 浅 * @property export */ 'color-success-1': colorSuccess1, /** * success-2 * @property group function * @property semantic 常规 * @property export */ 'color-success-2': colorSuccess2, /** * success-3 * @property group function * @property semantic 深 * @property export */ 'color-success-3': colorSuccess3, /** * notice-1 * @property group function * @property semantic 浅 * @property export */ 'color-notice-1': colorNotice1, /** * notice-2 * @property group function * @property semantic 常规 * @property export */ 'color-notice-2': colorNotice2, /** * notice-3 * @property group function * @property semantic 深 * @property export */ 'color-notice-3': colorNotice3, /** * warning-1 * @property group function * @property semantic 浅 * @property export */ 'color-warning-1': colorWarning1, /** * warning-2 * @property group function * @property semantic 常规 * @property export */ 'color-warning-2': colorWarning2, /** * warning-3 * @property group function * @property semantic 深 * @property export */ 'color-warning-3': colorWarning3, /** * error-1 * @property group function * @property semantic 浅 * @property export */ 'color-error-1': colorError1, /** * error-2 * @property group function * @property semantic 常规 * @property export */ 'color-error-2': colorError2, /** * error-3 * @property group function * @property semantic 深 * @property export */ 'color-error-3': colorError3, /** * help-1 * @property group function * @property semantic 浅 * @property export */ 'color-help-1': colorHelp1, /** * error-2 * @property group function * @property semantic 常规 * @property export */ 'color-help-2': colorHelp2, /** * error-3 * @property group function * @property semantic 深 * @property export */ 'color-help-3': colorHelp3, /** * link-1 * @property group function * @property semantic 默认 * @property export */ 'color-link-1': colorLink1, /** * link-2 * @property group function * @property semantic 已访问 * @property export */ 'color-link-2': colorLink2, /** * link-3 * @property group function * @property semantic 激活 * @property export */ 'color-link-3': colorLink3, }; export default colorMap;