chore: update action toolbar icons

This commit is contained in:
CMK 2022-02-11 15:27:29 +08:00
parent dd7a0a48ca
commit 56ce39cb46
15 changed files with 658 additions and 5 deletions

View File

@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}

View File

@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "repeat.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}

View File

@ -0,0 +1,122 @@
%PDF-1.7
1 0 obj
<< >>
endobj
2 0 obj
<< /Length 3 0 R >>
stream
/DeviceRGB CS
/DeviceRGB cs
q
1.000000 0.000000 -0.000000 1.000000 2.000000 2.107513 cm
0.000000 0.000000 0.000000 scn
12.610181 19.422018 m
12.533377 19.489384 l
12.239406 19.713934 11.818006 19.691479 11.549520 19.422018 c
11.482400 19.344936 l
11.258662 19.049896 11.281035 18.626966 11.549520 18.357506 c
13.521000 16.380682 l
6.500000 16.380682 l
6.266866 16.376564 l
2.784996 16.253372 0.000000 13.381639 0.000000 9.857073 c
0.000000 8.166546 0.640704 6.626207 1.691700 5.467305 c
1.764071 5.397793 l
1.894961 5.285951 2.064627 5.218454 2.250000 5.218454 c
2.664214 5.218454 3.000000 5.555460 3.000000 5.971178 c
3.000000 6.144394 2.941704 6.303945 2.843728 6.431146 c
2.644393 6.661853 l
1.929533 7.529752 1.500000 8.643068 1.500000 9.857073 c
1.500000 12.628527 3.738576 14.875234 6.500000 14.875234 c
13.381000 14.875234 l
11.549520 13.034943 l
11.482400 12.957859 l
11.258662 12.662821 11.281035 12.239891 11.549520 11.970430 c
11.842414 11.676473 12.317287 11.676473 12.610181 11.970430 c
15.792162 15.163968 l
15.859283 15.241051 l
16.083021 15.536089 16.060648 15.959020 15.792162 16.228481 c
12.610181 19.422018 l
h
18.229979 14.321409 m
18.099916 14.430242 17.932577 14.495717 17.750000 14.495717 c
17.335787 14.495717 17.000000 14.158710 17.000000 13.742992 c
17.000000 13.556305 17.067719 13.385490 17.179129 13.255264 c
17.999193 12.361402 18.500000 11.167934 18.500000 9.857073 c
18.500000 7.085619 16.261425 4.838912 13.500000 4.838912 c
6.558000 4.838912 l
8.463367 6.750031 l
8.536530 6.835192 l
8.733867 7.102798 8.731853 7.471925 8.530489 7.737460 c
8.463367 7.814543 l
8.378515 7.887972 l
8.111876 8.086025 7.744085 8.084003 7.479511 7.881908 c
7.402708 7.814543 l
4.220727 4.621005 l
4.147565 4.535844 l
3.950228 4.268237 3.952242 3.899111 4.153605 3.633575 c
4.220727 3.556492 l
7.402708 0.362953 l
7.486826 0.290073 l
7.780437 0.071426 8.197102 0.095720 8.463367 0.362953 c
8.731853 0.632414 8.754227 1.055346 8.530489 1.350384 c
8.463367 1.427467 l
6.564000 3.333464 l
13.500000 3.333464 l
13.733133 3.337582 l
17.215004 3.460773 20.000000 6.332506 20.000000 9.857073 c
20.000000 11.550518 19.357080 13.093257 18.302853 14.252840 c
18.229979 14.321409 l
h
f
n
Q
endstream
endobj
3 0 obj
2191
endobj
4 0 obj
<< /Annots []
/Type /Page
/MediaBox [ 0.000000 0.000000 24.000000 24.000000 ]
/Resources 1 0 R
/Contents 2 0 R
/Parent 5 0 R
>>
endobj
5 0 obj
<< /Kids [ 4 0 R ]
/Count 1
/Type /Pages
>>
endobj
6 0 obj
<< /Pages 5 0 R
/Type /Catalog
>>
endobj
xref
0 7
0000000000 65535 f
0000000010 00000 n
0000000034 00000 n
0000002281 00000 n
0000002304 00000 n
0000002477 00000 n
0000002551 00000 n
trailer
<< /ID [ (some) (id) ]
/Root 6 0 R
/Size 7
>>
startxref
2610
%%EOF

