Action bar color, favicon for website

This commit is contained in:
Philipp Heckel 2021-10-31 12:40:20 -04:00
parent 5d3cca7f91
commit 785a36e257
7 changed files with 437 additions and 4 deletions

View file

@ -1,8 +1,8 @@
<!--?xml version="1.0" encoding="UTF-8"?-->
<resources>
<color name="primaryColor">#3d9d89</color>
<color name="primaryLightColor">#3d9d89</color>
<color name="primaryDarkColor">#3d9d89</color>
<color name="primaryColor">#338574</color>
<color name="primaryLightColor">#338574</color>
<color name="primaryDarkColor">#338574</color>
<color name="primaryTextColor">#000000</color>
<color name="primaryLightTextColor">#FFFFFF</color>

View file

@ -3,5 +3,6 @@
<item name="colorPrimary">@color/primaryColor</item>
<item name="colorPrimaryVariant">@color/primaryDarkColor</item>
<item name="colorAccent">@color/primaryLightColor</item>
<item name="android:statusBarColor">@color/primaryColor</item>
</style>
</resources>

BIN
assets/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

179
assets/favicon.svg Normal file
View file

@ -0,0 +1,179 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="150"
height="150"
viewBox="0 0 39.687498 39.687502"
version="1.1"
id="svg8"
inkscape:version="1.1.1 (3bf5ae0, 2021-09-20)"
sodipodi:docname="favicon.svg"
inkscape:export-filename="/home/pheckel/Code/ntfy-android/assets/favicon.png"
inkscape:export-xdpi="81.919998"
inkscape:export-ydpi="81.919998"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs2">
<linearGradient
inkscape:collect="always"
id="linearGradient28858">
<stop
style="stop-color:#348878;stop-opacity:1"
offset="0"
id="stop28854" />
<stop
style="stop-color:#56bda8;stop-opacity:1"
offset="1"
id="stop28856" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient26773">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop26769" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop26771" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient13319">
<stop
style="stop-color:#d3d3d3;stop-opacity:1"
offset="0"
id="stop13315" />
<stop
style="stop-color:#feffff;stop-opacity:1"
offset="1"
id="stop13317" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient13319"
id="linearGradient13321"
x1="51.147327"
y1="81.515579"
x2="101.41816"
y2="131.78641"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient26773"
id="linearGradient26775"
x1="24.930517"
y1="34.460789"
x2="180.95911"
y2="190.48938"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient28858"
id="linearGradient28860"
x1="71.579453"
y1="89.347107"
x2="94.328819"
y2="108.10192"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.5820285,0,0,1.5820285,-55.86363,-50.199094)" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.1031741"
inkscape:cx="-62.524543"
inkscape:cy="67.041525"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:measure-start="0,0"
inkscape:measure-end="0,0"
inkscape:snap-text-baseline="true"
inkscape:window-width="1863"
inkscape:window-height="1025"
inkscape:window-x="57"
inkscape:window-y="27"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
showguides="true"
inkscape:guide-bbox="true"
inkscape:pagecheckerboard="0"
units="px"
height="129px" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="background"
style="display:none"
transform="translate(-5.5755696,-7.930188)">
<path
style="opacity:1;fill:url(#linearGradient13321);fill-opacity:1;stroke-width:0.264583"
d="M 51.147327,81.515579 H 101.41816 V 131.78641 H 51.147327 Z"
id="rect283"
transform="translate(-51.147326,-81.51558)" />
</g>
<g
inkscape:groupmode="layer"
id="layer4"
inkscape:label="drop shadow"
style="display:none"
transform="translate(-5.5755696,-7.930188)">
<path
id="path25977"
style="opacity:0.274892;fill:url(#linearGradient26775);fill-opacity:1;stroke:none;stroke-width:0.999999px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 167.26758,32.443359 -11.3647,41.791513 0.85286,84.027598 L 21.072266,158.26172 52.830078,190 H 190 V 55.175781 Z"
transform="scale(0.26458333)"
sodipodi:nodetypes="cccccccc" />
</g>
<g
inkscape:label="foreground"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-56.722897,-89.445767)"
style="display:inline">
<path
style="fill:url(#linearGradient28860);fill-opacity:1;stroke-width:1.90318"
inkscape:connector-curvature="0"
d="M 92.352819,91.306661 H 61.007838 c -2.154992,0 -3.918145,1.663998 -3.918145,3.697757 v 33.279962 l 7.836262,-7.39553 h 27.426864 c 2.154996,0 3.918132,-1.66402 3.918132,-3.69783 V 95.004418 c 0,-2.033759 -1.763136,-3.697757 -3.918132,-3.697757 z M 70.80314,107.94664 h -3.918112 v -3.69777 h 3.918112 z m 7.836263,0 h -3.91815 v -3.69777 h 3.91815 z m 7.836224,0 H 82.55752 v -3.69777 h 3.918107 z"
id="path403" />
</g>
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="round icon preview"
style="display:none"
transform="translate(-5.5755696,-7.930188)">
<path
id="path18850"
style="display:inline;fill:#ffffff;fill-opacity:1;stroke-width:0.264583"
d="M 1e-6,-3e-6 V 50.27083 H 22.272026 A 25.220409,25.220409 0 0 1 0.008786,25.241867 25.220409,25.220409 0 0 1 25.228952,0.021184 25.220409,25.220409 0 0 1 50.270834,22.261687 V -3e-6 Z M 50.270834,28.086655 A 25.220409,25.220409 0 0 1 28.186394,50.27083 h 22.08444 z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 6 KiB

