[ubuntu] better colouring of texts
This commit is contained in:
parent
6ccbbb85e7
commit
052fb649f4
2 changed files with 2 additions and 4 deletions
|
|
@ -86,15 +86,13 @@ Item {
|
|||
right: parent.right
|
||||
rightMargin: Theme.paddingLarge
|
||||
}
|
||||
|
||||
color: Theme.secondaryColor
|
||||
}
|
||||
RescalingRichText {
|
||||
id: itemView
|
||||
width: parent.width
|
||||
text: parseContent(root.content, root.attachments)
|
||||
fontSize: Theme.fontSizeSmall
|
||||
color: Theme.primaryColor
|
||||
color: Theme.palette.selected.baseText
|
||||
onLinkActivated: Qt.openUrlExternally(link)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ Item {
|
|||
property alias color: contentText.color
|
||||
property real fontSize: Theme.fontSizeSmall
|
||||
|
||||
property string _RICHTEXT_STYLESHEET_PREAMBLE: "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><style>a { text-decoration: none; color: '" + Theme.highlightColor + "' }</style></head><body>";
|
||||
property string _RICHTEXT_STYLESHEET_PREAMBLE: "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><style>a { text-decoration: none; color: 'blue' }</style></head><body>";
|
||||
property string _RICHTEXT_STYLESHEET_APPENDIX: "</body></html>";
|
||||
|
||||
property real scaling: 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue