Make bold work on desktop again

Signed-off-by: yenda <eric@status.im>
This commit is contained in:
janherich 2018-11-08 14:38:43 +01:00 committed by yenda
parent ca7b4f1b74
commit f5ab49a4a4
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
1 changed files with 2 additions and 6 deletions

View File

@ -16,12 +16,8 @@
(format-author from username))) (format-author from username)))
(def ^:private styling->prop (def ^:private styling->prop
{:bold (if platform/desktop? {:bold {:style {:font-weight :bold}}
{:font :medium} :italic {:style {:font-style :italic}}
{:style {:font-weight :bold}})
:italic (if platform/desktop?
{:font :italic}
{:style {:font-style :italic}})
:backquote {:style {:background-color colors/black :backquote {:style {:background-color colors/black
:color colors/green}}}) :color colors/green}}})