Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ginkgo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fred
ginkgo
Commits
80d022b9
Commit
80d022b9
authored
1 year ago
by
vjrj
Browse files
Options
Downloads
Patches
Plain Diff
More icons work
parent
13f9bf9b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
assets/img/favicon.png
+0
-0
0 additions, 0 deletions
assets/img/favicon.png
assets/img/favicon.sh
+52
-0
52 additions, 0 deletions
assets/img/favicon.sh
web/manifest.json
+4
-4
4 additions, 4 deletions
web/manifest.json
with
56 additions
and
4 deletions
assets/img/favicon.png
+
0
−
0
View replaced file @
13f9bf9b
View file @
80d022b9
11.9 KiB
|
W:
|
H:
11.9 KiB
|
W:
|
H:
2-up
Swipe
Onion skin
This diff is collapsed.
Click to expand it.
assets/img/favicon.sh
+
52
−
0
View file @
80d022b9
...
...
@@ -7,9 +7,61 @@ convert leaf.png -resize 256x256 \
favicon.ico
convert leaf.png
-resize
256x256 favicon.png
convert leaf.png
-resize
32x32 favicon-32x32.png
convert leaf.png
-resize
16x16 favicon-16x16.png
cp
favicon.png ../../web/
cp
favicon.ico ../../web/
cp
favicon-32x32.png ../../web/icons/
cp
favicon-16x16.png ../../web/icons/
for
i
in
192 512
;
do
convert leaf.png
-resize
$ix$i
../../web/icons/Icon-
$i
.png
;
done
for
i
in
192 512
;
do
convert leaf.png
-resize
$ix$i
../../web/icons/Icon-maskable-
$i
.png
;
done
#!/bin/bash
BASE
=
leaf.png
#IOS=../../../../../ios/Runner/Assets.xcassets/LaunchImage.imageset
#IOSICON=../../../../../ios/Runner/Assets.xcassets/AppIcon.appiconset
# ls $BASE
# ls $IOS
#convert $BASE -resize 48x mipmap-mdpi/launch_image.png
#convert $BASE -resize 72x mipmap-hdpi/launch_image.png
#convert $BASE -resize 96x mipmap-xhdpi/launch_image.png
#convert $BASE -resize 144x mipmap-xxhdpi/launch_image.png
#convert $BASE -resize 192x mipmap-xxxhdpi/launch_image.png
#
#cp mipmap-mdpi/launch_image.png $IOS/LaunchImage.png
#cp mipmap-xhdpi/launch_image.png $IOS/LaunchImage@2x.png
#cp mipmap-xxhdpi/launch_image.png $IOS/LaunchImage@3x.png
#cp mipmap-xxxhdpi/launch_image.png $IOS/LaunchImage@4x.png
DEST
=
../..
convert
$BASE
-resize
48x
$DEST
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
convert
$BASE
-resize
72x
$DEST
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
convert
$BASE
-resize
96x
$DEST
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
convert
$BASE
-resize
144x
$DEST
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
convert
$BASE
-resize
192x
$DEST
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
# convert $BASE -resize 1024x1024 $IOSICON/Icon-App-1024x1024@1x.png
# convert $BASE -resize 20x20 $IOSICON/Icon-App-20x20@1x.png
# convert $BASE -resize 40x40 $IOSICON/Icon-App-20x20@2x.png
# convert $BASE -resize 60x60 $IOSICON/Icon-App-20x20@3x.png
# convert $BASE -resize 29x29 $IOSICON/Icon-App-29x29@1x.png
# convert $BASE -resize 58x58 $IOSICON/Icon-App-29x29@2x.png
# convert $BASE -resize 87x87 $IOSICON/Icon-App-29x29@3x.png
# convert $BASE -resize 40x40 $IOSICON/Icon-App-40x40@1x.png
# convert $BASE -resize 80x80 $IOSICON/Icon-App-40x40@2x.png
# convert $BASE -resize 120x120 $IOSICON/Icon-App-40x40@3x.png
# convert $BASE -resize 120x120 $IOSICON/Icon-App-60x60@2x.png
# convert $BASE -resize 180x180 $IOSICON/Icon-App-60x60@3x.png
# convert $BASE -resize 76x76 $IOSICON/Icon-App-76x76@1x.png
# convert $BASE -resize 152x152 $IOSICON/Icon-App-76x76@2x.png
# convert $BASE -resize 167x167 $IOSICON/Icon-App-83.5x83.5@2x.png
This diff is collapsed.
Click to expand it.
web/manifest.json
+
4
−
4
View file @
80d022b9
...
...
@@ -10,23 +10,23 @@
"prefer_related_applications"
:
false
,
"icons"
:
[
{
"src"
:
"icons/Icon-192.png"
,
"src"
:
"
/
icons/Icon-192.png"
,
"sizes"
:
"192x192"
,
"type"
:
"image/png"
},
{
"src"
:
"icons/Icon-512.png"
,
"src"
:
"
/
icons/Icon-512.png"
,
"sizes"
:
"512x512"
,
"type"
:
"image/png"
},
{
"src"
:
"icons/Icon-maskable-192.png"
,
"src"
:
"
/
icons/Icon-maskable-192.png"
,
"sizes"
:
"192x192"
,
"type"
:
"image/png"
,
"purpose"
:
"maskable"
},
{
"src"
:
"icons/Icon-maskable-512.png"
,
"src"
:
"
/
icons/Icon-maskable-512.png"
,
"sizes"
:
"512x512"
,
"type"
:
"image/png"
,
"purpose"
:
"maskable"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment