From c05df5ffd125b1c07ce3a73a31daca3076461f24 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 28 Oct 2016 17:54:22 +0800 Subject: [PATCH] Add some new icons --- components/style/core/iconfont.less | 7 +++++-- components/style/themes/default.less | 2 +- site/theme/template/IconSet/index.jsx | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/components/style/core/iconfont.less b/components/style/core/iconfont.less index b2b9f97465..025dd61f8e 100644 --- a/components/style/core/iconfont.less +++ b/components/style/core/iconfont.less @@ -182,8 +182,10 @@ .@{iconfont-css-prefix}-hdd:before { content: "\e69a"; } .@{iconfont-css-prefix}-ie:before { content: "\e69b"; } .@{iconfont-css-prefix}-file-jpg:before { content: "\e69c"; } -.@{iconfont-css-prefix}-like:before { content: "\e69d"; } -.@{iconfont-css-prefix}-dislike:before { content: "\e69e"; } +.@{iconfont-css-prefix}-like:before { content: "\e64c"; } +.@{iconfont-css-prefix}-like-o:before { content: "\e69d"; } +.@{iconfont-css-prefix}-dislike:before { content: "\e64b"; } +.@{iconfont-css-prefix}-dislike-o:before { content: "\e69e"; } .@{iconfont-css-prefix}-delete:before { content: "\e69f"; } .@{iconfont-css-prefix}-enter:before { content: "\e6a0"; } .@{iconfont-css-prefix}-pushpin-o:before { content: "\e6a1"; } @@ -233,6 +235,7 @@ .@{iconfont-css-prefix}-up-square-o:before { content: "\e6cf"; } .@{iconfont-css-prefix}-loading:before { content: "\e6ae"; } .@{iconfont-css-prefix}-bulb:before { content: "\e649"; } +.@{iconfont-css-prefix}-select:before { content: "\e64a"; } .@{iconfont-css-prefix}-spin { display: inline-block; diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 0bb27ef10f..4d71f1ce4e 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -23,7 +23,7 @@ // ICONFONT @iconfont-css-prefix : anticon; -@icon-url : "https://at.alicdn.com/t/font_1477462705_4547274"; +@icon-url : "https://at.alicdn.com/t/font_pldm8phsjkathuxr"; // LINK @link-color : #2db7f5; diff --git a/site/theme/template/IconSet/index.jsx b/site/theme/template/IconSet/index.jsx index f7e5ac539d..63e0aa56c0 100644 --- a/site/theme/template/IconSet/index.jsx +++ b/site/theme/template/IconSet/index.jsx @@ -10,7 +10,7 @@ export default class IconSet extends React.Component { icons = { direction: ['step-backward', 'step-forward', 'fast-backward', 'fast-forward', 'shrink', 'arrows-alt', 'down', 'up', 'left', 'right', 'caret-up', 'caret-down', 'caret-left', 'caret-right', 'up-circle', 'down-circle', 'left-circle', 'right-circle', 'up-circle-o', 'down-circle-o', 'right-circle-o', 'left-circle-o', 'double-right', 'double-left', 'verticle-left', 'verticle-right', 'forward', 'backward', 'rollback', 'enter', 'retweet', 'swap', 'swap-left', 'swap-right', 'arrow-up', 'arrow-down', 'arrow-left', 'arrow-right', 'play-circle', 'play-circle-o', 'up-square', 'down-square', 'left-square', 'right-square', 'up-square-o', 'down-square-o', 'left-square-o', 'right-square-o'], suggestion: ['question', 'question-circle-o', 'question-circle', 'plus', 'plus-circle-o', 'plus-circle', 'pause', 'pause-circle-o', 'pause-circle', 'minus', 'minus-circle-o', 'minus-circle', 'plus-square', 'plus-square-o', 'minus-square', 'minus-square-o', 'info', 'info-circle-o', 'info-circle', 'exclamation', 'exclamation-circle-o', 'exclamation-circle', 'close', 'close-circle', 'close-circle-o', 'close-square', 'close-square-o', 'check', 'check-circle', 'check-circle-o', 'check-square', 'check-square-o', 'clock-circle-o', 'clock-circle'], - other: ['lock', 'unlock', 'android', 'apple', 'apple-o', 'area-chart', 'pie-chart', 'bar-chart', 'dot-chart', 'bars', 'book', 'calendar', 'cloud', 'cloud-download', 'code', 'code-o', 'copy', 'credit-card', 'delete', 'desktop', 'download', 'edit', 'ellipsis', 'file', 'file-text', 'file-unknown', 'file-pdf', 'file-excel', 'file-jpg', 'file-ppt', 'folder', 'folder-open', 'github', 'hdd', 'frown', 'frown-o', 'meh', 'meh-o', 'smile', 'smile-o', 'inbox', 'laptop', 'appstore-o', 'appstore', 'line-chart', 'link', 'logout', 'mail', 'menu-fold', 'menu-unfold', 'mobile', 'notification', 'paper-clip', 'picture', 'poweroff', 'reload', 'search', 'setting', 'share-alt', 'shopping-cart', 'tablet', 'tag', 'tag-o', 'tags', 'tags-o', 'to-top', 'upload', 'user', 'video-camera', 'windows', 'windows-o', 'ie', 'chrome', 'home', 'loading', 'cloud-upload-o', 'cloud-download-o', 'cloud-upload', 'cloud-o', 'star-o', 'star', 'heart-o', 'heart', 'environment', 'environment-o', 'eye', 'eye-o', 'camera', 'camera-o', 'aliwangwang', 'aliwangwang-o', 'save', 'team', 'solution', 'phone', 'filter', 'exception', 'export', 'customer-service', 'qrcode', 'scan', 'like', 'dislike', 'message', 'pay-circle', 'pay-circle-o', 'calculator', 'pushpin', 'pushpin-o', 'bulb'], + other: ['lock', 'unlock', 'android', 'apple', 'apple-o', 'area-chart', 'pie-chart', 'bar-chart', 'dot-chart', 'bars', 'book', 'calendar', 'cloud', 'cloud-download', 'code', 'code-o', 'copy', 'credit-card', 'delete', 'desktop', 'download', 'edit', 'ellipsis', 'file', 'file-text', 'file-unknown', 'file-pdf', 'file-excel', 'file-jpg', 'file-ppt', 'folder', 'folder-open', 'github', 'hdd', 'frown', 'frown-o', 'meh', 'meh-o', 'smile', 'smile-o', 'inbox', 'laptop', 'appstore-o', 'appstore', 'line-chart', 'link', 'logout', 'mail', 'menu-fold', 'menu-unfold', 'mobile', 'notification', 'paper-clip', 'picture', 'poweroff', 'reload', 'search', 'setting', 'share-alt', 'shopping-cart', 'tablet', 'tag', 'tag-o', 'tags', 'tags-o', 'to-top', 'upload', 'user', 'video-camera', 'windows', 'windows-o', 'ie', 'chrome', 'home', 'loading', 'cloud-upload-o', 'cloud-download-o', 'cloud-upload', 'cloud-o', 'star-o', 'star', 'heart-o', 'heart', 'environment', 'environment-o', 'eye', 'eye-o', 'camera', 'camera-o', 'aliwangwang', 'aliwangwang-o', 'save', 'team', 'solution', 'phone', 'filter', 'exception', 'export', 'customer-service', 'qrcode', 'scan', 'like', 'like-o', 'dislike', 'dislike-o', 'message', 'pay-circle', 'pay-circle-o', 'calculator', 'pushpin', 'pushpin-o', 'bulb', 'select'], }; render() {