[#10396] Quoted text (using markdown) in dark mode is hardly visible
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
c65ca5c92e
commit
f170512e8f
|
@ -41,7 +41,7 @@
|
|||
:border-radius 32}))
|
||||
|
||||
(defn default-chat-icon-text [size]
|
||||
{:color (colors/alpha colors/white 0.7)
|
||||
{:color colors/white-transparent-70-persist
|
||||
:font-weight "700"
|
||||
:font-size (/ size 2)
|
||||
:line-height size})
|
||||
|
|
|
@ -299,34 +299,34 @@
|
|||
:font-family monospace-fonts
|
||||
:color colors/white))
|
||||
|
||||
(def default-blockquote-style
|
||||
(defn default-blockquote-style []
|
||||
{:style {:border-left-width 2
|
||||
:padding-left 3
|
||||
:border-left-color colors/gray-transparent-40}})
|
||||
|
||||
(def outgoing-blockquote-style
|
||||
(update default-blockquote-style :style
|
||||
(defn outgoing-blockquote-style []
|
||||
(update (default-blockquote-style) :style
|
||||
assoc
|
||||
:border-left-color colors/white-transparent))
|
||||
:border-left-color colors/white-transparent-70-persist))
|
||||
|
||||
(defn blockquote-style [outgoing]
|
||||
(if outgoing
|
||||
outgoing-blockquote-style
|
||||
default-blockquote-style))
|
||||
(outgoing-blockquote-style)
|
||||
(default-blockquote-style)))
|
||||
|
||||
(def default-blockquote-text-style
|
||||
(defn default-blockquote-text-style []
|
||||
(update (default-text-style) :style
|
||||
assoc
|
||||
:line-height 19
|
||||
:font-size 14
|
||||
:color colors/black-transparent-50))
|
||||
|
||||
(def outgoing-blockquote-text-style
|
||||
(update default-blockquote-text-style :style
|
||||
(defn outgoing-blockquote-text-style []
|
||||
(update (default-blockquote-text-style) :style
|
||||
assoc
|
||||
:color colors/white-transparent-70-persist))
|
||||
|
||||
(defn blockquote-text-style [outgoing]
|
||||
(if outgoing
|
||||
outgoing-blockquote-text-style
|
||||
default-blockquote-text-style))
|
||||
(outgoing-blockquote-text-style)
|
||||
(default-blockquote-text-style)))
|
||||
|
|
Loading…
Reference in New Issue