在Moonrise主题中编辑Tab字体 [英] Edit the Tab font in Moonrise Theme

查看:43
本文介绍了在Moonrise主题中编辑Tab字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在正在搞着Eclipse的用户界面,发现在这里找到了月出主题

https://github.com/guari/eclipse-ui-theme/blob/master/README.md

.我比暗黑朱诺更喜欢它,而那确实是我发现的仅有的两个.因此,主题很棒,除了制表符字体外,所有字体都有点……我想不是我.从罐子文件中提取文件后,我将阅读如何更改为进入CSS文件的方法,但是此后,我不知道如何再次将其保存为罐子文件并将其放回Eclipse dropins文件夹中.

谢谢!

解决方案

基于问题和答案,我设法在Windows 7上更改了tabs字体,方法如下:

  1. 关闭Eclipse
  2. 在档案编辑器(WinRar)中打开< eclipse-installation-directory>/plugins/com.github.eclipseuitheme.themes.moonrise-ui_0.8.4.jar (或您使用的任何版本),7zip等)
  3. 打开 themes/css/moonrise-ui-standalone.css 进行编辑(右键单击-> edit)
  4. 注释掉所有出现的 font-family:'Segoe Print'; ,即用/* font-family:'Segoe Print'; */
  5. 保存文件并退出存档编辑器.如果系统提示您更新档案,请单击是".
  6. 启动Eclipse.

I am messing around with the ui of eclipse right now and found moonrise theme found here

https://github.com/guari/eclipse-ui-theme/blob/master/README.md

. I like it much more than the Dark juno and those are really the only 2 i found. So the theme is great and all but the tab font is a little ... not me i suppose. I read how to change it is to go into the CSS file once you extract it from the jar file, but after that i dont know how to save the stuff as a jar file again and place it back in the eclipse dropins folder.

thanks!

解决方案

Based on both the question and the answer, I managed to change the tabs font on Windows 7, here's how:

  1. Close Eclipse
  2. Open <eclipse-installation-directory>/ plugins/com.github.eclipseuitheme.themes.moonrise-ui_0.8.4.jar (or whichever version you have) in an archive editor (WinRar, 7zip, etc.)
  3. Open themes/css/moonrise-ui-standalone.css for editing (right click->edit)
  4. Comment out all occurrences of font-family: 'Segoe Print';, i.e. replace them with /*font-family: 'Segoe Print';*/
  5. Save the file and exit the archive editor. If prompted to update the archive, click yes.
  6. Start Eclipse.

这篇关于在Moonrise主题中编辑Tab字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