Bläddra i källkod

chore(icons): 更新 iconfont

wangcong 2 månader sedan
förälder
incheckning
5d685b5874

+ 14 - 13
src/icons/fonts/iconfont.css

@@ -74,16 +74,17 @@
 .svg-icon-question-circle:before { content: "\ea39"; }
 .svg-icon-question:before { content: "\ea3a"; }
 .svg-icon-refresh-o:before { content: "\ea3b"; }
-.svg-icon-right-circle-o:before { content: "\ea3c"; }
-.svg-icon-right-circle:before { content: "\ea3d"; }
-.svg-icon-right:before { content: "\ea3e"; }
-.svg-icon-search-o:before { content: "\ea3f"; }
-.svg-icon-setting:before { content: "\ea40"; }
-.svg-icon-shield-o:before { content: "\ea41"; }
-.svg-icon-smile-o:before { content: "\ea42"; }
-.svg-icon-smile:before { content: "\ea43"; }
-.svg-icon-tag-o:before { content: "\ea44"; }
-.svg-icon-tag:before { content: "\ea45"; }
-.svg-icon-up-circle-o:before { content: "\ea46"; }
-.svg-icon-up-circle:before { content: "\ea47"; }
-.svg-icon-up:before { content: "\ea48"; }
+.svg-icon-reload:before { content: "\ea3c"; }
+.svg-icon-right-circle-o:before { content: "\ea3d"; }
+.svg-icon-right-circle:before { content: "\ea3e"; }
+.svg-icon-right:before { content: "\ea3f"; }
+.svg-icon-search-o:before { content: "\ea40"; }
+.svg-icon-setting:before { content: "\ea41"; }
+.svg-icon-shield-o:before { content: "\ea42"; }
+.svg-icon-smile-o:before { content: "\ea43"; }
+.svg-icon-smile:before { content: "\ea44"; }
+.svg-icon-tag-o:before { content: "\ea45"; }
+.svg-icon-tag:before { content: "\ea46"; }
+.svg-icon-up-circle-o:before { content: "\ea47"; }
+.svg-icon-up-circle:before { content: "\ea48"; }
+.svg-icon-up:before { content: "\ea49"; }

+ 79 - 0
src/icons/fonts/iconfont.ts

