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