Label link colors
This commit is contained in:
parent
843d40ca26
commit
2bd8514e9b
1
TODO.md
1
TODO.md
|
@ -41,7 +41,6 @@
|
||||||
- Show something when connection is lost or 429s happen
|
- Show something when connection is lost or 429s happen
|
||||||
- "Rejoin" LeftBanner button if room is public
|
- "Rejoin" LeftBanner button if room is public
|
||||||
- Daybreak color
|
- Daybreak color
|
||||||
- Html links color
|
|
||||||
- Replies
|
- Replies
|
||||||
- `pyotherside.atexit()`
|
- `pyotherside.atexit()`
|
||||||
- Sidepane
|
- Sidepane
|
||||||
|
|
|
@ -11,6 +11,7 @@ Label {
|
||||||
color: theme.colors.foreground
|
color: theme.colors.foreground
|
||||||
style: Label.Outline
|
style: Label.Outline
|
||||||
styleColor: theme.colors.textBorder
|
styleColor: theme.colors.textBorder
|
||||||
|
linkColor: theme.colors.accentDarker
|
||||||
|
|
||||||
maximumLineCount: elide == Label.ElideNone ? Number.MAX_VALUE : 1
|
maximumLineCount: elide == Label.ElideNone ? Number.MAX_VALUE : 1
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,7 @@ QtObject {
|
||||||
property color foregroundError: Ut.hsl(342, 64, 32)
|
property color foregroundError: Ut.hsl(342, 64, 32)
|
||||||
property color textBorder: Ut.hsla(0, 0, 0, 0.07)
|
property color textBorder: Ut.hsla(0, 0, 0, 0.07)
|
||||||
property color accent: Ut.hsl(25, 60, 50)
|
property color accent: Ut.hsl(25, 60, 50)
|
||||||
|
property color accentDarker: Ut.hsl(25, 60, 35)
|
||||||
}
|
}
|
||||||
|
|
||||||
property QtObject controls: QtObject {
|
property QtObject controls: QtObject {
|
||||||
|
@ -118,10 +119,12 @@ QtObject {
|
||||||
property color body: colors.foreground
|
property color body: colors.foreground
|
||||||
property color date: colors.foregroundDim
|
property color date: colors.foregroundDim
|
||||||
|
|
||||||
property color greenTextColor: Ut.hsl(80, 60, 25)
|
property color link: colors.accentDarker
|
||||||
|
property color greenText: Ut.hsl(80, 60, 25)
|
||||||
|
|
||||||
property string styleSheet:
|
property string styleSheet:
|
||||||
".greentext { color: " + greenTextColor + " }"
|
"a { color: " + link + " }" +
|
||||||
|
".greentext { color: " + greenText + " }"
|
||||||
|
|
||||||
property string styleInclude:
|
property string styleInclude:
|
||||||
'<style type"text/css">\n' + styleSheet + '\n</style>\n'
|
'<style type"text/css">\n' + styleSheet + '\n</style>\n'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user