Gitlab Icon project/website integrated into the existing gitlab ce/ee projects
Issue idea came from: https://gitlab.slack.com/archives/C03MSG8B7/p1490797179681755
Usecase
We want to get rid of fontawesome's iconfont and convert fully to using svg's. Also we want our icons to be more standardised and control their quality, optimisation and unified look.
@jschatz1 do we want our icons to be webpack loaded as mentioned here?
Problem
Our current usage of icons is mixed between svg
's svg.erb
's and fontawesome icon font.
We are more and more in need of custom icons and they still need to make sense as a whole (they should look like they are of one and the same icon family so to say, because this creates a better unifiquation throughout the interface and makes it looks more aesthetically pleasing)
Proposal
- extend
=customicon
to be able to havesize
andclass
as inputs (similar as=icon
with fontawesome's icons helper function has) - create an icon website out of
shared/icons
similar to https://octicons.github.com/- the idea here is that the icon website always correctly represents the icons being used within the application. Also any icon in the website is already available within the application this way.
- perhaps let this be its own project and loaded into the current project as a submodule?
- setup some ci tests on those icons, so we can only accept icons which are properly optimised and have correct sizes etc
Ultimately this means that if a developer needs an icon, which is not yet there. They can ask a designer to create a separate merge request if needed in which they provide and merge the icon.
Value
- Controlled, unified and verified icon usage
- Clear communication on icons with website, which may perhaps benefit help documentation as well
- There is one true source of icons
- If this is in, we can move to remove font-awesome's icon font!!
Related issues
https://gitlab.com/gitlab-org/gitlab-design/issues/18
CC/Call to actions
@jschatz1 @annabeldunstone (you were part of the discussion