diff --git a/dist/images/1x/icon/dark/trans_disable.png b/dist/images/1x/icon/dark/trans_disable.png new file mode 100644 index 0000000000..c1d4dfe79d Binary files /dev/null and b/dist/images/1x/icon/dark/trans_disable.png differ diff --git a/dist/images/1x/icon/dark/trans_normal.png b/dist/images/1x/icon/dark/trans_normal.png new file mode 100755 index 0000000000..5de946e14e Binary files /dev/null and b/dist/images/1x/icon/dark/trans_normal.png differ diff --git a/dist/images/1x/icon/dark/trans_select.png b/dist/images/1x/icon/dark/trans_select.png new file mode 100755 index 0000000000..ce061d9aea Binary files /dev/null and b/dist/images/1x/icon/dark/trans_select.png differ diff --git a/dist/images/1x/icon/trans_disable.png b/dist/images/1x/icon/trans_disable.png new file mode 100644 index 0000000000..c1d4dfe79d Binary files /dev/null and b/dist/images/1x/icon/trans_disable.png differ diff --git a/dist/images/1x/icon/trans_normal.png b/dist/images/1x/icon/trans_normal.png new file mode 100755 index 0000000000..e80ef67447 Binary files /dev/null and b/dist/images/1x/icon/trans_normal.png differ diff --git a/dist/images/1x/icon/trans_select.png b/dist/images/1x/icon/trans_select.png new file mode 100755 index 0000000000..ce061d9aea Binary files /dev/null and b/dist/images/1x/icon/trans_select.png differ diff --git a/dist/images/2x/icon/dark/trans_disable.png b/dist/images/2x/icon/dark/trans_disable.png new file mode 100644 index 0000000000..95041189f2 Binary files /dev/null and b/dist/images/2x/icon/dark/trans_disable.png differ diff --git a/dist/images/2x/icon/dark/trans_normal.png b/dist/images/2x/icon/dark/trans_normal.png new file mode 100755 index 0000000000..3e68e88c35 Binary files /dev/null and b/dist/images/2x/icon/dark/trans_normal.png differ diff --git a/dist/images/2x/icon/dark/trans_select.png b/dist/images/2x/icon/dark/trans_select.png new file mode 100755 index 0000000000..afaeecfa75 Binary files /dev/null and b/dist/images/2x/icon/dark/trans_select.png differ diff --git a/dist/images/2x/icon/trans_disable.png b/dist/images/2x/icon/trans_disable.png index 593ce3a62b..95041189f2 100644 Binary files a/dist/images/2x/icon/trans_disable.png and b/dist/images/2x/icon/trans_disable.png differ diff --git a/dist/images/2x/icon/trans_normal.png b/dist/images/2x/icon/trans_normal.png old mode 100644 new mode 100755 index c02d399ad2..4dcecc5ad8 Binary files a/dist/images/2x/icon/trans_normal.png and b/dist/images/2x/icon/trans_normal.png differ diff --git a/dist/images/2x/icon/trans_select.png b/dist/images/2x/icon/trans_select.png old mode 100644 new mode 100755 index 10ee257ae1..afaeecfa75 Binary files a/dist/images/2x/icon/trans_select.png and b/dist/images/2x/icon/trans_select.png differ diff --git a/src/less/lib/icon.less b/src/less/lib/icon.less index 391058bec3..b40d3d9845 100644 --- a/src/less/lib/icon.less +++ b/src/less/lib/icon.less @@ -54,4 +54,8 @@ @icon-auto-disable: "icon/auto_disable.png"; @icon-trans-normal: "icon/trans_normal.png"; @icon-trans-select: "icon/trans_select.png"; -@icon-trans-disable: "icon/trans_disable.png"; \ No newline at end of file +@icon-trans-disable: "icon/trans_disable.png"; + +@icon-trans-normal-dark: "icon/dark/trans_normal.png"; +@icon-trans-select-dark: "icon/dark/trans_select.png"; +@icon-trans-disable-dark: "icon/dark/trans_disable.png"; \ No newline at end of file diff --git a/src/less/resource/icon.less b/src/less/resource/icon.less index 75b09ddb69..1cab7bd5ef 100644 --- a/src/less/resource/icon.less +++ b/src/less/resource/icon.less @@ -14,50 +14,6 @@ .icon(tree-vertical-line-type3, @icon-tree-vertical-line-3); .icon(tree-vertical-line-type4, @icon-tree-vertical-line-4); -.bi-theme-dark { - .icon(tree-collapse-icon-type1, @icon-tree-collapse-type1-theme-dark); -} - -.bi-theme-dark { - .icon(tree-collapse-icon-type2, @icon-tree-collapse-type2-theme-dark); -} - -.bi-theme-dark { - .icon(tree-collapse-icon-type3, @icon-tree-collapse-type3-theme-dark); -} - -.bi-theme-dark { - .icon(tree-collapse-icon-type4, @icon-tree-collapse-type4-theme-dark); -} - -.bi-theme-dark { - .icon(tree-expand-icon-type1, @icon-tree-expand-type1-theme-dark); -} - -.bi-theme-dark { - .icon(tree-expand-icon-type2, @icon-tree-expand-type2-theme-dark); -} - -.bi-theme-dark { - .icon(tree-expand-icon-type3, @icon-tree-expand-type3-theme-dark); -} - -.bi-theme-dark { - .icon(tree-expand-icon-type4, @icon-tree-expand-type4-theme-dark); -} - -.bi-theme-dark { - .icon(tree-vertical-line-type2, @icon-tree-vertical-line-2-theme-dark); -} - -.bi-theme-dark { - .icon(tree-vertical-line-type3, @icon-tree-vertical-line-3-theme-dark); -} - -.bi-theme-dark { - .icon(tree-vertical-line-type4, @icon-tree-vertical-line-4-theme-dark); -} - //CheckBox .icon_custom(check-box-icon, @icon-checkbox-normal, @icon-checkbox-normal, @icon-checkbox-normal, @icon-checkbox-active, @icon-checkbox-disable, @icon-checkbox-active-disable); //Radio @@ -72,3 +28,19 @@ //颜色自动、透明 .icon_select(auto-color-icon, @icon-auto-normal, @icon-auto-select, @icon-auto-disable); .icon_select(trans-color-icon, @icon-trans-normal, @icon-trans-select, @icon-trans-disable); + +.bi-theme-dark { + .icon(tree-collapse-icon-type1, @icon-tree-collapse-type1-theme-dark); + .icon(tree-collapse-icon-type2, @icon-tree-collapse-type2-theme-dark); + .icon(tree-collapse-icon-type3, @icon-tree-collapse-type3-theme-dark); + .icon(tree-collapse-icon-type4, @icon-tree-collapse-type4-theme-dark); + .icon(tree-expand-icon-type1, @icon-tree-expand-type1-theme-dark); + .icon(tree-expand-icon-type2, @icon-tree-expand-type2-theme-dark); + .icon(tree-expand-icon-type3, @icon-tree-expand-type3-theme-dark); + .icon(tree-expand-icon-type4, @icon-tree-expand-type4-theme-dark); + .icon(tree-vertical-line-type2, @icon-tree-vertical-line-2-theme-dark); + .icon(tree-vertical-line-type3, @icon-tree-vertical-line-3-theme-dark); + .icon(tree-vertical-line-type4, @icon-tree-vertical-line-4-theme-dark); + + .icon_select(trans-color-icon, @icon-trans-normal-dark, @icon-trans-select-dark, @icon-trans-disable-dark); +} \ No newline at end of file