Merge pull request #10331 from Ultimaker/CURA-8380_Align_link_style_among_OS_in_whats_new

CURA-8380: Align link style among os in whats new
This commit is contained in:
Jelle Spijker 2021-08-25 13:16:50 +02:00 committed by GitHub
commit 392cca431f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 2 deletions

View file

@ -8,7 +8,7 @@ import UM 1.1 as UM
Rectangle
{
color: UM.Theme.getColor("secondary")
color: UM.Theme.getColor("toolbox_premium_packages_background")
height: childrenRect.height
width: parent.width
Column

View file

@ -71,6 +71,7 @@ ScrollView
padding: UM.Theme.getSize("default_margin").width
text: catalog.i18nc("@info", "No plugin has been installed.")
font: UM.Theme.getFont("medium")
color: UM.Theme.getColor("lining")
renderType: Text.NativeRendering
}
}
@ -123,6 +124,7 @@ ScrollView
visible: toolbox.materialsInstalledModel.count < 1
padding: UM.Theme.getSize("default_margin").width
text: catalog.i18nc("@info", "No material has been installed.")
color: UM.Theme.getColor("lining")
font: UM.Theme.getFont("medium")
renderType: Text.NativeRendering
}

View file

@ -119,7 +119,7 @@ Item
do_borders: false
textArea.wrapMode: TextEdit.Wrap
textArea.text: manager.getSubpageText(index)
textArea.text: "<style>a:link { color: " + UM.Theme.getColor("text_link") + "; text-decoration: underline; }</style>" + manager.getSubpageText(index)
textArea.textFormat: Text.RichText
textArea.readOnly: true
textArea.font: UM.Theme.getFont("default")

View file

@ -177,6 +177,7 @@
"toolbox_header_button_text_active": [255, 255, 255, 255],
"toolbox_header_button_text_inactive": [128, 128, 128, 255],
"toolbox_premium_packages_background": [57, 57, 57, 255],
"monitor_printer_family_tag": [86, 86, 106, 255],
"monitor_text_disabled": [102, 102, 102, 255],

View file

@ -428,6 +428,7 @@
"printer_config_mismatch": [127, 127, 127, 255],
"toolbox_header_button_text_inactive": [0, 0, 0, 255],
"toolbox_premium_packages_background": [240, 240, 240, 255],
"favorites_header_bar": [245, 245, 245, 255],
"favorites_header_hover": [245, 245, 245, 255],