Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unread icons. #80

Merged
merged 3 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions assets/android/res/drawable/ic_compound_read.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FF000000"
android:pathData="M21.32 9.13c0-0.66-0.33-1.24-0.86-1.56L13.1 3.25a1.81 1.81 0 0 0-1.85 0L3.87 7.57C3.35 7.9 3 8.47 3 9.13v9.17c0 1 0.82 1.83 1.83 1.83H19.5a1.84 1.84 0 0 0 1.83-1.83V9.13ZM11.2 13.11L4.6 8.98l6.64-3.9a1.81 1.81 0 0 1 1.85 0l6.65 3.9-6.6 4.13a1.85 1.85 0 0 1-1.94 0Z"/>
</vector>
13 changes: 13 additions & 0 deletions assets/android/res/drawable/ic_compound_unread.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FF000000"
android:pathData="M20 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"/>
<path
android:fillColor="#FF000000"
android:fillType="evenOdd"
android:pathData="M17 5H5a2 2 0 0 0-2 2v10.4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V7.83a3 3 0 0 1-2 0 3.06 3.06 0 0 1-0.6-0.29L12 11.9 5 7.14V7h12.76A2.99 2.99 0 0 1 17 5Zm-4.44 8.93L19 9.55v7.85H5V9.56l6.44 4.37a1 1 0 0 0 1.12 0Z"/>
</vector>
10 changes: 10 additions & 0 deletions assets/android/src/CompoundIcons.kt
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,9 @@ object CompoundIcons {
@Composable fun ReactionAdd(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_reaction_add)
}
@Composable fun Read(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_read)
}
@Composable fun Reply(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_reply)
}
Expand Down Expand Up @@ -463,6 +466,9 @@ object CompoundIcons {
@Composable fun UnknownSolid(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_unknown_solid)
}
@Composable fun Unread(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_unread)
}
@Composable fun User(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_user)
}
Expand Down Expand Up @@ -650,6 +656,7 @@ object CompoundIcons {
Quote(),
Reaction(),
ReactionAdd(),
Read(),
Reply(),
Restart(),
Search(),
Expand Down Expand Up @@ -677,6 +684,7 @@ object CompoundIcons {
Underline(),
Unknown(),
UnknownSolid(),
Unread(),
User(),
UserAdd(),
UserAddSolid(),
Expand Down Expand Up @@ -821,6 +829,7 @@ object CompoundIcons {
R.drawable.ic_compound_quote,
R.drawable.ic_compound_reaction,
R.drawable.ic_compound_reaction_add,
R.drawable.ic_compound_read,
R.drawable.ic_compound_reply,
R.drawable.ic_compound_restart,
R.drawable.ic_compound_search,
Expand Down Expand Up @@ -848,6 +857,7 @@ object CompoundIcons {
R.drawable.ic_compound_underline,
R.drawable.ic_compound_unknown,
R.drawable.ic_compound_unknown_solid,
R.drawable.ic_compound_unread,
R.drawable.ic_compound_user,
R.drawable.ic_compound_user_add,
R.drawable.ic_compound_user_add_solid,
Expand Down
2 changes: 2 additions & 0 deletions assets/ios/swift/CompoundIcons.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class CompoundIcons {
public let userProfileSolid = Image("userProfileSolid", bundle: Bundle.module)
public let userAdd = Image("userAdd", bundle: Bundle.module)
public let userAddSolid = Image("userAddSolid", bundle: Bundle.module)
public let unread = Image("unread", bundle: Bundle.module)
public let unknown = Image("unknown", bundle: Bundle.module)
public let unknownSolid = Image("unknownSolid", bundle: Bundle.module)
public let underline = Image("underline", bundle: Bundle.module)
Expand Down Expand Up @@ -55,6 +56,7 @@ public class CompoundIcons {
public let search = Image("search", bundle: Bundle.module)
public let restart = Image("restart", bundle: Bundle.module)
public let reply = Image("reply", bundle: Bundle.module)
public let read = Image("read", bundle: Bundle.module)
public let reaction = Image("reaction", bundle: Bundle.module)
public let reactionAdd = Image("reactionAdd", bundle: Bundle.module)
public let quote = Image("quote", bundle: Bundle.module)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"images":[{"filename":"read.svg","idiom":"universal"}],"info":{"author":"xcode","version":1},"properties":{"preserves-vector-representation":true,"template-rendering-intent":"template"}}
3 changes: 3 additions & 0 deletions assets/ios/swift/Icons.xcassets/read.imageset/read.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"images":[{"filename":"unread.svg","idiom":"universal"}],"info":{"author":"xcode","version":1},"properties":{"preserves-vector-representation":true,"template-rendering-intent":"template"}}
4 changes: 4 additions & 0 deletions assets/ios/swift/Icons.xcassets/unread.imageset/unread.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/web/icons/$icons.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions assets/web/icons/read.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/web/icons/unread.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions assets/web/js/cpdDark.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ export const cpdIconQrCode : string;
export const cpdIconQuote : string;
export const cpdIconReactionAdd : string;
export const cpdIconReaction : string;
export const cpdIconRead : string;
export const cpdIconReply : string;
export const cpdIconRestart : string;
export const cpdIconSearch : string;
Expand Down Expand Up @@ -223,6 +224,7 @@ export const cpdIconTime : string;
export const cpdIconUnderline : string;
export const cpdIconUnknownSolid : string;
export const cpdIconUnknown : string;
export const cpdIconUnread : string;
export const cpdIconUserAddSolid : string;
export const cpdIconUserAdd : string;
export const cpdIconUserProfileSolid : string;
Expand Down
2 changes: 2 additions & 0 deletions assets/web/js/cpdDark.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ export const cpdIconQrCode = "icons/qr-code.svg";
export const cpdIconQuote = "icons/quote.svg";
export const cpdIconReactionAdd = "icons/reaction-add.svg";
export const cpdIconReaction = "icons/reaction.svg";
export const cpdIconRead = "icons/read.svg";
export const cpdIconReply = "icons/reply.svg";
export const cpdIconRestart = "icons/restart.svg";
export const cpdIconSearch = "icons/search.svg";
Expand Down Expand Up @@ -223,6 +224,7 @@ export const cpdIconTime = "icons/time.svg";
export const cpdIconUnderline = "icons/underline.svg";
export const cpdIconUnknownSolid = "icons/unknown-solid.svg";
export const cpdIconUnknown = "icons/unknown.svg";
export const cpdIconUnread = "icons/unread.svg";
export const cpdIconUserAddSolid = "icons/user-add-solid.svg";
export const cpdIconUserAdd = "icons/user-add.svg";
export const cpdIconUserProfileSolid = "icons/user-profile-solid.svg";
Expand Down
2 changes: 2 additions & 0 deletions assets/web/js/cpdDarkHc.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ export const cpdIconQrCode : string;
export const cpdIconQuote : string;
export const cpdIconReactionAdd : string;
export const cpdIconReaction : string;
export const cpdIconRead : string;
export const cpdIconReply : string;
export const cpdIconRestart : string;
export const cpdIconSearch : string;
Expand Down Expand Up @@ -223,6 +224,7 @@ export const cpdIconTime : string;
export const cpdIconUnderline : string;
export const cpdIconUnknownSolid : string;
export const cpdIconUnknown : string;
export const cpdIconUnread : string;
export const cpdIconUserAddSolid : string;
export const cpdIconUserAdd : string;
export const cpdIconUserProfileSolid : string;
Expand Down
2 changes: 2 additions & 0 deletions assets/web/js/cpdDarkHc.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ export const cpdIconQrCode = "icons/qr-code.svg";
export const cpdIconQuote = "icons/quote.svg";
export const cpdIconReactionAdd = "icons/reaction-add.svg";
export const cpdIconReaction = "icons/reaction.svg";
export const cpdIconRead = "icons/read.svg";
export const cpdIconReply = "icons/reply.svg";
export const cpdIconRestart = "icons/restart.svg";
export const cpdIconSearch = "icons/search.svg";
Expand Down Expand Up @@ -223,6 +224,7 @@ export const cpdIconTime = "icons/time.svg";
export const cpdIconUnderline = "icons/underline.svg";
export const cpdIconUnknownSolid = "icons/unknown-solid.svg";
export const cpdIconUnknown = "icons/unknown.svg";
export const cpdIconUnread = "icons/unread.svg";
export const cpdIconUserAddSolid = "icons/user-add-solid.svg";
export const cpdIconUserAdd = "icons/user-add.svg";
export const cpdIconUserProfileSolid = "icons/user-profile-solid.svg";
Expand Down
2 changes: 2 additions & 0 deletions assets/web/js/cpdLight.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ export const cpdIconQrCode : string;
export const cpdIconQuote : string;
export const cpdIconReactionAdd : string;
export const cpdIconReaction : string;
export const cpdIconRead : string;
export const cpdIconReply : string;
export const cpdIconRestart : string;
export const cpdIconSearch : string;
Expand Down Expand Up @@ -223,6 +224,7 @@ export const cpdIconTime : string;
export const cpdIconUnderline : string;
export const cpdIconUnknownSolid : string;
export const cpdIconUnknown : string;
export const cpdIconUnread : string;
export const cpdIconUserAddSolid : string;
export const cpdIconUserAdd : string;
export const cpdIconUserProfileSolid : string;
Expand Down
2 changes: 2 additions & 0 deletions assets/web/js/cpdLight.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ export const cpdIconQrCode = "icons/qr-code.svg";
export const cpdIconQuote = "icons/quote.svg";
export const cpdIconReactionAdd = "icons/reaction-add.svg";
export const cpdIconReaction = "icons/reaction.svg";
export const cpdIconRead = "icons/read.svg";
export const cpdIconReply = "icons/reply.svg";
export const cpdIconRestart = "icons/restart.svg";
export const cpdIconSearch = "icons/search.svg";
Expand Down Expand Up @@ -223,6 +224,7 @@ export const cpdIconTime = "icons/time.svg";
export const cpdIconUnderline = "icons/underline.svg";
export const cpdIconUnknownSolid = "icons/unknown-solid.svg";
export const cpdIconUnknown = "icons/unknown.svg";
export const cpdIconUnread = "icons/unread.svg";
export const cpdIconUserAddSolid = "icons/user-add-solid.svg";
export const cpdIconUserAdd = "icons/user-add.svg";
export const cpdIconUserProfileSolid = "icons/user-profile-solid.svg";
Expand Down
2 changes: 2 additions & 0 deletions assets/web/js/cpdLightHc.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ export const cpdIconQrCode : string;
export const cpdIconQuote : string;
export const cpdIconReactionAdd : string;
export const cpdIconReaction : string;
export const cpdIconRead : string;
export const cpdIconReply : string;
export const cpdIconRestart : string;
export const cpdIconSearch : string;
Expand Down Expand Up @@ -223,6 +224,7 @@ export const cpdIconTime : string;
export const cpdIconUnderline : string;
export const cpdIconUnknownSolid : string;
export const cpdIconUnknown : string;
export const cpdIconUnread : string;
export const cpdIconUserAddSolid : string;
export const cpdIconUserAdd : string;
export const cpdIconUserProfileSolid : string;
Expand Down
2 changes: 2 additions & 0 deletions assets/web/js/cpdLightHc.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ export const cpdIconQrCode = "icons/qr-code.svg";
export const cpdIconQuote = "icons/quote.svg";
export const cpdIconReactionAdd = "icons/reaction-add.svg";
export const cpdIconReaction = "icons/reaction.svg";
export const cpdIconRead = "icons/read.svg";
export const cpdIconReply = "icons/reply.svg";
export const cpdIconRestart = "icons/restart.svg";
export const cpdIconSearch = "icons/search.svg";
Expand Down Expand Up @@ -223,6 +224,7 @@ export const cpdIconTime = "icons/time.svg";
export const cpdIconUnderline = "icons/underline.svg";
export const cpdIconUnknownSolid = "icons/unknown-solid.svg";
export const cpdIconUnknown = "icons/unknown.svg";
export const cpdIconUnread = "icons/unread.svg";
export const cpdIconUserAddSolid = "icons/user-add-solid.svg";
export const cpdIconUserAdd = "icons/user-add.svg";
export const cpdIconUserProfileSolid = "icons/user-profile-solid.svg";
Expand Down
Loading