Better naming in some of the theme properties used in qml

This commit is contained in:
luisangelsm
2026-03-07 22:21:18 +01:00
parent 7103d0de3c
commit 27b59ad8a9
11 changed files with 156 additions and 156 deletions

View File

@ -13,7 +13,7 @@ Rectangle {
height: info.height + 2 * topMargin
property string infoColor: infoTextColor
property string infoColor: infoMetadataTextColor
property font infoFont: Qt.font({
family: "Arial",
@ -135,7 +135,7 @@ Rectangle {
id: title
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.bold: true
font.pixelSize: mainContainer.compact ? 18 : 21;
@ -279,7 +279,7 @@ Rectangle {
Layout.fillWidth: true
id: sinopsis
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
wrapMode: Text.WordWrap
@ -294,7 +294,7 @@ Rectangle {
Layout.bottomMargin: 5
id: characters_title
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 18
font.bold: true
@ -312,7 +312,7 @@ Rectangle {
model: comicInfo ? comicInfo.getCharacters().length : null
Text {
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -326,7 +326,7 @@ Rectangle {
Layout.bottomMargin: 5
id: main_character_or_team_title
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 18
font.bold: true
@ -337,7 +337,7 @@ Rectangle {
}
Text {
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -351,7 +351,7 @@ Rectangle {
Layout.bottomMargin: 5
id: teams_title
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 18
font.bold: true
@ -371,7 +371,7 @@ Rectangle {
model: comicInfo ? comicInfo.getTeams().length : null
Text {
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -385,7 +385,7 @@ Rectangle {
Layout.bottomMargin: 5
id: locations_title
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 18
font.bold: true
@ -403,7 +403,7 @@ Rectangle {
model: comicInfo ? comicInfo.getLocations().length : null
Text {
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -417,7 +417,7 @@ Rectangle {
Layout.bottomMargin: 5
id: authors_title
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 18
font.bold: true
@ -442,7 +442,7 @@ Rectangle {
model: comicInfo ? comicInfo.getWriters().length : null
Column{
Text {
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -450,7 +450,7 @@ Rectangle {
}
Text {
color: infoTextColor
color: infoMetadataTextColor
font.family: "Arial"
font.pixelSize: 13
font.italic: true
@ -464,7 +464,7 @@ Rectangle {
model: comicInfo ? comicInfo.getPencillers().length : null
Column{
Text {
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -472,7 +472,7 @@ Rectangle {
}
Text {
color: infoTextColor
color: infoMetadataTextColor
font.family: "Arial"
font.pixelSize: 13
font.italic: true
@ -486,7 +486,7 @@ Rectangle {
model: comicInfo ? comicInfo.getInkers().length : null
Column{
Text {
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -494,7 +494,7 @@ Rectangle {
}
Text {
color: infoTextColor
color: infoMetadataTextColor
font.family: "Arial"
font.pixelSize: 13
font.italic: true
@ -508,7 +508,7 @@ Rectangle {
model: comicInfo ? comicInfo.getColorists().length : null
Column{
Text {
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -516,7 +516,7 @@ Rectangle {
}
Text {
color: infoTextColor
color: infoMetadataTextColor
font.family: "Arial"
font.pixelSize: 13
font.italic: true
@ -530,7 +530,7 @@ Rectangle {
model: comicInfo ? comicInfo.getLetterers().length : null
Column{
Text {
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -538,7 +538,7 @@ Rectangle {
}
Text {
color: infoTextColor
color: infoMetadataTextColor
font.family: "Arial"
font.pixelSize: 13
font.italic: true
@ -552,7 +552,7 @@ Rectangle {
model: comicInfo ? comicInfo.getCoverArtists().length : null
Column{
Text {
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -560,7 +560,7 @@ Rectangle {
}
Text {
color: infoTextColor
color: infoMetadataTextColor
font.family: "Arial"
font.pixelSize: 13
font.italic: true
@ -574,7 +574,7 @@ Rectangle {
model: comicInfo ? comicInfo.getEditors().length : null
Column{
Text {
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -582,7 +582,7 @@ Rectangle {
}
Text {
color: infoTextColor
color: infoMetadataTextColor
font.family: "Arial"
font.pixelSize: 13
font.italic: true
@ -596,7 +596,7 @@ Rectangle {
model: comicInfo ? comicInfo.getImprint().length : null
Column{
Text {
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -604,7 +604,7 @@ Rectangle {
}
Text {
color: infoTextColor
color: infoMetadataTextColor
font.family: "Arial"
font.pixelSize: 13
font.italic: true
@ -618,7 +618,7 @@ Rectangle {
Layout.topMargin: 25
id: publisher_title
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 18
font.bold: true
@ -635,7 +635,7 @@ Rectangle {
Text {
id: publisher
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -647,7 +647,7 @@ Rectangle {
Text {
id: format
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -659,7 +659,7 @@ Rectangle {
Text {
id: type
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -671,7 +671,7 @@ Rectangle {
Text {
id: color
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -683,7 +683,7 @@ Rectangle {
Text {
id: language
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15
@ -695,7 +695,7 @@ Rectangle {
Text {
id: age_rating
color: infoTitleColor
color: infoTextColor
font.family: "Arial"
font.pixelSize: 15