Skip to content

Commit 12a11af

Browse files
committed
add more file types icons
1 parent 9259ef9 commit 12a11af

File tree

14 files changed

+658
-19
lines changed

14 files changed

+658
-19
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
package com.raival.compose.file.explorer.common.icons
2+
3+
import androidx.compose.ui.graphics.Color
4+
import androidx.compose.ui.graphics.SolidColor
5+
import androidx.compose.ui.graphics.vector.ImageVector
6+
import androidx.compose.ui.graphics.vector.path
7+
import androidx.compose.ui.unit.dp
8+
9+
val PrismIcons.Code: ImageVector by lazy {
10+
ImageVector.Builder(
11+
name = "CodeFile",
12+
defaultWidth = 24.dp,
13+
defaultHeight = 24.dp,
14+
viewportWidth = 24f,
15+
viewportHeight = 24f
16+
).apply {
17+
path(fill = SolidColor(Color.White)) {
18+
moveTo(14f, 2f)
19+
lineTo(6f, 2f)
20+
curveTo(4.9f, 2f, 4f, 2.9f, 4f, 4f)
21+
lineTo(4f, 20f)
22+
curveTo(4f, 21.1f, 4.9f, 22f, 6f, 22f)
23+
lineTo(18f, 22f)
24+
curveTo(19.1f, 22f, 20f, 21.1f, 20f, 20f)
25+
lineTo(20f, 8f)
26+
lineTo(14f, 2f)
27+
close()
28+
moveTo(11.034f, 13.652f)
29+
lineTo(8.441f, 15.215f)
30+
lineTo(11.034f, 16.714f)
31+
lineTo(11.034f, 18.451f)
32+
lineTo(6.734f, 15.651f)
33+
lineTo(6.734f, 14.751f)
34+
lineTo(11.034f, 11.851f)
35+
lineTo(11.034f, 13.652f)
36+
close()
37+
moveTo(17.207f, 15.562f)
38+
lineTo(13.007f, 18.449f)
39+
lineTo(12.995f, 16.712f)
40+
lineTo(15.464f, 15.164f)
41+
lineTo(13.007f, 13.65f)
42+
lineTo(13.007f, 11.862f)
43+
lineTo(17.207f, 14.762f)
44+
lineTo(17.207f, 15.562f)
45+
lineTo(17.207f, 15.562f)
46+
close()
47+
moveTo(13f, 9f)
48+
lineTo(13f, 3.5f)
49+
lineTo(18.5f, 9f)
50+
lineTo(13f, 9f)
51+
close()
52+
}
53+
}.build()
54+
}
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
package com.raival.compose.`file`.explorer.common.icons
2+
3+
import androidx.compose.ui.graphics.Color
4+
import androidx.compose.ui.graphics.SolidColor
5+
import androidx.compose.ui.graphics.vector.ImageVector
6+
import androidx.compose.ui.graphics.vector.path
7+
import androidx.compose.ui.unit.dp
8+
9+
val PrismIcons.Github: ImageVector by lazy {
10+
ImageVector.Builder(
11+
name = "Github",
12+
defaultWidth = 84.dp,
13+
defaultHeight = 84.dp,
14+
viewportWidth = 24f,
15+
viewportHeight = 24f
16+
).apply {
17+
path(fill = SolidColor(Color.White)) {
18+
moveTo(21.895f, 12.247f)
19+
curveTo(21.895f, 14.459f, 21.267f, 16.446f, 20.007f, 18.211f)
20+
curveTo(18.75f, 19.976f, 17.124f, 21.196f, 15.131f, 21.875f)
21+
curveTo(14.899f, 21.919f, 14.73f, 21.889f, 14.622f, 21.783f)
22+
curveTo(14.516f, 21.679f, 14.459f, 21.536f, 14.462f, 21.387f)
23+
lineTo(14.462f, 18.6f)
24+
curveTo(14.462f, 17.747f, 14.238f, 17.119f, 13.792f, 16.725f)
25+
curveTo(14.238f, 16.681f, 14.679f, 16.6f, 15.112f, 16.488f)
26+
curveTo(15.502f, 16.381f, 15.906f, 16.211f, 16.322f, 15.973f)
27+
curveTo(16.722f, 15.749f, 17.077f, 15.452f, 17.367f, 15.095f)
28+
curveTo(17.647f, 14.746f, 17.873f, 14.284f, 18.05f, 13.707f)
29+
curveTo(18.226f, 13.129f, 18.314f, 12.468f, 18.314f, 11.72f)
30+
curveTo(18.314f, 10.655f, 17.975f, 9.747f, 17.296f, 8.999f)
31+
curveTo(17.613f, 8.197f, 17.58f, 7.301f, 17.192f, 6.304f)
32+
curveTo(16.953f, 6.225f, 16.605f, 6.275f, 16.151f, 6.45f)
33+
curveTo(15.736f, 6.605f, 15.339f, 6.8f, 14.965f, 7.03f)
34+
lineTo(14.476f, 7.347f)
35+
curveTo(13.67f, 7.118f, 12.837f, 7.003f, 12.001f, 7.005f)
36+
curveTo(11.164f, 7.004f, 10.331f, 7.118f, 9.527f, 7.348f)
37+
curveTo(9.348f, 7.225f, 9.166f, 7.105f, 8.98f, 6.993f)
38+
curveTo(8.753f, 6.85f, 8.393f, 6.682f, 7.904f, 6.485f)
39+
curveTo(7.414f, 6.286f, 7.043f, 6.226f, 6.795f, 6.305f)
40+
curveTo(6.418f, 7.301f, 6.388f, 8.197f, 6.705f, 8.999f)
41+
curveTo(6.028f, 9.747f, 5.688f, 10.655f, 5.688f, 11.72f)
42+
curveTo(5.688f, 12.468f, 5.777f, 13.128f, 5.953f, 13.701f)
43+
curveTo(6.127f, 14.273f, 6.355f, 14.734f, 6.628f, 15.088f)
44+
curveTo(6.912f, 15.448f, 7.265f, 15.748f, 7.665f, 15.972f)
45+
curveTo(8.081f, 16.21f, 8.487f, 16.381f, 8.877f, 16.486f)
46+
curveTo(9.267f, 16.593f, 9.707f, 16.673f, 10.197f, 16.725f)
47+
curveTo(9.855f, 17.041f, 9.643f, 17.496f, 9.566f, 18.085f)
48+
curveTo(9.381f, 18.174f, 9.187f, 18.242f, 8.986f, 18.284f)
49+
curveTo(8.744f, 18.33f, 8.498f, 18.353f, 8.252f, 18.35f)
50+
curveTo(7.969f, 18.35f, 7.688f, 18.255f, 7.408f, 18.066f)
51+
curveTo(7.128f, 17.875f, 6.89f, 17.6f, 6.692f, 17.239f)
52+
curveTo(6.537f, 16.969f, 6.325f, 16.733f, 6.068f, 16.554f)
53+
curveTo(5.814f, 16.377f, 5.602f, 16.272f, 5.429f, 16.236f)
54+
lineTo(5.173f, 16.197f)
55+
curveTo(4.993f, 16.197f, 4.868f, 16.217f, 4.798f, 16.257f)
56+
curveTo(4.729f, 16.296f, 4.71f, 16.346f, 4.733f, 16.408f)
57+
curveTo(4.763f, 16.475f, 4.803f, 16.537f, 4.849f, 16.593f)
58+
curveTo(4.899f, 16.653f, 4.956f, 16.705f, 5.019f, 16.751f)
59+
lineTo(5.108f, 16.817f)
60+
curveTo(5.297f, 16.906f, 5.483f, 17.073f, 5.668f, 17.319f)
61+
curveTo(5.854f, 17.566f, 5.989f, 17.792f, 6.074f, 17.992f)
62+
lineTo(6.202f, 18.296f)
63+
curveTo(6.314f, 18.63f, 6.504f, 18.901f, 6.771f, 19.108f)
64+
curveTo(7.036f, 19.316f, 7.323f, 19.448f, 7.633f, 19.504f)
65+
curveTo(7.942f, 19.562f, 8.241f, 19.593f, 8.528f, 19.597f)
66+
curveTo(8.816f, 19.601f, 9.055f, 19.587f, 9.244f, 19.55f)
67+
lineTo(9.54f, 19.499f)
68+
curveTo(9.54f, 19.832f, 9.541f, 20.225f, 9.547f, 20.674f)
69+
lineTo(9.554f, 21.386f)
70+
curveTo(9.554f, 21.545f, 9.498f, 21.677f, 9.384f, 21.783f)
71+
curveTo(9.275f, 21.889f, 9.102f, 21.919f, 8.87f, 21.875f)
72+
curveTo(6.878f, 21.196f, 5.25f, 19.975f, 3.994f, 18.211f)
73+
curveTo(2.735f, 16.446f, 2.106f, 14.459f, 2.106f, 12.247f)
74+
curveTo(2.106f, 10.407f, 2.548f, 8.711f, 3.433f, 7.157f)
75+
curveTo(4.289f, 5.632f, 5.531f, 4.36f, 7.035f, 3.467f)
76+
curveTo(8.533f, 2.564f, 10.253f, 2.093f, 12.001f, 2.105f)
77+
curveTo(13.751f, 2.093f, 15.469f, 2.564f, 16.968f, 3.467f)
78+
curveTo(18.471f, 4.36f, 19.712f, 5.632f, 20.569f, 7.157f)
79+
curveTo(21.454f, 8.71f, 21.895f, 10.408f, 21.895f, 12.247f)
80+
close()
81+
}
82+
}.build()
83+
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
package com.raival.compose.`file`.explorer.common.icons
2+
3+
import androidx.compose.ui.graphics.Color
4+
import androidx.compose.ui.graphics.SolidColor
5+
import androidx.compose.ui.graphics.vector.ImageVector
6+
import androidx.compose.ui.graphics.vector.path
7+
import androidx.compose.ui.unit.dp
8+
9+
val PrismIcons.Iso: ImageVector by lazy {
10+
ImageVector.Builder(
11+
name = "ISO",
12+
defaultWidth = 24.dp,
13+
defaultHeight = 24.dp,
14+
viewportWidth = 489f,
15+
viewportHeight = 489f
16+
).apply {
17+
path(fill = SolidColor(Color.White)) {
18+
moveTo(244.5f, 489f)
19+
curveTo(109.3f, 489f, 0f, 379.7f, 0f, 244.5f)
20+
reflectiveCurveTo(109.3f, 0f, 244.5f, 0f)
21+
reflectiveCurveTo(489f, 109.3f, 489f, 244.5f)
22+
reflectiveCurveTo(379.7f, 489f, 244.5f, 489f)
23+
close()
24+
moveTo(244.5f, 40.6f)
25+
curveToRelative(-112.4f, 0f, -203.9f, 91.5f, -203.9f, 203.9f)
26+
reflectiveCurveToRelative(91.5f, 203.9f, 203.9f, 203.9f)
27+
reflectiveCurveToRelative(203.9f, -91.5f, 203.9f, -203.9f)
28+
reflectiveCurveTo(356.9f, 40.6f, 244.5f, 40.6f)
29+
close()
30+
}
31+
path(fill = SolidColor(Color.White)) {
32+
moveTo(244.5f, 278.8f)
33+
curveToRelative(-18.7f, 0f, -34.3f, -15.6f, -34.3f, -34.3f)
34+
reflectiveCurveToRelative(15.6f, -34.3f, 34.3f, -34.3f)
35+
reflectiveCurveToRelative(34.3f, 15.6f, 34.3f, 34.3f)
36+
reflectiveCurveTo(263.2f, 278.8f, 244.5f, 278.8f)
37+
close()
38+
}
39+
path(fill = SolidColor(Color.White)) {
40+
moveTo(335f, 351.7f)
41+
curveToRelative(-8.3f, -7.3f, -9.4f, -20.8f, -2.1f, -29.1f)
42+
curveToRelative(19.8f, -21.8f, 30.2f, -49.9f, 30.2f, -79.1f)
43+
reflectiveCurveToRelative(-10.4f, -57.2f, -30.2f, -79.1f)
44+
curveToRelative(-7.3f, -8.3f, -6.2f, -20.8f, 2.1f, -29.1f)
45+
curveToRelative(8.3f, -7.3f, 20.8f, -6.2f, 29.1f, 2.1f)
46+
curveToRelative(26f, 29.1f, 40.6f, 66.6f, 40.6f, 106.1f)
47+
reflectiveCurveToRelative(-14.6f, 77f, -40.6f, 106.1f)
48+
curveTo(354f, 362.6f, 337.7f, 354.9f, 335f, 351.7f)
49+
close()
50+
}
51+
}.build()
52+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
package com.raival.compose.file.explorer.common.icons
2+
3+
import androidx.compose.ui.graphics.Color
4+
import androidx.compose.ui.graphics.SolidColor
5+
import androidx.compose.ui.graphics.vector.ImageVector
6+
import androidx.compose.ui.graphics.vector.path
7+
import androidx.compose.ui.unit.dp
8+
9+
val PrismIcons.Java: ImageVector by lazy {
10+
ImageVector.Builder(
11+
name = "Java",
12+
defaultWidth = 24.dp,
13+
defaultHeight = 24.dp,
14+
viewportWidth = 512f,
15+
viewportHeight = 512f
16+
).apply {
17+
path(fill = SolidColor(Color.White)) {
18+
moveTo(75.37f, 363.44f)
19+
lineTo(75.37f, 363.53f)
20+
curveTo(75.37f, 382.93f, 77.72f, 399.8f, 84.1f, 414.84f)
21+
curveTo(88.89f, 426f, 96.11f, 435.91f, 105.43f, 443.55f)
22+
curveTo(119.54f, 455.14f, 137.42f, 461.69f, 158.84f, 465.64f)
23+
curveTo(180.33f, 469.59f, 205.78f, 470.93f, 236.6f, 471.01f)
24+
curveTo(263.97f, 471.01f, 287.15f, 469.92f, 307.05f, 466.9f)
25+
curveTo(322f, 464.63f, 335.1f, 461.27f, 346.68f, 456.23f)
26+
curveTo(364.07f, 448.76f, 378.26f, 436.5f, 386.49f, 420.29f)
27+
curveTo(394.89f, 404.09f, 397.74f, 385.28f, 397.82f, 363.53f)
28+
lineTo(397.82f, 184.33f)
29+
lineTo(75.37f, 184.33f)
30+
lineTo(75.37f, 363.44f)
31+
close()
32+
moveTo(379.94f, 202.22f)
33+
lineTo(362.05f, 202.22f)
34+
lineTo(362.05f, 255.96f)
35+
curveTo(362.05f, 295.51f, 394.13f, 327.59f, 433.68f, 327.59f)
36+
curveTo(473.23f, 327.59f, 505.31f, 295.51f, 505.31f, 255.96f)
37+
curveTo(505.31f, 216.41f, 473.23f, 184.33f, 433.68f, 184.33f)
38+
lineTo(362.05f, 184.33f)
39+
lineTo(362.05f, 202.22f)
40+
lineTo(379.94f, 202.22f)
41+
lineTo(379.94f, 220.1f)
42+
lineTo(433.68f, 220.1f)
43+
curveTo(453.5f, 220.1f, 469.45f, 236.14f, 469.54f, 255.96f)
44+
curveTo(469.54f, 275.78f, 453.5f, 291.73f, 433.68f, 291.82f)
45+
curveTo(413.86f, 291.82f, 397.91f, 275.78f, 397.82f, 255.96f)
46+
lineTo(397.82f, 202.22f)
47+
lineTo(379.94f, 202.22f)
48+
lineTo(379.94f, 220.1f)
49+
lineTo(379.94f, 202.22f)
50+
close()
51+
moveTo(326.2f, 148.47f)
52+
lineTo(326.2f, 76.84f)
53+
lineTo(290.34f, 76.84f)
54+
lineTo(290.34f, 148.47f)
55+
lineTo(326.2f, 148.47f)
56+
close()
57+
moveTo(182.85f, 148.47f)
58+
lineTo(182.85f, 112.62f)
59+
lineTo(147f, 112.62f)
60+
lineTo(147f, 148.47f)
61+
lineTo(182.85f, 148.47f)
62+
close()
63+
moveTo(254.48f, 148.47f)
64+
lineTo(254.48f, 40.99f)
65+
lineTo(218.63f, 40.99f)
66+
lineTo(218.63f, 148.47f)
67+
lineTo(254.48f, 148.47f)
68+
close()
69+
}
70+
}.build()
71+
}
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
package com.raival.compose.file.explorer.common.icons
2+
3+
import androidx.compose.ui.graphics.Color
4+
import androidx.compose.ui.graphics.SolidColor
5+
import androidx.compose.ui.graphics.vector.ImageVector
6+
import androidx.compose.ui.graphics.vector.path
7+
import androidx.compose.ui.unit.dp
8+
9+
val PrismIcons.Kotlin: ImageVector by lazy {
10+
ImageVector.Builder(
11+
name = "Kotlin",
12+
defaultWidth = 24.dp,
13+
defaultHeight = 24.dp,
14+
viewportWidth = 1024f,
15+
viewportHeight = 1024f
16+
).apply {
17+
path(fill = SolidColor(Color.White)) {
18+
moveTo(863.1f, 914.4f)
19+
arcToRelative(
20+
116f,
21+
116f,
22+
0f,
23+
isMoreThanHalf = false,
24+
isPositiveArc = true,
25+
-166.4f,
26+
8.3f
27+
)
28+
lineTo(419.9f, 665.6f)
29+
quadToRelative(-2.2f, -1.8f, -4.3f, -3.9f)
30+
lineTo(633.6f, 538f)
31+
lineToRelative(221.3f, 205.6f)
32+
arcToRelative(
33+
123f,
34+
123f,
35+
0f,
36+
isMoreThanHalf = false,
37+
isPositiveArc = true,
38+
8.2f,
39+
170.8f
40+
)
41+
close()
42+
moveTo(381.8f, 280.8f)
43+
verticalLineToRelative(-23.5f)
44+
arcTo(128f, 128f, 0f, isMoreThanHalf = false, isPositiveArc = false, 255.6f, 128f)
45+
arcToRelative(
46+
128f,
47+
128f,
48+
0f,
49+
isMoreThanHalf = false,
50+
isPositiveArc = false,
51+
-126.2f,
52+
129.3f
53+
)
54+
lineTo(129.4f, 424.3f)
55+
close()
56+
moveTo(128f, 822f)
57+
verticalLineToRelative(7.2f)
58+
arcTo(129.2f, 129.2f, 0f, isMoreThanHalf = false, isPositiveArc = false, 255.6f, 960f)
59+
arcToRelative(
60+
129.2f,
61+
129.2f,
62+
0f,
63+
isMoreThanHalf = false,
64+
isPositiveArc = false,
65+
127.6f,
66+
-130.8f
67+
)
68+
verticalLineToRelative(-152f)
69+
close()
70+
moveTo(881.2f, 196.4f)
71+
arcToRelative(
72+
116.5f,
73+
116.5f,
74+
0f,
75+
isMoreThanHalf = false,
76+
isPositiveArc = false,
77+
-160.4f,
78+
-47.2f
79+
)
80+
lineToRelative(-587.5f, 333.4f)
81+
verticalLineToRelative(276.5f)
82+
lineToRelative(701.8f, -398.3f)
83+
arcToRelative(
84+
122.5f,
85+
122.5f,
86+
0f,
87+
isMoreThanHalf = false,
88+
isPositiveArc = false,
89+
46.1f,
90+
-164.4f
91+
)
92+
close()
93+
}
94+
}.build()
95+
}

0 commit comments

Comments
 (0)