View File

@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}

View File

@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "bubble.left.and.bubble.right.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}

View File

@ -0,0 +1,110 @@
%PDF-1.7
1 0 obj
<< >>
endobj
2 0 obj
<< /Length 3 0 R >>
stream
/DeviceRGB CS
/DeviceRGB cs
q
1.000000 0.000000 -0.000000 1.000000 2.000000 2.836700 cm
0.000000 0.000000 0.000000 scn
7.561576 18.163300 m
3.419440 18.163300 0.061576 14.805435 0.061576 10.663300 c
0.061576 9.530416 0.313246 8.454476 0.764230 7.489944 c
0.510198 6.491944 0.226379 5.379101 0.039990 4.648594 c
-0.193033 3.735312 0.629398 2.904506 1.543737 3.124281 c
2.293964 3.304609 3.446986 3.581353 4.474467 3.826294 c
5.416776 3.400215 6.462413 3.163300 7.561576 3.163300 c
11.703712 3.163300 15.061575 6.521164 15.061575 10.663300 c
15.061575 14.805435 11.703712 18.163300 7.561576 18.163300 c
h
1.561576 10.663300 m
1.561576 13.977008 4.247868 16.663300 7.561576 16.663300 c
10.875283 16.663300 13.561575 13.977008 13.561575 10.663300 c
13.561575 7.349591 10.875283 4.663300 7.561576 4.663300 c
6.600843 4.663300 5.694872 4.888549 4.891613 5.288434 c
4.648198 5.409614 l
4.383680 5.346642 l
3.460951 5.126980 2.394888 4.871399 1.595922 4.679508 c
1.794670 5.458641 2.057843 6.490885 2.286006 7.387637 c
2.356194 7.663498 l
2.225676 7.916461 l
1.801452 8.738670 1.561576 9.671877 1.561576 10.663300 c
h
12.561601 0.163244 m
10.592215 0.163244 8.800118 0.922304 7.461914 2.163819 c
7.495111 2.163436 7.528352 2.163244 7.561634 2.163244 c
8.279597 2.163244 8.976770 2.252259 9.642719 2.419854 c
10.506666 1.937881 11.502057 1.663244 12.561601 1.663244 c
13.522333 1.663244 14.428305 1.888493 15.231564 2.288379 c
15.474978 2.409558 l
15.739497 2.346587 l
16.661055 2.127203 17.704596 1.900763 18.478659 1.737051 c
18.303703 2.487577 18.064995 3.492156 17.837170 4.387582 c
17.766983 4.663443 l
17.897501 4.916406 l
18.321724 5.738615 18.561600 6.671822 18.561600 7.663244 c
18.561600 9.777950 17.467583 11.637134 15.814650 12.705694 c
15.636257 13.428946 15.365275 14.115738 15.014999 14.752777 c
17.952297 13.736459 20.061600 10.946178 20.061600 7.663244 c
20.061600 6.530099 19.809814 5.453921 19.358633 4.489217 c
19.611656 3.481242 19.867884 2.389293 20.030380 1.685955 c
20.234837 0.801001 19.455448 -0.000011 18.562967 0.186527 c
17.835819 0.338509 16.693346 0.582319 15.649543 0.826614 c
14.707017 0.400299 13.661087 0.163244 12.561601 0.163244 c
h
f
n
Q
endstream
endobj
3 0 obj
2167
endobj
4 0 obj
<< /Annots []
/Type /Page
/MediaBox [ 0.000000 0.000000 24.000000 24.000000 ]
/Resources 1 0 R
/Contents 2 0 R
/Parent 5 0 R
>>
endobj
5 0 obj
<< /Kids [ 4 0 R ]
/Count 1
/Type /Pages
>>
endobj
6 0 obj
<< /Pages 5 0 R
/Type /Catalog
>>
endobj
xref
0 7
0000000000 65535 f
0000000010 00000 n
0000000034 00000 n
0000002257 00000 n
0000002280 00000 n
0000002453 00000 n
0000002527 00000 n
trailer
<< /ID [ (some) (id) ]
/Root 6 0 R
/Size 7
>>
startxref
2586
%%EOF

