去该网站下一个想要的配色方案:
http://eclipsecolorthemes.org/
点击某一种方案,下载一个EPF文件。
导入方法:
myeclipse->File->Import->General->Preferences
browse你下载的epf路径,直接finish就可以了。
----------------------------------------------------------
关于还原默认主题,网上下了很多所谓的default主题,但是都觉得有点怪。
还原方法1:
将 myeclipse的工作空间目录,也就是workspace,找到这个目录下“.metadata\.plugins\org.eclipse.core.runtime”,这里也有.setting文件夹,把里面文件全部删除,换成同事的默认的配色方案的.setting文件夹。
不想麻烦同事也可以自己双开一个MyEclipse,更换一下工作空间,新建一个工程,随便建一个类。在该workspace下找到上面所说的.setting文件夹,覆盖即可。记得重启MyEclipse。终于和以前一模一样了。
还原方法2:
如果你在workspace中没有什么重要的东西,可以切换workspace或者将整个workspace 下的.metadata删除,就可以恢复。
另外附一个扁平化的css方案,可以在Myeclipse中导入css使用:
/* * flat theme */ .jeeeyul-flat-theme{ /* * This selector rule is exist for detect flat Theme to find rewrite target. * See "RewriteChormeCSS.java" */ } .MTrimmedWindow.topLevel { margin-top: 3px; margin-bottom: 2px; margin-left: 2px; margin-right: 2px; } .MPartStack { font-size: 9; font-family: 'Segoe UI'; swt-simple: true; swt-tab-renderer: url('bundleclass://net.jeeeyul.eclipse.themes/net.jeeeyul.eclipse.themes.rendering.ChromeTabRendering'); padding: 1px 6px 8px 6px; /* top left bottom right */ swt-tab-outline: #97a5b3; swt-outer-keyline-color: #97a5b3; swt-unselected-tabs-color: #d2dfec #d2dfec #f0f0f0 99% 100%; swt-shadow-visible: false; swt-selected-tab-fill: #f0f0f0; chrome-selected-tab-fill-highlight: #f0f0f0; chrome-selected-tab-color: #000000; chrome-unselected-tab-color: #000000; swt-shadow-color: #000000; chrome-shiney-shadow: false; swt-mru-visible: true; swt-corner-radius: 6px; /* 这里我想设置为0,就是纯直角的,但是发现设置为0会有厅怪的问题,似乎最小就是6了*/ } .MPartStack.active { swt-inner-keyline-color: #FFFFFF; swt-tab-outline: #5d6c7b; swt-outer-keyline-color: #5d6c7b; swt-unselected-tabs-color: #b3cce7 #b3cce7 #f0f0f0 99% 100%; swt-selected-tab-fill: #f0f0f0; chrome-selected-tab-fill-highlight: #f0f0f0; chrome-selected-tab-color: #000000; chrome-unselected-tab-color: #000000; chrome-shiney-shadow: false; } .MPartStack.empty { swt-unselected-tabs-color: #758390 #758390 #758390 99% 100%; swt-tab-outline: #758390; swt-outer-keyline-color: #758390; } .MTrimmedWindow { margin-top: 2px; margin-bottom: 2px; margin-left: 2px; margin-right: 2px; background-color: #ccd9e7; } .MTrimBar { background-color: #ccd9e7; } .MTrimBar#org-eclipse-ui-main-toolbar { background-color: #ccd9e7 #ccd9e7; } CTabFolder.MArea .MPartStack,CTabFolder.MArea .MPartStack.active { swt-shadow-visible: false; } CTabFolder Canvas { background-color: #F8F8F8; } #org-eclipse-ui-editorss { swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering'); swt-unselected-tabs-color: #F0F0F0 #F0F0F0 #F0F0F0 100% 100%; swt-outer-keyline-color: #B4B4B4; swt-inner-keyline-color: #F0F0F0; swt-tab-outline: #F0F0F0; color: #F0F0F0; swt-tab-height: 8px; padding: 0px 5px 7px; } #org-eclipse-ui-trim-status{ chrome-border-top-visible: false; chrome-padding-top: 0; background-color: #d3dee9; } .MToolControl.TrimStack { handle-image: url(chrome://drag-handle?height=22&background-color=#ccd9e7&embossed=false); } .MTrimBar .Draggable { handle-image: url(chrome://drag-handle?height=22&background-color=#ccd9e7&embossed=false); } .MTrimBar#org-eclipse-ui-main-toolbar .Draggable { handle-image: url(chrome://drag-handle?height=22&background-color=#ccd9e7&embossed=false); } .MTrimBar#org-eclipse-ui-main-toolbar .TrimStack { handle-image: url(chrome://drag-handle?height=22&background-color=#ccd9e7&embossed=false); } .MTrimBar#org-eclipse-ui-trim-status .Draggable { handle-image: url(chrome://drag-handle?height=22&background-color=#d3dee9&embossed=false); } .MTrimBar#org-eclipse-ui-trim-status .TrimStack { handle-image: url(chrome://drag-handle?height=22&background-color=#d3dee9&embossed=false); } #org-eclipse-ui-main-toolbar #PerspectiveSwitcher { eclipse-perspective-keyline-color: #ccd9e7; background-color: #ccd9e7 #ccd9e7 100%; handle-image: none; chrome-show-perspective-name: false; } .MPart.Editor StyledText{ chrome-line-style: none; chrome-line-color: #ff0000; } /* User CSS */