-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
163 additions
and
14 deletions.
There are no files selected for viewing
124 changes: 124 additions & 0 deletions
124
composeApp/src/commonMain/kotlin/dev/datlag/aniflow/other/MaterialSymbols.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
package dev.datlag.aniflow.other | ||
|
||
import androidx.compose.material.icons.materialIcon | ||
import androidx.compose.material.icons.materialPath | ||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.graphics.* | ||
import androidx.compose.ui.graphics.vector.ImageVector | ||
import androidx.compose.ui.graphics.vector.path | ||
import androidx.compose.ui.unit.dp | ||
|
||
data object MaterialSymbols { | ||
|
||
data object Rounded { | ||
private var _home: ImageVector? = null | ||
|
||
val Home: ImageVector | ||
get() { | ||
return _home ?: ImageVector.Builder( | ||
name = "home", | ||
defaultWidth = 24.dp, | ||
defaultHeight = 24.dp, | ||
viewportWidth = 40f, | ||
viewportHeight = 40f | ||
).apply { | ||
path( | ||
fill = SolidColor(Color.Black), | ||
fillAlpha = 1f, | ||
stroke = null, | ||
strokeAlpha = 1f, | ||
strokeLineWidth = 1.0f, | ||
strokeLineCap = StrokeCap.Butt, | ||
strokeLineJoin = StrokeJoin.Miter, | ||
strokeLineMiter = 1f, | ||
pathFillType = PathFillType.NonZero | ||
) { | ||
moveTo(9.542f, 32.125f) | ||
horizontalLineToRelative(5.75f) | ||
verticalLineToRelative(-10.25f) | ||
horizontalLineToRelative(9.416f) | ||
verticalLineToRelative(10.25f) | ||
horizontalLineToRelative(5.75f) | ||
verticalLineTo(16.417f) | ||
lineTo(20f, 8.583f) | ||
lineTo(9.542f, 16.417f) | ||
close() | ||
moveToRelative(0f, 2.625f) | ||
quadToRelative(-1.084f, 0f, -1.855f, -0.771f) | ||
quadToRelative(-0.77f, -0.771f, -0.77f, -1.854f) | ||
verticalLineTo(16.417f) | ||
quadToRelative(0f, -0.625f, 0.271f, -1.188f) | ||
quadToRelative(0.27f, -0.562f, 0.77f, -0.937f) | ||
lineToRelative(10.459f, -7.834f) | ||
quadToRelative(0.375f, -0.25f, 0.771f, -0.375f) | ||
quadToRelative(0.395f, -0.125f, 0.812f, -0.125f) | ||
quadToRelative(0.417f, 0f, 0.812f, 0.125f) | ||
quadToRelative(0.396f, 0.125f, 0.771f, 0.375f) | ||
lineToRelative(10.459f, 7.834f) | ||
quadToRelative(0.5f, 0.375f, 0.77f, 0.937f) | ||
quadToRelative(0.271f, 0.563f, 0.271f, 1.188f) | ||
verticalLineToRelative(15.708f) | ||
quadToRelative(0f, 1.083f, -0.771f, 1.854f) | ||
quadToRelative(-0.77f, 0.771f, -1.854f, 0.771f) | ||
horizontalLineToRelative(-8.375f) | ||
verticalLineTo(24.5f) | ||
horizontalLineToRelative(-4.166f) | ||
verticalLineToRelative(10.25f) | ||
close() | ||
moveTo(20f, 20.333f) | ||
close() | ||
} | ||
}.build().also { _home = it } | ||
} | ||
} | ||
|
||
data object Filled { | ||
private var _home: ImageVector? = null | ||
|
||
val Home: ImageVector | ||
get() { | ||
return _home ?: ImageVector.Builder( | ||
name = "home", | ||
defaultWidth = 24.dp, | ||
defaultHeight = 24.dp, | ||
viewportWidth = 40.0f, | ||
viewportHeight = 40.0f | ||
).apply { | ||
path( | ||
fill = SolidColor(Color.Black), | ||
fillAlpha = 1f, | ||
stroke = null, | ||
strokeAlpha = 1f, | ||
strokeLineWidth = 1.0f, | ||
strokeLineCap = StrokeCap.Butt, | ||
strokeLineJoin = StrokeJoin.Miter, | ||
strokeLineMiter = 1f, | ||
pathFillType = PathFillType.NonZero | ||
) { | ||
moveTo(9.542f, 34.75f) | ||
quadToRelative(-1.084f, 0f, -1.855f, -0.771f) | ||
quadToRelative(-0.77f, -0.771f, -0.77f, -1.854f) | ||
verticalLineTo(16.417f) | ||
quadToRelative(0f, -0.625f, 0.271f, -1.188f) | ||
quadToRelative(0.27f, -0.562f, 0.77f, -0.937f) | ||
lineToRelative(10.459f, -7.834f) | ||
quadToRelative(0.375f, -0.25f, 0.771f, -0.375f) | ||
quadToRelative(0.395f, -0.125f, 0.812f, -0.125f) | ||
quadToRelative(0.417f, 0f, 0.812f, 0.125f) | ||
quadToRelative(0.396f, 0.125f, 0.771f, 0.375f) | ||
lineToRelative(10.459f, 7.834f) | ||
quadToRelative(0.5f, 0.375f, 0.77f, 0.937f) | ||
quadToRelative(0.271f, 0.563f, 0.271f, 1.188f) | ||
verticalLineToRelative(15.708f) | ||
quadToRelative(0f, 1.083f, -0.771f, 1.854f) | ||
quadToRelative(-0.77f, 0.771f, -1.854f, 0.771f) | ||
horizontalLineToRelative(-7.041f) | ||
verticalLineTo(23.208f) | ||
horizontalLineToRelative(-6.792f) | ||
verticalLineTo(34.75f) | ||
close() | ||
} | ||
}.build().also { _home = it } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters