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)))
|
(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}}})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue