Add icons and translations
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 50 KiB |
@@ -1,15 +1,59 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="#FFFBCF">
|
||||
<group android:scaleX="0.5568"
|
||||
android:scaleY="0.5568"
|
||||
android:translateX="5.3184"
|
||||
android:translateY="5.3184">
|
||||
android:viewportWidth="128"
|
||||
android:viewportHeight="128">
|
||||
<group android:scaleX="0.6072"
|
||||
android:scaleY="0.6072"
|
||||
android:translateX="25.1392"
|
||||
android:translateY="24.419556">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M9,21c0,0.5 0.4,1 1,1h4c0.6,0 1,-0.5 1,-1v-1L9,20v1zM12,2C8.1,2 5,5.1 5,9c0,2.4 1.2,4.5 3,5.7L8,17c0,0.5 0.4,1 1,1h6c0.6,0 1,-0.5 1,-1v-2.3c1.8,-1.3 3,-3.4 3,-5.7 0,-3.9 -3.1,-7 -7,-7z"/>
|
||||
android:pathData="M48.37,30.91c0,0 -11.64,-10.14 -12.76,-11.26c-1.13,-1.13 -3.94,-3.19 -3.38,-4.69c0.56,-1.5 9.95,-5.26 16.52,-6.57s20.23,-3.38 32.43,2.25s22.01,13.14 30.64,27.03s10.91,33.24 11.45,43.92c0.56,11.23 -3.63,27.24 -3.63,27.24l-1.82,2.79L48.37,30.91z"
|
||||
android:fillColor="#464C4F"/>
|
||||
<path
|
||||
android:pathData="M122.49,94.27c-0.74,8.26 -2.86,14.73 -2.86,14.73l-1.5,3.19L48.67,31.47l10.11,-2.82L45.9,9.09c2.43,-1.02 7.29,-1.97 12.78,-1.97l6.65,26.11l8.55,-25.09c3.7,0.53 9.54,3.27 10.88,4.26L71.88,39.22l4.08,1.48l17.1,-23.3c2.39,1.23 3.98,2.39 5.84,4.5L81.59,44.64l5.63,4.15l17.95,-20.41c2.5,2.36 4.29,4.8 6.16,8.41l-17.7,16.65L97.01,59l19.22,-12.67c1.16,2.32 1.79,3.84 2.22,6.02L99.33,63.71l4.65,5.21l16.61,-9.08c0.81,2.18 1.27,4.01 1.37,6.55l-17.77,8.94l2.96,6.69l15.94,-5.77c0.49,2.39 0.53,3.7 0.21,6.05l-13.55,4.93l3.24,8.09L122.49,94.27z"
|
||||
android:fillColor="#DFDFE0"/>
|
||||
<path
|
||||
android:pathData="M56.53,27.11c0,0 -6.48,0.28 -10.56,3.38S34.01,41.61 30.21,46.11s-10,12.67 -10,12.67l8.02,24.64l5.07,6.76c0,0 9.15,1.27 17.03,-1.27c7.88,-2.53 12.95,-6.19 12.95,-6.19s-1.55,9.85 -2.82,18.44c-1.27,8.59 -2.86,19.01 -2.16,19.85c0.7,0.84 15.67,1.69 30.88,1.27s29,-1.41 29.7,-2.11c0.7,-0.7 2.82,-20.27 -6.76,-45.19S86.38,38.93 84.83,37.95c-1.55,-0.99 -6.05,-3.1 -6.05,-3.1s0.56,-12.11 -2.82,-18.16S71.8,7.64 69.62,7.4c-2.6,-0.28 -7.67,6.26 -9.43,9.01C57.97,19.87 56.53,27.11 56.53,27.11z"
|
||||
android:fillColor="#2F2F2F"/>
|
||||
<path
|
||||
android:pathData="M22.53,58.86l10.49,-13.09c0,0 1.62,2.04 -1.13,6.05c-1.83,2.68 -5.98,7.81 -5.98,7.81L22.53,58.86z"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
<path
|
||||
android:pathData="M28.47,78.02c0,0 10.3,-9.82 16.89,-8.54c8.26,1.6 6.62,15.3 6.62,15.3s-1.36,0.7 -2.63,1.08c-0.89,0.26 -2.82,0.59 -2.82,0.59s0.8,-8.52 -2.67,-10.02c-3.47,-1.5 -7.23,0.19 -10.14,1.88c-2.91,1.69 -3.94,2.25 -3.94,2.25L28.47,78.02z"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
<path
|
||||
android:pathData="M32.69,85.39c0,0 2.25,-2.82 5.07,-2.35c2.82,0.47 2.96,4.32 2.96,4.32s-2.11,0.14 -3.52,0.14s-5.16,-0.14 -5.16,-0.14L32.69,85.39z"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
<path
|
||||
android:pathData="M28.47,64.04l1.5,5.77c0,0 8.49,-10.46 21.02,-6.01s7.27,17.55 7.27,17.55l3.43,-1.6c0,0 1.32,-5.78 0.19,-9.85c-1.5,-5.4 -5.77,-7.88 -4.69,-13.37s2.06,-7.84 2.91,-9.29c0.48,-0.83 2.91,-3.43 4.25,-1.41c2.23,3.36 -1.2,5.12 -0.49,11.36s2.61,5.46 4.69,12.76c0.84,2.96 -0.14,9.1 -0.19,10.98c-0.05,1.88 -0.7,5.58 -0.7,5.58s12.2,-6.89 16.14,-9.67c7.37,-5.19 17.64,-14.55 17.64,-14.55s-0.44,-1.11 -1.27,-2.39c-0.63,-0.99 -1.22,-1.64 -1.22,-1.64s-7.53,5.49 -11.1,7.98c-3.57,2.49 -12.88,8.26 -13.68,8.73s-2.2,1.41 -2.58,0.99c-0.63,-0.7 1.29,-5.56 2.18,-8.38c0.89,-2.82 4.95,-13.21 6.31,-16.96c1.36,-3.75 3.52,-8.92 3.52,-8.92s-1.45,-1.31 -2.44,-1.78s-3.14,-1.27 -3.14,-1.27s-2.44,6.19 -3.28,7.51c-0.84,1.31 -2.96,5.4 -4.83,4.04c-1.88,-1.36 -1.83,-7.65 1.41,-11.97c1.73,-2.31 3.8,-3.05 4.08,-9.43s-1.85,-10.51 -2.82,-12.67c-1.08,-2.42 -2.16,-4.46 -3.1,-4.41c-0.94,0.05 -4.15,3.85 -5.56,5.96c-1.27,1.9 -2.42,3.71 -2.98,7.79c-0.56,4.08 -0.61,4.46 -0.61,4.46l-2.02,0.75c0,0 -0.96,10.46 -3.26,12.2c-2.3,1.74 -6.05,1.2 -6.45,-1.78c-0.52,-3.91 -0.33,-7.93 -0.33,-7.93s-1.5,0.52 -2.53,1.5c-1.03,0.99 -1.83,1.22 -2.67,5.44c-0.84,4.22 -0.91,9.58 -2.82,12.72c-2.11,3.47 -3.94,6.34 -7.32,8.82S28.47,64.04 28.47,64.04z"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
<path
|
||||
android:pathData="M89.76,47.43c0,0 -5.33,11.83 -5.16,12.44s10.23,-7.46 10.23,-7.46s-0.97,-1.21 -2.25,-2.63C91.05,48.09 89.76,47.43 89.76,47.43z"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
<path
|
||||
android:pathData="M54.23,53.58c0,2.8 -1.08,5.58 -4.22,5.3c-2.34,-0.21 -4.27,-2.5 -4.27,-5.3c0,-2.8 1.9,-5.07 4.25,-5.07S54.23,50.78 54.23,53.58z"
|
||||
android:fillColor="#0B0B0B"/>
|
||||
<path
|
||||
android:pathData="M63.71,101.51l-0.84,7.67c0,0 11.76,-4.43 19.29,-9.36c7.53,-4.93 19.36,-17.25 21.89,-19.99s3.8,-4.65 3.8,-4.65s-0.46,-1.74 -1.2,-3.24c-0.73,-1.5 -1.62,-2.89 -1.62,-2.89S90.39,84.62 88.35,86.24c-2.04,1.62 -7.81,6.76 -12.18,9.15C71.81,97.78 63.71,101.51 63.71,101.51z"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
<path
|
||||
android:pathData="M66.88,118.9c0.78,-0.78 14.15,-5.84 19.22,-10.35c1.79,-1.59 13.23,-12.32 17.03,-16.61s7.88,-9.08 7.88,-9.08s0.28,1.41 0.77,3.03c0.48,1.57 0.7,2.75 0.7,2.75s-4.79,7.25 -7.32,10.49c-2.53,3.24 -8.52,9.71 -10,11.12c-1.48,1.41 -2.96,3.1 -6.9,5.49c-1.4,0.85 -6.62,3.52 -6.62,3.52s-4.15,0.07 -6.97,0.14C73.42,119.42 66.53,119.25 66.88,118.9z"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
<path
|
||||
android:pathData="M114.46,99.82c0,0 -4.15,8.02 -5.56,10.28c-1.41,2.25 -5.56,7.88 -5.56,7.88s5.7,-0.21 7.67,-0.28s5,-0.35 5,-0.7c0,-0.8 -0.56,-9.08 -0.63,-10.91S115.03,98.77 114.46,99.82z"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
<path
|
||||
android:pathData="M68.64,18.45c-1.48,-0.16 -3.52,4.86 -3.94,7.11c-1.27,6.69 -1.06,9.71 2.6,9.71c4.05,0 3.73,-7.32 3.73,-8.94C71.03,24.72 69.91,18.59 68.64,18.45z"
|
||||
android:fillColor="#454C50"/>
|
||||
<path
|
||||
android:pathData="M29.88,60c-2.89,-2.64 -7.41,-3.57 -9.67,-1.22c-2.25,2.35 -3.57,5.35 -5.44,7.32c-1.88,1.97 -5.82,5.35 -7.98,9.95S3.6,86.66 6.6,91.63s9.1,8.26 16.61,5.63c7.51,-2.63 10.51,-6.48 10.79,-9.29s0,-6.95 -2.91,-9.29c-1.18,-0.95 -3.28,-2.25 -2.53,-4.04S35.32,64.98 29.88,60z"
|
||||
android:fillColor="#464C4F"/>
|
||||
<path
|
||||
android:pathData="M11.11,79.71c-0.1,1.56 1.92,1.27 2.63,2.72c0.7,1.45 -0.94,4.27 0.89,4.6c1.83,0.33 4.18,-3.28 3.05,-6.71C16.55,76.9 11.25,77.46 11.11,79.71z"
|
||||
android:fillColor="#303030"/>
|
||||
<path
|
||||
android:pathData="M14.23,97.64c0,0 5,-2.44 7.25,-4.55c2.19,-2.06 4.32,-4.55 4.83,-5.35c0.52,-0.8 1.6,-2.25 2.53,-1.6c0.94,0.66 0.52,1.83 -0.09,2.72c-0.61,0.89 -2.16,3.1 -4.6,5.35c-2.11,1.95 -3.14,2.44 -4.69,3.28c-1.13,0.61 -2.21,0.7 -2.21,0.7s-0.88,0.01 -1.79,-0.14C15.11,98 14.23,97.64 14.23,97.64z"
|
||||
android:fillColor="#303030"/>
|
||||
</group>
|
||||
</vector>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#165295</color>
|
||||
<color name="ic_launcher_background">#64BB8B</color>
|
||||
</resources>
|
||||
@@ -0,0 +1,4 @@
|
||||
<resources>
|
||||
<string name="app_name">YAEP</string>
|
||||
<string name="app_name_full">Yet Another Einstein Puzzle</string>
|
||||
</resources>
|
||||
141
desktop/src/main/composeResources/drawable/ic_launcher.svg
Normal file
141
desktop/src/main/composeResources/drawable/ic_launcher.svg
Normal file
@@ -0,0 +1,141 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="Layer_2"
|
||||
x="0px"
|
||||
y="0px"
|
||||
viewBox="0 0 128 128"
|
||||
style="enable-background:new 0 0 128 128;"
|
||||
xml:space="preserve"
|
||||
sodipodi:docname="app_icon.svg"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||
id="defs16"><filter
|
||||
style="color-interpolation-filters:sRGB;"
|
||||
inkscape:label="Drop Shadow"
|
||||
id="filter31"
|
||||
x="-0.032330718"
|
||||
y="-0.033252865"
|
||||
width="1.0772906"
|
||||
height="1.0794951"><feFlood
|
||||
result="flood"
|
||||
in="SourceGraphic"
|
||||
flood-opacity="0.498039"
|
||||
flood-color="rgb(0,0,0)"
|
||||
id="feFlood30" /><feGaussianBlur
|
||||
result="blur"
|
||||
in="SourceGraphic"
|
||||
stdDeviation="1.600000"
|
||||
id="feGaussianBlur30" /><feOffset
|
||||
result="offset"
|
||||
in="blur"
|
||||
dx="1.500000"
|
||||
dy="1.500000"
|
||||
id="feOffset30" /><feComposite
|
||||
result="comp1"
|
||||
operator="in"
|
||||
in="flood"
|
||||
in2="offset"
|
||||
id="feComposite30" /><feComposite
|
||||
result="comp2"
|
||||
operator="over"
|
||||
in="SourceGraphic"
|
||||
in2="comp1"
|
||||
id="feComposite31" /></filter></defs><sodipodi:namedview
|
||||
id="namedview16"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="0.89453125"
|
||||
inkscape:cx="119.05677"
|
||||
inkscape:cy="257.1179"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1163"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="Layer_2" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<rect
|
||||
style="fill:#64bb8b;stroke:none;stroke-width:1.06961;stroke-linecap:round;stroke-linejoin:round;fill-opacity:1"
|
||||
id="rect16"
|
||||
width="128"
|
||||
height="128"
|
||||
x="0"
|
||||
y="0"
|
||||
ry="34.385769" /><g
|
||||
id="g16"
|
||||
transform="matrix(0.86689217,0,0,0.86689217,8.5348442,8.6056136)"
|
||||
style="filter:url(#filter31)"><path
|
||||
style="fill:#464c4f"
|
||||
d="m 48.37,30.91 c 0,0 -11.64,-10.14 -12.76,-11.26 -1.13,-1.13 -3.94,-3.19 -3.38,-4.69 0.56,-1.5 9.95,-5.26 16.52,-6.57 6.57,-1.31 20.23,-3.38 32.43,2.25 12.2,5.63 22.01,13.14 30.64,27.03 8.63,13.89 10.91,33.24 11.45,43.92 0.56,11.23 -3.63,27.24 -3.63,27.24 l -1.82,2.79 z"
|
||||
id="path1" /><path
|
||||
style="fill:#dfdfe0"
|
||||
d="m 122.49,94.27 c -0.74,8.26 -2.86,14.73 -2.86,14.73 l -1.5,3.19 L 48.67,31.47 58.78,28.65 45.9,9.09 C 48.33,8.07 53.19,7.12 58.68,7.12 l 6.65,26.11 8.55,-25.09 c 3.7,0.53 9.54,3.27 10.88,4.26 l -12.88,26.82 4.08,1.48 17.1,-23.3 c 2.39,1.23 3.98,2.39 5.84,4.5 l -17.31,22.74 5.63,4.15 17.95,-20.41 c 2.5,2.36 4.29,4.8 6.16,8.41 L 93.63,53.44 97.01,59 116.23,46.33 c 1.16,2.32 1.79,3.84 2.22,6.02 l -19.12,11.36 4.65,5.21 16.61,-9.08 c 0.81,2.18 1.27,4.01 1.37,6.55 l -17.77,8.94 2.96,6.69 15.94,-5.77 c 0.49,2.39 0.53,3.7 0.21,6.05 l -13.55,4.93 3.24,8.09 z"
|
||||
id="path2" /><path
|
||||
style="fill:#2f2f2f"
|
||||
d="m 56.53,27.11 c 0,0 -6.48,0.28 -10.56,3.38 -4.08,3.1 -11.96,11.12 -15.76,15.62 -3.8,4.5 -10,12.67 -10,12.67 l 8.02,24.64 5.07,6.76 c 0,0 9.15,1.27 17.03,-1.27 7.88,-2.53 12.95,-6.19 12.95,-6.19 0,0 -1.55,9.85 -2.82,18.44 -1.27,8.59 -2.86,19.01 -2.16,19.85 0.7,0.84 15.67,1.69 30.88,1.27 15.21,-0.42 29,-1.41 29.7,-2.11 0.7,-0.7 2.82,-20.27 -6.76,-45.19 -9.58,-24.92 -25.74,-36.05 -27.29,-37.03 -1.55,-0.99 -6.05,-3.1 -6.05,-3.1 0,0 0.56,-12.11 -2.82,-18.16 -3.38,-6.05 -4.16,-9.05 -6.34,-9.29 -2.6,-0.28 -7.67,6.26 -9.43,9.01 -2.22,3.46 -3.66,10.7 -3.66,10.7 z"
|
||||
id="path3" /><path
|
||||
style="fill:#ffffff"
|
||||
d="M 22.53,58.86 33.02,45.77 c 0,0 1.62,2.04 -1.13,6.05 -1.83,2.68 -5.98,7.81 -5.98,7.81 z"
|
||||
id="path4" /><path
|
||||
style="fill:#ffffff"
|
||||
d="m 28.47,78.02 c 0,0 10.3,-9.82 16.89,-8.54 8.26,1.6 6.62,15.3 6.62,15.3 0,0 -1.36,0.7 -2.63,1.08 -0.89,0.26 -2.82,0.59 -2.82,0.59 0,0 0.8,-8.52 -2.67,-10.02 -3.47,-1.5 -7.23,0.19 -10.14,1.88 -2.91,1.69 -3.94,2.25 -3.94,2.25 z"
|
||||
id="path5" /><path
|
||||
style="fill:#ffffff"
|
||||
d="m 32.69,85.39 c 0,0 2.25,-2.82 5.07,-2.35 2.82,0.47 2.96,4.32 2.96,4.32 0,0 -2.11,0.14 -3.52,0.14 -1.41,0 -5.16,-0.14 -5.16,-0.14 z"
|
||||
id="path6" /><path
|
||||
style="fill:#ffffff"
|
||||
d="m 28.47,64.04 1.5,5.77 c 0,0 8.49,-10.46 21.02,-6.01 12.53,4.45 7.27,17.55 7.27,17.55 l 3.43,-1.6 c 0,0 1.32,-5.78 0.19,-9.85 -1.5,-5.4 -5.77,-7.88 -4.69,-13.37 1.08,-5.49 2.06,-7.84 2.91,-9.29 0.48,-0.83 2.91,-3.43 4.25,-1.41 2.23,3.36 -1.2,5.12 -0.49,11.36 0.71,6.24 2.61,5.46 4.69,12.76 0.84,2.96 -0.14,9.1 -0.19,10.98 -0.05,1.88 -0.7,5.58 -0.7,5.58 0,0 12.2,-6.89 16.14,-9.67 7.37,-5.19 17.64,-14.55 17.64,-14.55 0,0 -0.44,-1.11 -1.27,-2.39 -0.63,-0.99 -1.22,-1.64 -1.22,-1.64 0,0 -7.53,5.49 -11.1,7.98 -3.57,2.49 -12.88,8.26 -13.68,8.73 -0.8,0.47 -2.2,1.41 -2.58,0.99 -0.63,-0.7 1.29,-5.56 2.18,-8.38 0.89,-2.82 4.95,-13.21 6.31,-16.96 1.36,-3.75 3.52,-8.92 3.52,-8.92 0,0 -1.45,-1.31 -2.44,-1.78 -0.99,-0.47 -3.14,-1.27 -3.14,-1.27 0,0 -2.44,6.19 -3.28,7.51 -0.84,1.31 -2.96,5.4 -4.83,4.04 -1.88,-1.36 -1.83,-7.65 1.41,-11.97 1.73,-2.31 3.8,-3.05 4.08,-9.43 0.28,-6.38 -1.85,-10.51 -2.82,-12.67 -1.08,-2.42 -2.16,-4.46 -3.1,-4.41 -0.94,0.05 -4.15,3.85 -5.56,5.96 -1.27,1.9 -2.42,3.71 -2.98,7.79 -0.56,4.08 -0.61,4.46 -0.61,4.46 l -2.02,0.75 c 0,0 -0.96,10.46 -3.26,12.2 -2.3,1.74 -6.05,1.2 -6.45,-1.78 -0.52,-3.91 -0.33,-7.93 -0.33,-7.93 0,0 -1.5,0.52 -2.53,1.5 -1.03,0.99 -1.83,1.22 -2.67,5.44 -0.84,4.22 -0.91,9.58 -2.82,12.72 -2.11,3.47 -3.94,6.34 -7.32,8.82 -3.38,2.48 -4.46,2.39 -4.46,2.39 z"
|
||||
id="path7" /><path
|
||||
style="fill:#ffffff"
|
||||
d="m 89.76,47.43 c 0,0 -5.33,11.83 -5.16,12.44 0.17,0.61 10.23,-7.46 10.23,-7.46 0,0 -0.97,-1.21 -2.25,-2.63 -1.53,-1.69 -2.82,-2.35 -2.82,-2.35 z"
|
||||
id="path8" /><path
|
||||
style="fill:#0b0b0b"
|
||||
d="m 54.23,53.58 c 0,2.8 -1.08,5.58 -4.22,5.3 -2.34,-0.21 -4.27,-2.5 -4.27,-5.3 0,-2.8 1.9,-5.07 4.25,-5.07 2.35,0 4.24,2.27 4.24,5.07 z"
|
||||
id="path9" /><path
|
||||
style="fill:#ffffff"
|
||||
d="m 63.71,101.51 -0.84,7.67 c 0,0 11.76,-4.43 19.29,-9.36 7.53,-4.93 19.36,-17.25 21.89,-19.99 2.53,-2.74 3.8,-4.65 3.8,-4.65 0,0 -0.46,-1.74 -1.2,-3.24 -0.73,-1.5 -1.62,-2.89 -1.62,-2.89 0,0 -14.64,15.57 -16.68,17.19 -2.04,1.62 -7.81,6.76 -12.18,9.15 -4.36,2.39 -12.46,6.12 -12.46,6.12 z"
|
||||
id="path10" /><path
|
||||
style="fill:#ffffff"
|
||||
d="m 66.88,118.9 c 0.78,-0.78 14.15,-5.84 19.22,-10.35 1.79,-1.59 13.23,-12.32 17.03,-16.61 3.8,-4.29 7.88,-9.08 7.88,-9.08 0,0 0.28,1.41 0.77,3.03 0.48,1.57 0.7,2.75 0.7,2.75 0,0 -4.79,7.25 -7.32,10.49 -2.53,3.24 -8.52,9.71 -10,11.12 -1.48,1.41 -2.96,3.1 -6.9,5.49 -1.4,0.85 -6.62,3.52 -6.62,3.52 0,0 -4.15,0.07 -6.97,0.14 -1.25,0.02 -8.14,-0.15 -7.79,-0.5 z"
|
||||
id="path11" /><path
|
||||
style="fill:#ffffff"
|
||||
d="m 114.46,99.82 c 0,0 -4.15,8.02 -5.56,10.28 -1.41,2.25 -5.56,7.88 -5.56,7.88 0,0 5.7,-0.21 7.67,-0.28 1.97,-0.07 5,-0.35 5,-0.7 0,-0.8 -0.56,-9.08 -0.63,-10.91 -0.07,-1.83 -0.35,-7.32 -0.92,-6.27 z"
|
||||
id="path12" /><path
|
||||
style="fill:#454c50"
|
||||
d="m 68.64,18.45 c -1.48,-0.16 -3.52,4.86 -3.94,7.11 -1.27,6.69 -1.06,9.71 2.6,9.71 4.05,0 3.73,-7.32 3.73,-8.94 0,-1.61 -1.12,-7.74 -2.39,-7.88 z"
|
||||
id="path13" /><path
|
||||
style="fill:#464c4f"
|
||||
d="m 29.88,60 c -2.89,-2.64 -7.41,-3.57 -9.67,-1.22 -2.25,2.35 -3.57,5.35 -5.44,7.32 -1.88,1.97 -5.82,5.35 -7.98,9.95 -2.16,4.6 -3.19,10.61 -0.19,15.58 3,4.97 9.1,8.26 16.61,5.63 7.51,-2.63 10.51,-6.48 10.79,-9.29 0.28,-2.81 0,-6.95 -2.91,-9.29 -1.18,-0.95 -3.28,-2.25 -2.53,-4.04 0.75,-1.79 6.76,-9.66 1.32,-14.64 z"
|
||||
id="path14" /><path
|
||||
style="fill:#303030"
|
||||
d="m 11.11,79.71 c -0.1,1.56 1.92,1.27 2.63,2.72 0.7,1.45 -0.94,4.27 0.89,4.6 1.83,0.33 4.18,-3.28 3.05,-6.71 -1.13,-3.42 -6.43,-2.86 -6.57,-0.61 z"
|
||||
id="path15" /><path
|
||||
style="fill:#303030"
|
||||
d="m 14.23,97.64 c 0,0 5,-2.44 7.25,-4.55 2.19,-2.06 4.32,-4.55 4.83,-5.35 0.52,-0.8 1.6,-2.25 2.53,-1.6 0.94,0.66 0.52,1.83 -0.09,2.72 -0.61,0.89 -2.16,3.1 -4.6,5.35 -2.11,1.95 -3.14,2.44 -4.69,3.28 -1.13,0.61 -2.21,0.7 -2.21,0.7 0,0 -0.88,0.01 -1.79,-0.14 C 15.11,98 14.23,97.64 14.23,97.64 Z"
|
||||
id="path16" /></g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.2 KiB |
@@ -19,7 +19,9 @@ import androidx.compose.ui.window.WindowScope
|
||||
import androidx.compose.ui.window.WindowState
|
||||
import ch.dissem.yaep.ui.common.theme.AppTheme
|
||||
import org.jetbrains.compose.resources.painterResource
|
||||
import org.jetbrains.compose.resources.stringResource
|
||||
import yaep.commonui.generated.resources.Res
|
||||
import yaep.commonui.generated.resources.app_name_full
|
||||
import yaep.commonui.generated.resources.lightbulb
|
||||
import yaep.commonui.generated.resources.moon
|
||||
import yaep.commonui.generated.resources.sun
|
||||
@@ -58,7 +60,7 @@ fun AppBar(
|
||||
navigationIcon = {
|
||||
Icon(painterResource(Res.drawable.lightbulb), null)
|
||||
},
|
||||
title = { Text(text = "Yet Another Einstein Puzzle") },
|
||||
title = { Text(text = stringResource(Res.string.app_name_full)) },
|
||||
actions = {
|
||||
Switch(
|
||||
checked = useDarkMode,
|
||||
|
||||
@@ -17,8 +17,11 @@ import androidx.compose.ui.window.rememberWindowState
|
||||
import ch.dissem.yaep.ui.common.App
|
||||
import ch.dissem.yaep.ui.common.theme.emojiFontFamily
|
||||
import org.jetbrains.compose.resources.painterResource
|
||||
import yaep.commonui.generated.resources.Res
|
||||
import yaep.commonui.generated.resources.moon
|
||||
import org.jetbrains.compose.resources.stringResource
|
||||
import yaep.commonui.generated.resources.app_name
|
||||
import yaep.desktop.generated.resources.ic_launcher
|
||||
import yaep.commonui.generated.resources.Res as CRes
|
||||
import yaep.desktop.generated.resources.Res as DRes
|
||||
|
||||
fun main() = application {
|
||||
emojiFontFamily = FontFamily(
|
||||
@@ -36,9 +39,9 @@ fun main() = application {
|
||||
Window(
|
||||
onCloseRequest = ::exitApplication,
|
||||
undecorated = true,
|
||||
title = "YAEP",
|
||||
title = stringResource(CRes.string.app_name),
|
||||
state = windowState,
|
||||
icon = painterResource(Res.drawable.moon)
|
||||
icon = painterResource(DRes.drawable.ic_launcher)
|
||||
) {
|
||||
var useDarkMode by remember { mutableStateOf(true) }
|
||||
DesktopWindow(
|
||||
|
||||
Reference in New Issue
Block a user