View File

@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "share.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}

View File

@ -0,0 +1,127 @@
%PDF-1.7
1 0 obj
<< >>
endobj
2 0 obj
<< /Length 3 0 R >>
stream
/DeviceRGB CS
/DeviceRGB cs
q
1.000000 0.000000 -0.000000 1.000000 2.996704 2.791443 cm
0.066667 0.000000 0.000000 scn
3.750000 17.208559 m
7.214205 17.208559 l
7.628418 17.208559 7.964205 16.872772 7.964205 16.458559 c
7.964205 16.078863 7.682051 15.765067 7.315975 15.715405 c
7.214205 15.708558 l
3.750000 15.708558 l
2.559136 15.708558 1.584355 14.783398 1.505191 13.612608 c
1.500000 13.458559 l
1.500000 3.958558 l
1.500000 2.767694 2.425161 1.792913 3.595951 1.713749 c
3.750000 1.708559 l
13.250732 1.708559 l
14.441596 1.708559 15.416378 2.633719 15.495543 3.804509 c
15.500732 3.958558 l
15.500732 4.456340 l
15.500732 4.870553 15.836519 5.206340 16.250732 5.206340 c
16.630428 5.206340 16.944225 4.924186 16.993887 4.558110 c
17.000732 4.456340 l
17.000732 3.958558 l
17.000732 1.954300 15.428372 0.317286 13.449892 0.213757 c
13.250732 0.208559 l
3.750000 0.208559 l
1.745741 0.208559 0.108726 1.780920 0.005198 3.759400 c
0.000000 3.958558 l
0.000000 13.458559 l
0.000000 15.462818 1.572361 17.099833 3.550841 17.203360 c
3.750000 17.208559 l
7.214205 17.208559 l
3.750000 17.208559 l
h
11.503993 14.688704 m
11.503993 17.458559 l
11.503993 18.082529 12.210776 18.418612 12.690969 18.068756 c
12.773166 17.999817 l
18.767767 12.249817 l
19.047527 11.981472 19.072992 11.550446 18.844139 11.252485 c
18.767855 11.167385 l
12.773253 5.415532 l
12.322979 4.983491 11.591075 5.260884 11.511142 5.849654 c
11.503993 5.956706 l
11.503993 8.682026 l
11.160501 8.651914 l
8.760812 8.401592 6.460772 7.320704 4.245949 5.391203 c
3.726840 4.938968 2.923710 5.366555 3.009085 6.049711 c
3.673874 11.369261 6.455748 14.301262 11.204629 14.669057 c
11.503993 14.688704 l
11.503993 17.458559 l
11.503993 14.688704 l
h
13.003994 15.699915 m
13.003994 13.958559 l
13.003994 13.544345 12.668206 13.208559 12.253993 13.208559 c
8.380589 13.208559 5.979970 11.532429 4.942725 8.051376 c
4.863667 7.772803 l
5.215857 8.009624 l
7.452339 9.471366 9.801754 10.208558 12.253993 10.208558 c
12.633689 10.208558 12.947484 9.926404 12.997147 9.560328 c
13.003994 9.458558 l
13.003994 7.715741 l
17.165230 11.708471 l
13.003994 15.699915 l
h
f
n
Q
endstream
endobj
3 0 obj
2134
endobj
4 0 obj
<< /Annots []
/Type /Page
/MediaBox [ 0.000000 0.000000 24.000000 24.000000 ]
/Resources 1 0 R
/Contents 2 0 R
/Parent 5 0 R
>>
endobj
5 0 obj
<< /Kids [ 4 0 R ]
/Count 1
/Type /Pages
>>
endobj
6 0 obj
<< /Pages 5 0 R
/Type /Catalog
>>
endobj
xref
0 7
0000000000 65535 f
0000000010 00000 n
0000000034 00000 n
0000002224 00000 n
0000002247 00000 n
0000002420 00000 n
0000002494 00000 n
trailer
<< /ID [ (some) (id) ]
/Root 6 0 R
/Size 7
>>
startxref
2553
%%EOF

