diff --git a/CHANGELOG.md b/CHANGELOG.md index 467627e..c7c75e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Kaleido releases +## 0.1.7 + +- Give the launcher banner and app icon a soft colored background: deep sea-glass light from the top right fading to a warm glow at the bottom left, behind the unchanged six-facet mark. + ## 0.1.6 - Replace the separate playback mode and transcode quality settings with one quality list: Original quality (the default), then 4K, 1080p, 720p and 480p. Existing preferences carry over. diff --git a/app/src/main/res/drawable/banner.xml b/app/src/main/res/drawable/banner.xml index c5bbc91..e4a67fd 100644 --- a/app/src/main/res/drawable/banner.xml +++ b/app/src/main/res/drawable/banner.xml @@ -1 +1 @@ - + diff --git a/app/src/main/res/drawable/icon.xml b/app/src/main/res/drawable/icon.xml index 854d2f6..680b7f8 100644 --- a/app/src/main/res/drawable/icon.xml +++ b/app/src/main/res/drawable/icon.xml @@ -1 +1 @@ - + diff --git a/distribution/Kaleido.apk b/distribution/Kaleido.apk index fc9fb75..d01a4de 100644 Binary files a/distribution/Kaleido.apk and b/distribution/Kaleido.apk differ diff --git a/distribution/Kaleido.apk.sha256 b/distribution/Kaleido.apk.sha256 index 4a15014..704ec32 100644 --- a/distribution/Kaleido.apk.sha256 +++ b/distribution/Kaleido.apk.sha256 @@ -1 +1 @@ -7b74562e9424ef4707e7e80ccf831610e4efa80a0879109b63074738c6195a88 Kaleido.apk +5ed19959904a8497fcef312dd0ee2e33008e9f551c732d520c4888486c09db28 Kaleido.apk diff --git a/distribution/latest.json b/distribution/latest.json index 1b1ca0a..31291fc 100644 --- a/distribution/latest.json +++ b/distribution/latest.json @@ -1,7 +1,7 @@ { - "version": "0.1.6", - "versionCode": 7, - "url": "https://git.elijahkuntz.com/Elijah/Kaleido/raw/tag/v0.1.6/distribution/Kaleido.apk", - "checksumUrl": "https://git.elijahkuntz.com/Elijah/Kaleido/raw/tag/v0.1.6/distribution/Kaleido.apk.sha256", - "notes": "- Replace the separate playback mode and transcode quality settings with one quality list: Original quality (the default), then 4K, 1080p, 720p and 480p. Existing preferences carry over.\n- Tapping Left or Right during playback now skips 10 seconds without showing the controls; quick taps add up. Holding Left or Right still opens the timeline for scrubbing.\n- Opening the controls straight to the timeline, by holding Left/Right or pressing fast-forward, now keeps focus on the timeline instead of jumping to Play." + "version": "0.1.7", + "versionCode": 8, + "url": "https://git.elijahkuntz.com/Elijah/Kaleido/raw/tag/v0.1.7/distribution/Kaleido.apk", + "checksumUrl": "https://git.elijahkuntz.com/Elijah/Kaleido/raw/tag/v0.1.7/distribution/Kaleido.apk.sha256", + "notes": "- Give the launcher banner and app icon a soft colored background: deep sea-glass light from the top right fading to a warm glow at the bottom left, behind the unchanged six-facet mark." } diff --git a/docs/design-system.md b/docs/design-system.md index 1d0bfe1..4d16555 100644 --- a/docs/design-system.md +++ b/docs/design-system.md @@ -12,7 +12,7 @@ The interface gives artwork priority. App chrome uses neutral near-black, charco - Search uses three columns of landscape results. Episodes use their actual stills, preserving their native proportions instead of cropping them into posters. - Features use original Plex clear-logo artwork within 264 × 80 dp, falling back to title text. Detail title: 34/37 sp. Library title: 29/34 sp. Discovery rail heading: 17/22 sp. Supporting information: 10/14 sp. - Poster and thumbnail corners: 6 dp. Compact action corners: 5 dp. Cards have no idle border; a compact bottom-right check marks watched titles, or a number shows remaining episodes for a show/season when Plex provides counts. Unwatched movies have no badge. Resumed movies/episodes only show a check after the configured playback threshold (80 percent by default), even if Plex retains a historical watched flag. Completed titles with no resume position retain Plex's watched state. Progress uses a two-dp inset line. -- The abstract six-facet aperture mark is shared by the header, sign-in, app icon, TV banner, and the cold-start aperture sequence. It uses muted sea-glass and warm ivory facets around a dark center, with no letterform or sparkle. +- The abstract six-facet aperture mark is shared by the header, sign-in, app icon, TV banner, and the cold-start aperture sequence. It uses muted sea-glass and warm ivory facets around a dark center, with no letterform or sparkle. The launcher banner and app icon place it on a diagonal light, deep sea-glass at the top right through near-black to a warm tan glow at the bottom left, with a soft vignette and nothing over the aperture; `scripts/generate_brand_tiles.py` regenerates both from `brand_mark.xml`. - Audience ratings display Rotten Tomatoes as a percentage beside its official Popcornmeter artwork, and IMDb on its native ten-point scale beside the gold IMDb logo. Both appear when Plex exposes both; TVDB is retained as a fallback when neither is available. Critic scores and unsupported providers are omitted. Stable preview focus hydrates detail metadata, where Plex exposes the full provider list. The official red Hot mark appears at 60 percent or above and the green Stale mark below 60 percent; each fits a stable, font-scaled square without recoloring or distortion. Verified Hot is not inferred from a percentage. Asset provenance is in [brand-assets.md](brand-assets.md). The IMDb vector uses the official gold primary mark and supplied clear space from the [IMDb brand toolkit](https://brand.imdb.com/imdb). ## Focus and motion diff --git a/scripts/generate_brand_tiles.py b/scripts/generate_brand_tiles.py new file mode 100644 index 0000000..f97686b --- /dev/null +++ b/scripts/generate_brand_tiles.py @@ -0,0 +1,29 @@ +"""Generate the launcher banner and app icon vector drawables from brand_mark.xml. + +The mark is copied unchanged; only the background is drawn here: a diagonal light from +deep sea-glass (top right) through near-black to a warm tan glow (bottom left), echoing the +mark's cool and warm facets, with a soft vignette. Nothing covers the mark's dark aperture. +""" +import pathlib,re +ROOT=pathlib.Path(__file__).resolve().parents[1] +DRAWABLE=ROOT/'app/src/main/res/drawable' +MARK=re.findall(r']*/>',(DRAWABLE/'brand_mark.xml').read_text()) + +def color(hex6,alpha):return f'#{round(alpha*255):02X}{hex6}' +def gradient(kind,attrs,stops): + items=''.join(f'' for o,c in stops) + return f'{items}' +def tile(width,height,mark_scale,mark_x,mark_y): + cx,cy=width/2,height/2;rect=f'M0,0h{width}v{height}h-{width}z' + light=gradient('linear',f'android:startX="{width}" android:startY="0" android:endX="0" android:endY="{height}"', + [(0,'#FF1B403C'),(.5,'#FF101414'),(1,'#FF30241A')]) + vignette=gradient('radial',f'android:centerX="{cx}" android:centerY="{cy}" android:gradientRadius="{width*.62:.1f}"', + [(.35,color('000000',0)),(1,color('000000',.45))]) + group=f''+''.join(MARK)+'' + return ('' + f'{light}{vignette}'+group+'\n') + +(DRAWABLE/'banner.xml').write_text(tile(320,180,1.6,108.8,38.8)) +(DRAWABLE/'icon.xml').write_text(tile(108,108,1,22,22)) +print('Wrote banner.xml and icon.xml') diff --git a/version.properties b/version.properties index 06e2e05..8af8958 100644 --- a/version.properties +++ b/version.properties @@ -1,2 +1,2 @@ -versionName=0.1.6 -versionCode=7 +versionName=0.1.7 +versionCode=8