Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent FX color scheme for JabRef #3839

Merged
merged 19 commits into from
Mar 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
bfe7532
Separate colors
halirutan Feb 21, 2018
09705b8
More consistent layout
halirutan Feb 27, 2018
6a99dd1
Merge branch 'maintable-beta' into consistent-layout
halirutan Mar 5, 2018
e470bf7
Remove many explicit color settings and make the style dependent on a…
halirutan Mar 7, 2018
22cb08a
Remove color gradients for controls
halirutan Mar 7, 2018
f8bab4a
Add custom application icons in the same style as existing MaterialDe…
halirutan Mar 9, 2018
a8d5b57
Merge branch 'maintable-beta' into consistent-fxcolors
halirutan Mar 9, 2018
fdd70ce
Merge branch 'maintable-beta' into consistent-fxcolors
halirutan Mar 12, 2018
a4cf911
Fix transparent cell borders for main-table
halirutan Mar 13, 2018
20cb036
Merge branch 'maintable-beta' into consistent-fxcolors
halirutan Mar 18, 2018
aba3dc3
Merge branch 'maintable-beta' into consistent-fxcolors
halirutan Mar 18, 2018
01d1122
Change some icons for consistent visual weight and additional adaptions
halirutan Mar 19, 2018
7e1439a
Reduce the brightness of highlighted menu, marked text, etc
halirutan Mar 19, 2018
3f41151
Fix icon sizes of the custom TTF
halirutan Mar 21, 2018
2c68d79
Fix OO and Emacs icon.
halirutan Mar 22, 2018
7b02ca0
Merge branch 'maintable-beta' into consistent-fxcolors
halirutan Mar 22, 2018
36303bc
Fix size of Copy and Paste icon to original one.
halirutan Mar 23, 2018
8ba9dc7
Fix several style issues as reaction to the comments of the PR
halirutan Mar 26, 2018
97f33d0
Merge branch 'maintable-beta' of https://github.com/JabRef/jabref int…
tobiasdiez Mar 26, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions src/main/java/org/jabref/gui/JabRefMaterialDesignIcon.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
package org.jabref.gui;

import de.jensd.fx.glyphs.GlyphIcons;

/**
* Provides the same true-type font interface as MaterialDesignIcon itself, but uses a font we created ourselves that
* contains icons that are not available in MaterialDesignIcons.
*
* @implNote The glyphs of the ttf (speak: the icons) were created with Illustrator and a template from the material design icons
* web-page. The art boards for each icon was exported as SVG and then converted with <a href="https://icomoon.io/app">
* IcoMoon</a>. The final TTF font is located in the resource folder.
* @see <a href="https://github.com/JabRef/jabref/wiki/Custom-SVG-Icons-for-JabRef">Tutorial on our Wiki</a>
* @see <a href="https://materialdesignicons.com/custom">Material Design Icon custom page</a>
*/
public enum JabRefMaterialDesignIcon implements GlyphIcons {

TEX_STUDIO("\ue900"),
TEX_MAKER("\ue901"),
EMACS("\ue902"),
OPEN_OFFICE("\ue903"),
VIM("\ue904"),
LYX("\ue905"),
WINEDT("\ue906"),
ARXIV("\ue907"),
COPY("\ue908"),
PASTE("\ue909");


private final String unicode;

JabRefMaterialDesignIcon(String unicode) {
this.unicode = unicode;
}

@Override
public String unicode() {
return unicode;
}

@Override
public String fontFamily() {
return "\'JabRefMaterialDesign\'";
}
}
Loading