Skip to content

Commit

Permalink
Redraw default background
Browse files Browse the repository at this point in the history
Make images crisper, fix aspect ratio. PNGs created using this script:

for x in ldpi-120 mdpi-160 hdpi-240 xhdpi-320 xxhdpi-480 xxxhdpi-640; do
    day=$(mktemp --suffix=.svg)
    sed 's/#000000/#dde1e6/g' artwork/app_background.svg > "$day"
    inkscape -b '#e4e9ee' -o app/src/main/res/drawable-${x%-*}/app_background.png -w ${x#*-} "$day"
    rm "$day"

    night=$(mktemp --suffix=.svg)
    sed 's/#000000/#181b1e/g' artwork/app_background.svg > "$night"
    inkscape -b '#1c2024' -o app/src/main/res/drawable-night-${x%-*}/app_background.png -w ${x#*-} "$night"
    rm "$night"
done

Densities match Table 1 here:
https://developer.android.com/training/multiscreen/screendensities#TaskProvideAltBmp

Signed-off-by: relan <[email protected]>
  • Loading branch information
relan committed Jan 16, 2021
1 parent 2a126f2 commit 912f952
Show file tree
Hide file tree
Showing 14 changed files with 2,946 additions and 0 deletions.
Binary file modified app/src/main/res/drawable-hdpi/app_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-ldpi/app_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-mdpi/app_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-night-hdpi/app_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-night-ldpi/app_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-night-mdpi/app_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-night-xhdpi/app_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-night-xxhdpi/app_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-night-xxxhdpi/app_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xhdpi/app_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xxhdpi/app_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xxxhdpi/app_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions artwork/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Here are hosted all artwork sources for the Android client.

* themes - balloon themes
* dist - distribution artwork
* app_background.svg - default background

## Icon specs

Expand Down
2,945 changes: 2,945 additions & 0 deletions artwork/app_background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 912f952

Please sign in to comment.