View File

@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}

View File

@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "star.fill.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}

View File

@ -0,0 +1,82 @@
%PDF-1.7
1 0 obj
<< >>
endobj
2 0 obj
<< /Length 3 0 R >>
stream
/DeviceRGB CS
/DeviceRGB cs
q
1.000000 0.000000 -0.000000 1.000000 2.000000 1.886078 cm
0.000000 0.000000 0.000000 scn
8.787823 19.011379 m
9.283020 20.014759 10.713811 20.014765 11.209011 19.011381 c
13.566957 14.233658 l
18.839485 13.467514 l
19.946779 13.306616 20.388926 11.945854 19.587675 11.164829 c
15.772436 7.445889 l
16.673092 2.194668 l
16.862242 1.091846 15.704712 0.250845 14.714312 0.771528 c
9.998417 3.250818 l
5.282524 0.771528 l
4.292129 0.250847 3.134592 1.091841 3.323741 2.194666 c
4.224397 7.445890 l
0.409159 11.164828 l
-0.392086 11.945848 0.050045 13.306614 1.157346 13.467514 c
6.429876 14.233658 l
8.787823 19.011379 l
h
f
n
Q
endstream
endobj
3 0 obj
655
endobj
4 0 obj
<< /Annots []
/Type /Page
/MediaBox [ 0.000000 0.000000 24.000000 24.000000 ]
/Resources 1 0 R
/Contents 2 0 R
/Parent 5 0 R
>>
endobj
5 0 obj
<< /Kids [ 4 0 R ]
/Count 1
/Type /Pages
>>
endobj
6 0 obj
<< /Pages 5 0 R
/Type /Catalog
>>
endobj
xref
0 7
0000000000 65535 f
0000000010 00000 n
0000000034 00000 n
0000000745 00000 n
0000000767 00000 n
0000000940 00000 n
0000001014 00000 n
trailer
<< /ID [ (some) (id) ]
/Root 6 0 R
/Size 7
>>
startxref
1073
%%EOF

View File

@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "star.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}

View File

@ -0,0 +1,99 @@
%PDF-1.7
1 0 obj
<< >>
endobj
2 0 obj
<< /Length 3 0 R >>
stream
/DeviceRGB CS
/DeviceRGB cs
q
1.000000 0.000000 -0.000000 1.000000 2.000000 1.886078 cm
0.000000 0.000000 0.000000 scn
8.787823 19.011379 m
9.283020 20.014759 10.713811 20.014765 11.209011 19.011381 c
13.566957 14.233658 l
18.839485 13.467514 l
19.946779 13.306616 20.388926 11.945854 19.587675 11.164829 c
15.772436 7.445889 l
16.673092 2.194668 l
16.862242 1.091846 15.704712 0.250845 14.714312 0.771528 c
9.998417 3.250818 l
5.282524 0.771528 l
4.292129 0.250847 3.134592 1.091841 3.323741 2.194666 c
4.224397 7.445890 l
0.409159 11.164828 l
-0.392086 11.945848 0.050045 13.306614 1.157346 13.467514 c
6.429876 14.233658 l
8.787823 19.011379 l
h
9.998417 18.074984 m
7.740080 13.499093 l
7.543436 13.100649 7.163321 12.824480 6.723613 12.760588 c
1.673818 12.026810 l
5.327885 8.464975 l
5.646061 8.154830 5.791251 7.707979 5.716140 7.270047 c
4.853532 2.240658 l
9.370207 4.615213 l
9.763494 4.821977 10.233340 4.821977 10.626628 4.615213 c
15.143302 2.240660 l
14.280694 7.270047 l
14.205583 7.707980 14.350773 8.154830 14.668949 8.464975 c
18.323015 12.026810 l
13.273220 12.760588 l
12.833511 12.824480 12.453398 13.100650 12.256754 13.499093 c
9.998417 18.074984 l
h
f
n
Q
endstream
endobj
3 0 obj
1181
endobj
4 0 obj
<< /Annots []
/Type /Page
/MediaBox [ 0.000000 0.000000 24.000000 24.000000 ]
/Resources 1 0 R
/Contents 2 0 R
/Parent 5 0 R
>>
endobj
5 0 obj
<< /Kids [ 4 0 R ]
/Count 1
/Type /Pages
>>
endobj
6 0 obj
<< /Pages 5 0 R
/Type /Catalog
>>
endobj
xref
0 7
0000000000 65535 f
0000000010 00000 n
0000000034 00000 n
0000001271 00000 n
0000001294 00000 n
0000001467 00000 n
0000001541 00000 n
trailer
<< /ID [ (some) (id) ]
/Root 6 0 R
/Size 7
>>
startxref
1600
%%EOF

