[chore] update dependencies (#352)
* update dependencies * Update lint exceptions for colors --------- Co-authored-by: iBicha <iBicha@users.noreply.github.com> Co-authored-by: Brahim Hadriche <brahim.hadriche@gmail.com>
This commit is contained in:
9 files changed
+105
-126
No files matched your search
@@ -14,7 +14,6 @@ function OnItemHasFocus()
|
||||
m.top.color = "#262626ff"
|
||||
else
|
||||
m.top.font = "font:SmallestSystemFont"
|
||||
' bs:disable-next-line LINT3023
|
||||
m.top.color = "#EBEBEBFF"
|
||||
end if
|
||||
end function
|
||||
@@ -25,7 +24,6 @@ function OnFocusPercent()
|
||||
m.top.color = "#262626FF"
|
||||
else
|
||||
m.top.font = "font:SmallestSystemFont"
|
||||
' bs:disable-next-line LINT3023
|
||||
m.top.color = "#EBEBEBFF"
|
||||
end if
|
||||
end function
|
||||
@@ -4,10 +4,8 @@ function SetPalette(dialog as object)
|
||||
DialogBackgroundColor: "#242424FF"
|
||||
DialogFocusColor: "#CECECEFF"
|
||||
DialogFocusItemColor: "#202020FF"
|
||||
' bs:disable-next-line LINT3023
|
||||
DialogSecondaryTextColor: "#EBEBEBFF"
|
||||
DialogSecondaryItemColor: "#FF1C30FF"
|
||||
' bs:disable-next-line LINT3023
|
||||
DialogTextColor: "#EBEBEBFF"
|
||||
}
|
||||
dialog.palette = palette
|
||||
|
||||
@@ -28,15 +28,11 @@ function Init()
|
||||
"Bold": {
|
||||
"fontSize": 22
|
||||
"fontUri": "font:SmallBoldSystemFont"
|
||||
' TODO:P2 DDDDDDFF is the default for labels, but the linter is not happy about it
|
||||
' We need to figure out if the linter has wrong values or not
|
||||
' bs:disable-next-line LINT3023
|
||||
"color": "#DDDDDDFF"
|
||||
}
|
||||
"default": {
|
||||
"fontSize": 22
|
||||
"fontUri": "font:SmallSystemFont"
|
||||
' bs:disable-next-line LINT3023
|
||||
"color": "#DDDDDDFF"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,13 +36,11 @@ function OnContentSet() as void
|
||||
m.top.thumbnailUri = content.thumbnail
|
||||
|
||||
if ValidInt(content.lengthSeconds) <> 0
|
||||
' bs:disable-next-line LINT3023
|
||||
SetDurationLabel(content.lengthText, "#000000FF", 0.8, m.smallestSystemFont)
|
||||
SetDurationLabel(content.lengthText, "#161616FF", 0.8, m.smallestSystemFont)
|
||||
m.top.durationRectVisible = true
|
||||
else
|
||||
if content.isUpcoming = true
|
||||
' bs:disable-next-line LINT3023
|
||||
SetDurationLabel(Tr(Locale.RowCell.Upcoming), "#000000FF", 0.8, m.smallestBoldSystemFont)
|
||||
SetDurationLabel(Tr(Locale.RowCell.Upcoming), "#161616FF", 0.8, m.smallestBoldSystemFont)
|
||||
m.top.durationRectVisible = true
|
||||
else if content.liveNow
|
||||
SetDurationLabel(Tr(Locale.RowCell.Live), "#CC0000FF", 0.9, m.smallestBoldSystemFont)
|
||||
|
||||
Reference in new issue
Block a user