Harmonizing Discourse icons and emojis

Continuing the discussion from Actions and markup: Icons vs Tags:

From time to time I’m writing documentation for new users and end up typing : to trigger the emoji completion and find the :bookmark: icon, or the :pin: icon, or the :gear: icon to show what to look for to accomplish a certain action. As exemplified with these three: :bookmark:, :pin:, and :gear:, the iconography seems not to be designed for such a use-case. I end up using longer sentence to avoid adding to the confusion of the (usually impressed) users who freshly dived into Discourse.

It seems there’s already a (fastidious) way to Change icons globally, but I’m wondering whether there are other options to use Discourse UI icons in posts somehow.

5개의 좋아요

I agree. I often end up taking a screen shot of the icons and paste them in.

1개의 좋아요

I vaguely recall many years ago I had a plugin that did this, it is broken by now, I recommend holding off on this idea till we are done with our fontawesome upgrade, cause once that is done the palate of optional icons becomes enormous making it far more appealing to re-build that old trivial plugin :blush:

13개의 좋아요

Today I discovered Fork Awesome, a fork of the iconic font and CSS toolkit, a fork of Font-Awesome that

  • does not require JavaScript
  • accepts new custom icons
  • is GPL friendly.

Switching from Font Awesome 4.7?

If you were using Font Awesome 4.7, you should be able to just switch to Fork Awesome 1.1 and get all the benefits from it. If you were using npm or composer packages, replace the ones you were using by this Fork Awesome ones. Or if you downloaded a static copy of Font Awesome, download the latest version of Fork Awesome and replace CSS and font files in your project and you should be good to go.

We paid special attention not to change unicode codepoints for the existing icons, nor changed the CSS class names or icon names from Font Awesome 4.7. Though we added a few more icons and made the process of contributing to this project much easier. Though, if you see a mistake, please don’t hesitate to file a bug.

P.S.: and they could use a Discourse :wink:

4개의 좋아요

Good point @erlend_sh maybe we can contact them and suggest they use Discourse :wink:

@hellekin in this upcoming release we are planning to move to all SVG icons for flexibility and away from a specific icon font, it’s a project @awesomerobot is heading up.

6개의 좋아요

They’re pretty low volume so they seem to have what they need with a SO + GitHub setup.

1개의 좋아요

@awesomerobot 이 기능에 대한 사용법 문서 링크를 알려주실 수 있을까요?

1개의 좋아요

아마도 이 컴포넌트를 찾고 계실 것 같습니다: GitHub - discourse/discourse-icon · GitHub. 현재 메타에 이에 대한 별도의 주제는 없지만, 게시물에서는 다음과 같이 사용할 수 있습니다:

[wrap=icon id="bookmark"][/wrap]

관심 있으시면 참고하실 수 있는 다른 아이콘 리소스:

7개의 좋아요

정말 좋습니다. 이 주제에 해당하는 것 같습니다: Discourse Icon

2개의 좋아요

안타깝게도 \faq 페이지에서는 작동하지 않습니다(아이콘 대신 아무것도 표시되지 않음).

또한, FAQ 게시글에 [wrap] 아이콘을 추가한 후 페이지를 열면 일반 게시글의 아이콘이 표시되지 않습니다. 그런 다음 FAQ 게시글에서 [wrap] 아이콘을 제거하면 일반 게시글에 아이콘이 마법처럼 다시 나타납니다.

맞습니다! 찾아내주셔서 감사합니다.

FAQ 페이지는 기술적으로 게시물의 콘텐츠에 기반을 두고 있지만, 일종의 특수한 설정이므로 해당 컨텍스트에서 작동하지 않는 것은 놀라운 일이 아닙니다.

음. 저는 그 동작을 재현할 수 없습니다.

FAQ 페이지 때문은 아니었을 수도 있어요(우연일 수도 있고요). 하지만 제 눈앞에서 이모지가 사라졌다가 다시 나타나는 현상은 분명 두 번이나 일어났습니다.

1개의 좋아요