View File

@ -21,6 +21,9 @@ public typealias AssetImageTypeAlias = ImageAsset.Image
// swiftlint:disable identifier_name line_length nesting type_body_length type_name
public enum Asset {
public enum Arrow {
public static let `repeat` = ImageAsset(name: "Arrow/repeat")
}
public enum Asset {
public static let email = ImageAsset(name: "Asset/email")
public static let friends = ImageAsset(name: "Asset/friends")
@ -82,6 +85,10 @@ public enum Asset {
public static let successGreen = ColorAsset(name: "Colors/success.green")
public static let systemOrange = ColorAsset(name: "Colors/system.orange")
}
public enum Communication {
public static let bubbleLeftAndBubbleRight = ImageAsset(name: "Communication/bubble.left.and.bubble.right")
public static let share = ImageAsset(name: "Communication/share")
}
public enum Connectivity {
public static let photoFillSplit = ImageAsset(name: "Connectivity/photo.fill.split")
}
@ -90,6 +97,10 @@ public enum Asset {
public static let eyeSlashCircleFill = ImageAsset(name: "Human/eye.slash.circle.fill")
public static let faceSmilingAdaptive = ImageAsset(name: "Human/face.smiling.adaptive")
}
public enum ObjectsAndTools {
public static let starFill = ImageAsset(name: "ObjectsAndTools/star.fill")
public static let star = ImageAsset(name: "ObjectsAndTools/star")
}
public enum Scene {
public enum Onboarding {
public static let avatarPlaceholder = ImageAsset(name: "Scene/Onboarding/avatar.placeholder")

View File

@ -18,11 +18,11 @@ public final class ActionToolbarContainer: UIView {
let logger = Logger(subsystem: "ActionToolbarContainer", category: "Control")
static let replyImage = UIImage(systemName: "bubble.left", withConfiguration: UIImage.SymbolConfiguration(pointSize: 17, weight: .regular))!.withRenderingMode(.alwaysTemplate)
static let reblogImage = UIImage(systemName: "arrow.2.squarepath", withConfiguration: UIImage.SymbolConfiguration(pointSize: 17, weight: .regular))!.withRenderingMode(.alwaysTemplate)
static let starImage = UIImage(systemName: "star", withConfiguration: UIImage.SymbolConfiguration(pointSize: 17, weight: .regular))!.withRenderingMode(.alwaysTemplate)
static let starFillImage = UIImage(systemName: "star.fill", withConfiguration: UIImage.SymbolConfiguration(pointSize: 17, weight: .regular))!.withRenderingMode(.alwaysTemplate)
static let shareImage = UIImage(systemName: "square.and.arrow.up", withConfiguration: UIImage.SymbolConfiguration(pointSize: 17, weight: .regular))!.withRenderingMode(.alwaysTemplate)
static let replyImage = Asset.Communication.bubbleLeftAndBubbleRight.image.withRenderingMode(.alwaysTemplate)
static let reblogImage = Asset.Arrow.repeat.image.withRenderingMode(.alwaysTemplate)
static let starImage = Asset.ObjectsAndTools.star.image.withRenderingMode(.alwaysTemplate)
static let starFillImage = Asset.ObjectsAndTools.starFill.image.withRenderingMode(.alwaysTemplate)
static let shareImage = Asset.Communication.share.image.withRenderingMode(.alwaysTemplate)
public let replyButton = HighlightDimmableButton()
public let reblogButton = HighlightDimmableButton()