Make bold work on desktop again
Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
ca7b4f1b74
commit
f5ab49a4a4
|
@ -16,12 +16,8 @@
|
|||
(format-author from username)))
|
||||
|
||||
(def ^:private styling->prop
|
||||
{:bold (if platform/desktop?
|
||||
{:font :medium}
|
||||
{:style {:font-weight :bold}})
|
||||
:italic (if platform/desktop?
|
||||
{:font :italic}
|
||||
{:style {:font-style :italic}})
|
||||
{:bold {:style {:font-weight :bold}}
|
||||
:italic {:style {:font-style :italic}}
|
||||
:backquote {:style {:background-color colors/black
|
||||
:color colors/green}}})
|
||||
|
||||
|
|
Loading…
Reference in New Issue