@@ -0,0 +1,79 @@
+export enum Iconfont {
+  BindingO = "svg-icon-binding-o",
+  CameraO = "svg-icon-camera-o",
+  Camera = "svg-icon-camera",
+  CheckCircleO = "svg-icon-check-circle-o",
+  CheckCircle = "svg-icon-check-circle",
+  Check = "svg-icon-check",
+  ClockCircleO = "svg-icon-clock-circle-o",
+  ClockCircle = "svg-icon-clock-circle",
+  CloseCircleO = "svg-icon-close-circle-o",
+  CloseCircle = "svg-icon-close-circle",
+  Close = "svg-icon-close",
+  CloudDownloadO = "svg-icon-cloud-download-o",
+  CloudDownload = "svg-icon-cloud-download",
+  CloudO = "svg-icon-cloud-o",
+  CloudUploadO = "svg-icon-cloud-upload-o",
+  CloudUpload = "svg-icon-cloud-upload",
+  Cloud = "svg-icon-cloud",
+  Delete = "svg-icon-delete",
+  DownCircleO = "svg-icon-down-circle-o",
+  DownCircle = "svg-icon-down-circle",
+  Down = "svg-icon-down",
+  Download = "svg-icon-download",
+  EditO = "svg-icon-edit-o",
+  ExclamationCircleO = "svg-icon-exclamation-circle-o",
+  ExclamationCircle = "svg-icon-exclamation-circle",
+  Exclamation = "svg-icon-exclamation",
+  EyeO = "svg-icon-eye-o",
+  Eye = "svg-icon-eye",
+  FrownO = "svg-icon-frown-o",
+  Frown = "svg-icon-frown",
+  HeartO = "svg-icon-heart-o",
+  Heart = "svg-icon-heart",
+  InfoCirlceO = "svg-icon-info-cirlce-o",
+  InfoCirlce = "svg-icon-info-cirlce",
+  Info = "svg-icon-info",
+  LeftCircleO = "svg-icon-left-circle-o",
+  LeftCircle = "svg-icon-left-circle",
+  Left = "svg-icon-left",
+  MarkO = "svg-icon-mark-o",
+  Mark = "svg-icon-mark",
+  Meh = "svg-icon-meh",
+  Meho = "svg-icon-meho",
+  MinusCircleO = "svg-icon-minus-circle-o",
+  MinusCircle = "svg-icon-minus-circle",
+  Minus = "svg-icon-minus",
+  PauseCircleO = "svg-icon-pause-circle-o",
+  PauseCircle = "svg-icon-pause-circle",
+  Pause = "svg-icon-pause",
+  PlayCircleO = "svg-icon-play-circle-o",
+  PlayCircle = "svg-icon-play-circle",
+  PlusCircleO = "svg-icon-plus-circle-o",
+  PlusCircle = "svg-icon-plus-circle",
+  Plus = "svg-icon-plus",
+  PushpinO = "svg-icon-pushpin-o",
+  Pushpin = "svg-icon-pushpin",
+  QuestionCircleO = "svg-icon-question-circle-o",
+  QuestionCircle = "svg-icon-question-circle",
+  Question = "svg-icon-question",
+  RefreshO = "svg-icon-refresh-o",
+  Reload = "svg-icon-reload",
+  RightCircleO = "svg-icon-right-circle-o",
+  RightCircle = "svg-icon-right-circle",
+  Right = "svg-icon-right",
+  SearchO = "svg-icon-search-o",
+  Setting = "svg-icon-setting",
+  ShieldO = "svg-icon-shield-o",
+  SmileO = "svg-icon-smile-o",
+  Smile = "svg-icon-smile",
+  TagO = "svg-icon-tag-o",
+  Tag = "svg-icon-tag",
+  UpCircleO = "svg-icon-up-circle-o",
+  UpCircle = "svg-icon-up-circle",
+  Up = "svg-icon-up"
+}
+
+export type IconfontClassname = "svg-icon-binding-o" | "svg-icon-camera-o" | "svg-icon-camera" | "svg-icon-check-circle-o" | "svg-icon-check-circle" | "svg-icon-check" | "svg-icon-clock-circle-o" | "svg-icon-clock-circle" | "svg-icon-close-circle-o" | "svg-icon-close-circle" | "svg-icon-close" | "svg-icon-cloud-download-o" | "svg-icon-cloud-download" | "svg-icon-cloud-o" | "svg-icon-cloud-upload-o" | "svg-icon-cloud-upload" | "svg-icon-cloud" | "svg-icon-delete" | "svg-icon-down-circle-o" | "svg-icon-down-circle" | "svg-icon-down" | "svg-icon-download" | "svg-icon-edit-o" | "svg-icon-exclamation-circle-o" | "svg-icon-exclamation-circle" | "svg-icon-exclamation" | "svg-icon-eye-o" | "svg-icon-eye" | "svg-icon-frown-o" | "svg-icon-frown" | "svg-icon-heart-o" | "svg-icon-heart" | "svg-icon-info-cirlce-o" | "svg-icon-info-cirlce" | "svg-icon-info" | "svg-icon-left-circle-o" | "svg-icon-left-circle" | "svg-icon-left" | "svg-icon-mark-o" | "svg-icon-mark" | "svg-icon-meh" | "svg-icon-meho" | "svg-icon-minus-circle-o" | "svg-icon-minus-circle" | "svg-icon-minus" | "svg-icon-pause-circle-o" | "svg-icon-pause-circle" | "svg-icon-pause" | "svg-icon-play-circle-o" | "svg-icon-play-circle" | "svg-icon-plus-circle-o" | "svg-icon-plus-circle" | "svg-icon-plus" | "svg-icon-pushpin-o" | "svg-icon-pushpin" | "svg-icon-question-circle-o" | "svg-icon-question-circle" | "svg-icon-question" | "svg-icon-refresh-o" | "svg-icon-reload" | "svg-icon-right-circle-o" | "svg-icon-right-circle" | "svg-icon-right" | "svg-icon-search-o" | "svg-icon-setting" | "svg-icon-shield-o" | "svg-icon-smile-o" | "svg-icon-smile" | "svg-icon-tag-o" | "svg-icon-tag" | "svg-icon-up-circle-o" | "svg-icon-up-circle" | "svg-icon-up"
+export type IconfontIcon = "binding-o" | "camera-o" | "camera" | "check-circle-o" | "check-circle" | "check" | "clock-circle-o" | "clock-circle" | "close-circle-o" | "close-circle" | "close" | "cloud-download-o" | "cloud-download" | "cloud-o" | "cloud-upload-o" | "cloud-upload" | "cloud" | "delete" | "down-circle-o" | "down-circle" | "down" | "download" | "edit-o" | "exclamation-circle-o" | "exclamation-circle" | "exclamation" | "eye-o" | "eye" | "frown-o" | "frown" | "heart-o" | "heart" | "info-cirlce-o" | "info-cirlce" | "info" | "left-circle-o" | "left-circle" | "left" | "mark-o" | "mark" | "meh" | "meho" | "minus-circle-o" | "minus-circle" | "minus" | "pause-circle-o" | "pause-circle" | "pause" | "play-circle-o" | "play-circle" | "plus-circle-o" | "plus-circle" | "plus" | "pushpin-o" | "pushpin" | "question-circle-o" | "question-circle" | "question" | "refresh-o" | "reload" | "right-circle-o" | "right-circle" | "right" | "search-o" | "setting" | "shield-o" | "smile-o" | "smile" | "tag-o" | "tag" | "up-circle-o" | "up-circle" | "up"
+export const IconfontPrefix = "svg-icon-"