View file

@ -9,7 +9,7 @@
id="svg8"
inkscape:version="1.1.1 (3bf5ae0, 2021-09-20)"
sodipodi:docname="launcher.svg"
inkscape:export-filename="/home/pheckel/Code/ntfy-android/assets/launcher.png"
inkscape:export-filename="/home/pheckel/Code/ntfy-android/assets/launcher_fg.png"
inkscape:export-xdpi="258.69"
inkscape:export-ydpi="258.69"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

BIN
assets/logo_website.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

253
assets/logo_website.svg Normal file
View file

@ -0,0 +1,253 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="150"
height="150"
viewBox="0 0 39.687498 39.687502"
version="1.1"
id="svg8"
inkscape:version="1.1.1 (3bf5ae0, 2021-09-20)"
sodipodi:docname="logo_website.svg"
inkscape:export-filename="/home/pheckel/Code/ntfy-android/assets/favicon.png"
inkscape:export-xdpi="81.919998"
inkscape:export-ydpi="81.919998"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs2">
<linearGradient
inkscape:collect="always"
id="linearGradient28858">
<stop
style="stop-color:#3d9d89;stop-opacity:1;"
offset="0"
id="stop28854" />
<stop
style="stop-color:#6bc5b3;stop-opacity:1"
offset="1"
id="stop28856" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient26773">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop26769" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop26771" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient13319">
<stop
style="stop-color:#d3d3d3;stop-opacity:1"
offset="0"
id="stop13315" />
<stop
style="stop-color:#feffff;stop-opacity:1"
offset="1"
id="stop13317" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient873">
<stop
style="stop-color:#4d4d4d;stop-opacity:1;"
offset="0"
id="stop869" />
<stop
style="stop-color:#656565;stop-opacity:0"
offset="1"
id="stop871" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient843">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop839" />
<stop
style="stop-color:#434343;stop-opacity:0.88235295"
offset="1"
id="stop841" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient843"
id="linearGradient845"
x1="59.671928"
y1="101.946"
x2="87.224854"
y2="122.54991"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.302925,0,0,1.302925,-20.878025,-33.638325)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient873"
id="linearGradient875"
x1="59.671928"
y1="101.946"
x2="87.091209"
y2="105.0985"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.3104386,0,0,1.302925,-21.326379,-33.638325)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient13319"
id="linearGradient13321"
x1="51.147327"
y1="81.515579"
x2="101.41816"
y2="131.78641"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient26773"
id="linearGradient26775"
x1="24.930517"
y1="34.460789"
x2="180.95911"
y2="190.48938"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient28858"
id="linearGradient28860"
x1="71.579453"
y1="89.347107"
x2="94.328819"
y2="108.10192"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0.14712694,2.6458334)" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8851069"
inkscape:cx="15.424039"
inkscape:cy="96.010309"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:measure-start="0,0"
inkscape:measure-end="0,0"
inkscape:snap-text-baseline="true"
inkscape:window-width="1863"
inkscape:window-height="1025"
inkscape:window-x="57"
inkscape:window-y="27"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
showguides="true"
inkscape:guide-bbox="true"
inkscape:pagecheckerboard="0"
units="px"
height="129px" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="background"
style="display:none"
transform="translate(-5.5755696,-7.930188)">
<path
style="opacity:1;fill:url(#linearGradient13321);fill-opacity:1;stroke-width:0.264583"
d="M 51.147327,81.515579 H 101.41816 V 131.78641 H 51.147327 Z"
id="rect283"
transform="translate(-51.147326,-81.51558)" />
</g>
<g
inkscape:groupmode="layer"
id="layer4"
inkscape:label="drop shadow"
style="display:none"
transform="translate(-5.5755696,-7.930188)">
<path
id="path25977"
style="opacity:0.274892;fill:url(#linearGradient26775);fill-opacity:1;stroke:none;stroke-width:0.999999px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 167.26758,32.443359 -11.3647,41.791513 0.85286,84.027598 L 21.072266,158.26172 52.830078,190 H 190 V 55.175781 Z"
transform="scale(0.26458333)"
sodipodi:nodetypes="cccccccc" />
</g>
<g
inkscape:label="foreground"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-56.722897,-89.445767)"
style="display:inline">
<rect
style="fill:url(#linearGradient845);fill-opacity:1;stroke:none;stroke-width:0.16339;stroke-opacity:1"
id="rect283-1"
width="35.899391"
height="26.845356"
x="56.870026"
y="99.189674" />
<g
aria-label="&gt;_"
style="font-style:normal;font-weight:normal;font-size:8.48274px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.212069"
id="text320"
transform="matrix(1.302925,0,0,1.302925,-20.69267,-34.517514)">
<path
d="m 62.57046,116.77004 v -1.31201 l 3.280018,-1.45904 q 0.158346,-0.0679 0.305381,-0.1018 0.158346,-0.0452 0.282761,-0.0679 0.135725,-0.0113 0.271449,-0.0226 v -0.0905 q -0.135724,-0.0113 -0.271449,-0.0452 -0.124415,-0.0226 -0.282761,-0.0566 -0.147035,-0.0452 -0.305381,-0.1131 l -3.280018,-1.45904 v -1.32332 l 5.067063,2.31863 v 1.4138 z"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:11.3104px;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;stroke-width:0.212069"
id="path1011"
inkscape:connector-curvature="0" />
<path
d="m 69.17132,117.75404 h 5.428996 v 1.27808 H 69.17132 Z"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:11.3104px;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;stroke-width:0.212069"
id="path1013"
inkscape:connector-curvature="0" />
</g>
<rect
style="fill:url(#linearGradient875);fill-opacity:1;stroke-width:0.0815418"
id="rect283-1-9"
width="36.106411"
height="6.6478906"
x="56.870026"
y="99.189674" />
<path
style="fill:url(#linearGradient28860);fill-opacity:1;stroke-width:1.203"
inkscape:connector-curvature="0"
d="M 93.834724,92.091602 H 74.021566 c -1.36217,0 -2.476659,1.051813 -2.476659,2.337352 v 21.036256 l 4.9533,-4.67471 h 17.336517 c 1.362173,0 2.476651,-1.05183 2.476651,-2.3374 V 94.428954 c 0,-1.285539 -1.114478,-2.337352 -2.476651,-2.337352 z M 80.213175,102.60973 h -2.476638 v -2.33736 h 2.476638 z m 4.953301,0 h -2.476662 v -2.33736 h 2.476662 z m 4.953276,0 h -2.476635 v -2.33736 h 2.476635 z"
id="path403" />
</g>
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="round icon preview"
style="display:none"
transform="translate(-5.5755696,-7.930188)">
<path
id="path18850"
style="display:inline;fill:#ffffff;fill-opacity:1;stroke-width:0.264583"
d="M 1e-6,-3e-6 V 50.27083 H 22.272026 A 25.220409,25.220409 0 0 1 0.008786,25.241867 25.220409,25.220409 0 0 1 25.228952,0.021184 25.220409,25.220409 0 0 1 50.270834,22.261687 V -3e-6 Z M 50.270834,28.086655 A 25.220409,25.220409 0 0 1 28.186394,50.27083 h 22.08444 z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.4 KiB