Commit f0423b23 authored by Prayag Jain's avatar Prayag Jain Committed by Carl Schwan
Browse files

Set the color of the text in the "help" page to the theme's text color....

parent e4cb9891
......@@ -7,6 +7,7 @@
import QtQuick 2.1
import org.kde.kirigami 2.6 as Kirigami
import QtQuick.Layouts 1.14
import QtQuick.Controls 2.15 as QQC2
Kirigami.ScrollablePage {
title: i18n("Help")
......@@ -16,26 +17,27 @@ Kirigami.ScrollablePage {
Layout.fillWidth: true
level: 1
text: i18n("Contrast")
}
Text {
}
QQC2.Label {
Layout.fillWidth: true
wrapMode: Text.WordWrap
text: i18n("Contrast is the difference in color between two objects that allows them to be distinguished. In visual perception of the real world, contrast is determined by the difference in the color and brightness of the object and other objects within the same field of view.")
}
Text {
QQC2.Label {
Layout.fillWidth: true
wrapMode: Text.WordWrap
text: i18n("A contrast value of 21 indicates a perfect contrast (usually black on white), and a value of 0 indicate that the two colors are the same.")
}
Text {
QQC2.Label {
Layout.fillWidth: true
wrapMode: Text.WordWrap
text: i18n("For normal text, the contrast ratio should be at least of 4.5 to conform to the WCAG AA standard and a contrast ratio of 7 or more is required to conform with the WCAG AAA standard.")
}
Text {
QQC2.Label {
Layout.fillWidth: true
wrapMode: Text.WordWrap
text: i18n("For large text, the contrast ratio should be at least of 3 to conform to the WCAG AA standard and a contrast ratio of 4.5 or more is required to conform with the WCAG AAA standard.")
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment