fix: link color
This commit is contained in:
parent
5e7eefe553
commit
613c70c4a6
|
@ -44,9 +44,11 @@ StyledTextEdit {
|
|||
`p {`+
|
||||
`white-space: pre-wrap;`+
|
||||
`}`+
|
||||
`a {`+
|
||||
`color: ${isCurrentUser ? Style.current.white : Style.current.textColor};`+
|
||||
`}`+
|
||||
`a.mention {`+
|
||||
`color: ${isCurrentUser ? Style.current.black : Style.current.white};`+
|
||||
`font-weight: bold;`+
|
||||
`color: ${isCurrentUser ? Style.current.cyan : Style.current.turquoise};`+
|
||||
`}`+
|
||||
`blockquote {`+
|
||||
`margin: 0;`+
|
||||
|
|
|
@ -14,6 +14,7 @@ QtObject {
|
|||
readonly property color black: "#000000"
|
||||
readonly property color grey: "#EEF2F5"
|
||||
readonly property color lightBlue: "#ECEFFC"
|
||||
readonly property color cyan: "#00FFFF"
|
||||
readonly property color blue: "#4360DF"
|
||||
readonly property color transparent: "#00000000"
|
||||
readonly property color darkGrey: "#939BA1"
|
||||
|
@ -23,6 +24,7 @@ QtObject {
|
|||
readonly property color red: "#FF2D55"
|
||||
readonly property color lightRed: "#FFEAEE"
|
||||
readonly property color green: "#4EBC60"
|
||||
readonly property color turquoise: "#007b7d"
|
||||
|
||||
readonly property int xlPadding: 32
|
||||
readonly property int bigPadding: 24
|
||||
|
|
|
@ -7,6 +7,7 @@ Theme {
|
|||
property color black: "#000000"
|
||||
property color grey: "#EEF2F5"
|
||||
property color lightBlue: "#ECEFFC"
|
||||
property color cyan: "#00FFFF"
|
||||
property color blue: "#758EF0"
|
||||
property color transparent: "#00000000"
|
||||
property color darkGrey: "#838C91"
|
||||
|
@ -16,6 +17,7 @@ Theme {
|
|||
property color red: "#FC5F5F"
|
||||
property color lightRed: "#FFEAEE"
|
||||
property color green: "#4EBC60"
|
||||
property color turquoise: "#007b7d"
|
||||
|
||||
property color background: "#141414"
|
||||
property color border: "#252528"
|
||||
|
|
|
@ -7,6 +7,7 @@ Theme {
|
|||
property color black: "#000000"
|
||||
property color grey: "#EEF2F5"
|
||||
property color lightBlue: "#ECEFFC"
|
||||
property color cyan: "#00FFFF"
|
||||
property color blue: "#4360DF"
|
||||
property color transparent: "#00000000"
|
||||
property color darkGrey: "#939BA1"
|
||||
|
@ -16,6 +17,7 @@ Theme {
|
|||
property color red: "#FF2D55"
|
||||
property color lightRed: "#FFEAEE"
|
||||
property color green: "#4EBC60"
|
||||
property color turquoise: "#007b7d"
|
||||
|
||||
property color background: white
|
||||
property color border: grey
|
||||
|
|
|
@ -245,7 +245,7 @@ FilterXSS.prototype.process = function(html) {
|
|||
|
||||
function getDefaultWhiteList() {
|
||||
return {
|
||||
a: ["target", "href", "title"],
|
||||
a: ["target", "href", "title", "class"],
|
||||
abbr: ["title"],
|
||||
address: [],
|
||||
area: ["shape", "coords", "href", "alt"],
|
||||
|
|
Loading…
Reference in New Issue