{"action":"created","issue":{"url":"https://api.github.com/repos/activeadmin/activeadmin/issues/3399","labels_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/3399/labels{/name}","comments_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/3399/comments","events_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/3399/events","html_url":"https://github.com/activeadmin/activeadmin/issues/3399","id":41877696,"number":3399,"title":"switch from svg icons to Font Awesome","user":{"login":"timoschilling","id":165599,"avatar_url":"https://avatars.githubusercontent.com/u/165599?v=3","gravatar_id":"","url":"https://api.github.com/users/timoschilling","html_url":"https://github.com/timoschilling","followers_url":"https://api.github.com/users/timoschilling/followers","following_url":"https://api.github.com/users/timoschilling/following{/other_user}","gists_url":"https://api.github.com/users/timoschilling/gists{/gist_id}","starred_url":"https://api.github.com/users/timoschilling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timoschilling/subscriptions","organizations_url":"https://api.github.com/users/timoschilling/orgs","repos_url":"https://api.github.com/users/timoschilling/repos","events_url":"https://api.github.com/users/timoschilling/events{/privacy}","received_events_url":"https://api.github.com/users/timoschilling/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-09-03T23:00:07Z","updated_at":"2015-04-08T10:56:47Z","closed_at":"2015-04-08T09:01:26Z","body":"I would prefer a switch from the ~140 [svg icons](https://github.com/activeadmin/activeadmin/blob/master/lib/active_admin/iconic/icons.rb) to the ~550 [Font-Awesome](http://fortawesome.github.io/Font-Awesome/cheatsheet/) icons.\r\n\r\nOne other reason is that svg is not colorable from css, Font-Awesome is that!\r\nFor example I work on a Icon in Flash messages, but coloring for svg smells:\r\n```ruby\r\n        def build_flash_messages\r\n          div class: 'flashes' do\r\n            flash.each do |type, message|\r\n              div class: \"flash flash_#{type}\" do\r\n                color = case type\r\n                when :error\r\n                  \"#b33c33\"\r\n                when :notice\r\n                  \"#416347\"\r\n                end\r\n                span Iconic.icon :x_alt, color\r\n                span message\r\n              end\r\n            end\r\n          end\r\n        end\r\n```\r\n\r\nFont coloring works out of the box"},"comment":{"url":"https://api.github.com/repos/activeadmin/activeadmin/issues/comments/90879737","html_url":"https://github.com/activeadmin/activeadmin/issues/3399#issuecomment-90879737","issue_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/3399","id":90879737,"user":{"login":"yoyos","id":1993859,"avatar_url":"https://avatars.githubusercontent.com/u/1993859?v=3","gravatar_id":"","url":"https://api.github.com/users/yoyos","html_url":"https://github.com/yoyos","followers_url":"https://api.github.com/users/yoyos/followers","following_url":"https://api.github.com/users/yoyos/following{/other_user}","gists_url":"https://api.github.com/users/yoyos/gists{/gist_id}","starred_url":"https://api.github.com/users/yoyos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoyos/subscriptions","organizations_url":"https://api.github.com/users/yoyos/orgs","repos_url":"https://api.github.com/users/yoyos/repos","events_url":"https://api.github.com/users/yoyos/events{/privacy}","received_events_url":"https://api.github.com/users/yoyos/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T10:56:47Z","updated_at":"2015-04-08T10:56:47Z","body":"Same question.\r\n\r\nSomething like that ? How to implement it ?\r\n\r\n```\r\nactions defaults: false do |p|\r\n      links = '<span class=\"default_actions\"> '.html_safe\r\n      links += link_to '<i class=\"fa fa-camera-retro fa-lg\"></i>'.html_safe, edit_admin_user_path(p), :title =>  'my title'      \r\n      links += '</span>'.html_safe\r\n      links\r\n    end\r\n```\r\n"}}