BIN
src/icons/fonts/iconfont.woff


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
src/icons/fonts/index.html


+ 1 - 1
src/icons/generate-icon.cjs

@@ -29,7 +29,7 @@ const generateIconFont = async () => {
       fontHeight: 1000,
       normalize: true,
     },
-    emptyDist: true,
+    emptyDist: false,
     website: {
       version: '1.0.0',
     },

+ 1 - 1
src/icons/svg/download.svg

@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" class="icon" viewBox="0 0 1024 1024"><path d="M486.4 809.053a37.7 37.7 0 0 0 53.434 0l170.077-170.077a37.702 37.702 0 0 0-53.248-53.341L550.96 691.34V61.02a37.748 37.748 0 0 0-75.497 0V691.34L369.757 585.635a37.61 37.61 0 0 0-53.248 0 37.84 37.84 0 0 0-.093 53.341l169.937 170.077zm476.625-156.998a37.75 37.75 0 0 0-37.794 37.749v213.178a22.53 22.53 0 0 1-22.482 22.481H121.111a22.53 22.53 0 0 1-22.435-22.481V689.71a37.702 37.702 0 0 0-75.403 0v243.153c0 37.423 30.44 67.77 67.723 67.77h842.008c37.376 0 67.723-30.44 67.723-67.77V689.711a37.7 37.7 0 0 0-37.702-37.656"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" class="icon" viewBox="0 0 1024 1024"><path d="M486.4 809.053a37.7 37.7 0 0 0 53.434 0l170.077-170.077a37.702 37.702 0 0 0-53.248-53.341L550.96 691.34V61.02a37.748 37.748 0 0 0-75.497 0v630.32L369.757 585.635a37.61 37.61 0 0 0-53.248 0 37.84 37.84 0 0 0-.093 53.341l169.937 170.077zm476.625-156.998a37.75 37.75 0 0 0-37.794 37.749v213.178a22.53 22.53 0 0 1-22.482 22.481H121.111a22.53 22.53 0 0 1-22.435-22.481V689.71a37.702 37.702 0 0 0-75.403 0v243.153c0 37.423 30.44 67.77 67.723 67.77h842.008c37.376 0 67.723-30.44 67.723-67.77V689.711a37.7 37.7 0 0 0-37.702-37.656"/></svg>

+ 1 - 0
src/icons/svg/reload.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" class="icon" viewBox="0 0 1024 1024"><path d="M954.141 504.165a35.967 35.967 0 1 0-70.995 11.776c3.2 19.028 4.821 39.806 4.821 60.286A373.4 373.4 0 0 1 777.89 842.032 373.36 373.36 0 0 1 512 952.023a373.62 373.62 0 0 1-265.89-110.076 373.62 373.62 0 0 1-110.077-265.89c0-100.393 39.081-194.896 110.077-265.891A373.62 373.62 0 0 1 512 200.132c4.181 0 8.405.085 12.586.213l-81.79 81.704a35.924 35.924 0 0 0 0 50.9c14.08 14.08 36.906 14.08 50.9 0L629.5 197.145a35.924 35.924 0 0 0 0-50.9L493.654 10.612a35.924 35.924 0 0 0-50.9 0 35.924 35.924 0 0 0 0 50.9l66.686 66.515a446.66 446.66 0 0 0-314.06 131.196A446.66 446.66 0 0 0 64.014 576.056 446.5 446.5 0 0 0 195.21 892.804 446.66 446.66 0 0 0 512 1024c60.5 0 119.079-11.819 174.373-35.2a444.7 444.7 0 0 0 142.375-95.868 447.4 447.4 0 0 0 95.997-142.29c23.423-55.208 35.199-113.916 35.199-174.415 0-24.66-2.006-48.98-5.803-72.105z"/></svg>

Vissa filer visades inte eftersom för många filer har ändrats