Skip to content

Commit

Permalink
New logo and colour scheme for the new Big Brother season. (#2771)
Browse files Browse the repository at this point in the history
  • Loading branch information
meejle authored Oct 7, 2024
1 parent acdd1a2 commit a1475a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions apps/bigbrothernews/big_brother_news.star
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ load("schema.star", "schema")
load("xpath.star", "xpath")

NEWS_ICON = base64.decode("""
iVBORw0KGgoAAAANSUhEUgAAAEAAAAAgCAIAAAAt/+nTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAHnklEQVRYhe2Xa0xTaRrHn3NOS09PoZRegAqtTKGFjnXLxYLiKuJmFRXHOJB4QbK4YySGTVnXuCo665JVo+slTpTJ1ssqoMPiTIxmllkryIQo6sp4GQqiTKFQKKXKpS303nPOfqizY2Z11mQ2437o79P557zPef9Pnvd53hyAMGHChAnzI0BeFjhEaATJ7whES2cTU4p1brIv8dnZh58/a3FS94MkRb8tkz8E9u+nfJnw0m+j58uTk9IYBvVsQqJgimZ6EoO/lz8o+XnEoomcp8+CFph+i15fyYsEtIXo36pd49EZlnMfwMTMjpQJN6dtHO0iDTa53YyOBNJMCzfLl4+Rkx2u0bfr+HtgALA6j73yj7FPIhg9f/kVd8bzycLuABEX1ZEaMTxTkf5sOD1qwuFj9j+4JYuT86WT0xNGl/21n8Mwmv7vRy0+Pj4yMnJ6+n9QT4YyAfJ+kzwP3Rfw+0/8uo4wzGjqLUFJX5G4xU+zxkZlS5nfPM7K/lhkHzPHcgWRq9nq/r9PPqUcALB3797i4mIURQOBgE6n6+7ubmxsLCkpaW1tfXmPuLi4hoYGPp+P47jJZKqqqjp+/DiO4zk5OT8+AXRLpiQBScOfTJrudCQwmWahH11+mcnojVNZ4jP6LY/FrnZ/xmfDSkIqEBvYlqH4FZ7y9yWhYLlcrlKpBgcHIyMja2pq5mg0PT09LpcLADDsu+5isVi5ubmxsbFGo7GgoODky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WkUIefLkCXn9VyRFCPARlalK/tj6mA34EYbPnZ5bYHtg9wnAxyL467TP68Us+5XsAcBms9lstv9IPcTMzMzMzMyLU5/PG2rgvwaHRgpFCMWhQBD8ASAejGZ4wQD4feDzgSo8Ui4QfUX7/z4YI5j1+g4O/HHK7w89a2yA+OcACLAcEALLpYmLIxRv4Id0CB4AEIBgkHAEOAKAQBEWFoEpk8eNCfAwsnifm5zPZgO+N/BvZoEFFvjf528gl7DyEnAP7QAAAABJRU5ErkJggg==
""")

def main(config):
Expand Down Expand Up @@ -67,12 +67,12 @@ def render_article_larger(news):

for article in news:
news_text.append(render.Image(width = 64, height = 32, src = NEWS_ICON))
news_text.append(render.WrappedText("%s" % article[0], color = "#FAE24C", font = "tb-8", linespacing = 1, width = 64, align = "left"))
news_text.append(render.WrappedText("%s" % article[0], color = "#FFFFFF", font = "tb-8", linespacing = 1, width = 64, align = "left"))

# news_text.append(render.Box(width = 64, height = 2))
# news_text.append(render.WrappedText("%s" % article[1], font = "tb-8", color = "#ffffff", linespacing = 1, width = 64, align = "left"))
news_text.append(render.Box(width = 64, height = 2))
news_text.append(render.WrappedText("More at bigblagger .co.uk", font = "tb-8", color = "#EA37A5", linespacing = 1, width = 64, align = "left"))
news_text.append(render.WrappedText("More at bigblagger .co.uk", font = "tb-8", color = "#faa708", linespacing = 1, width = 64, align = "left"))

return (news_text)

Expand All @@ -82,12 +82,12 @@ def render_article_smaller(news):

for article in news:
news_text.append(render.Image(width = 64, height = 32, src = NEWS_ICON))
news_text.append(render.WrappedText("%s" % article[0], color = "#FAE24C", font = "tom-thumb", linespacing = 1, width = 64, align = "left"))
news_text.append(render.WrappedText("%s" % article[0], color = "#FFFFFF", font = "tom-thumb", linespacing = 1, width = 64, align = "left"))

# news_text.append(render.Box(width = 64, height = 2))
# news_text.append(render.WrappedText("%s" % article[1], font = "tom-thumb", color = "#ffffff", linespacing = 1, width = 64, align = "left"))
news_text.append(render.Box(width = 64, height = 2))
news_text.append(render.WrappedText("More at bigblagger .co.uk", font = "tom-thumb", color = "#EA37A5", linespacing = 1, width = 64, align = "left"))
news_text.append(render.WrappedText("More at bigblagger .co.uk", font = "tom-thumb", color = "#faa708", linespacing = 1, width = 64, align = "left"))

return (news_text)

Expand All @@ -106,9 +106,9 @@ def connectionError(config):
main_align = "start",
children = [
render.Image(width = 64, height = 32, src = NEWS_ICON),
render.WrappedText(content = errorHead, width = 64, color = "#FAE24C", font = fontsize, linespacing = 1, align = "left"),
render.WrappedText(content = errorHead, width = 64, color = "#FFFFFF", font = fontsize, linespacing = 1, align = "left"),
render.Box(width = 64, height = 2),
render.WrappedText(content = errorBlurb, width = 64, color = "#EA37A5", font = fontsize, linespacing = 1, align = "left"),
render.WrappedText(content = errorBlurb, width = 64, color = "#faa708", font = fontsize, linespacing = 1, align = "left"),
],
),
),
Expand Down
4 changes: 2 additions & 2 deletions apps/bigbrothernews/manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
id: big-brother-news
name: Big Brother News
summary: Ticker for bbspy
desc: Shows the top story from bbspy.co.uk.
summary: Ticker for Big Blagger
desc: Shows the top story from bigblagger.co.uk.
author: meejle
fileName: big_brother_news.star
packageName: bigbrothernews

0 comments on commit a1475a6

Please sign in to comment.