Skip to content

Commit 3c64fd0

Browse files
RiotRobotrobintown
andauthored
Sync icons from Figma (#166)
Co-authored-by: robintown <[email protected]>
1 parent 3563a79 commit 3c64fd0

File tree

21 files changed

+87
-0
lines changed

21 files changed

+87
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:viewportWidth="24"
5+
android:viewportHeight="24">
6+
<path
7+
android:fillColor="#FF000000"
8+
android:fillType="evenOdd"
9+
android:pathData="M11.1 2.45a2 2 0 0 1 1.8 0l6 3A2 2 0 0 1 20 7.24V12c0 6.74-5.77 9.25-7.51 9.85-0.32 0.1-0.66 0.1-0.98 0C9.77 21.25 4 18.75 4 12V7.24a2 2 0 0 1 1.1-1.8z m4.6 6.84a1 1 0 0 0-1.4 0L11 12.6l-1.3-1.3a1 1 0 0 0-1.4 1.42l2 2a1 1 0 0 0 1.4 0l4-4a1 1 0 0 0 0-1.42"/>
10+
</vector>

assets/android/src/CompoundIcons.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,9 @@ object CompoundIcons {
493493
@Composable fun ShareScreenSolid(): ImageVector {
494494
return ImageVector.vectorResource(R.drawable.ic_compound_share_screen_solid)
495495
}
496+
@Composable fun Shield(): ImageVector {
497+
return ImageVector.vectorResource(R.drawable.ic_compound_shield)
498+
}
496499
@Composable fun Sidebar(): ImageVector {
497500
return ImageVector.vectorResource(R.drawable.ic_compound_sidebar)
498501
}
@@ -780,6 +783,7 @@ object CompoundIcons {
780783
ShareIos(),
781784
ShareScreen(),
782785
ShareScreenSolid(),
786+
Shield(),
783787
Sidebar(),
784788
SignOut(),
785789
Spinner(),
@@ -982,6 +986,7 @@ object CompoundIcons {
982986
R.drawable.ic_compound_share_ios,
983987
R.drawable.ic_compound_share_screen,
984988
R.drawable.ic_compound_share_screen_solid,
989+
R.drawable.ic_compound_shield,
985990
R.drawable.ic_compound_sidebar,
986991
R.drawable.ic_compound_sign_out,
987992
R.drawable.ic_compound_spinner,

assets/ios/swift/CompoundIcons.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ public class CompoundIcons {
162162
public let shareIos = Image("shareIos", bundle: Bundle.module)
163163
public let shareScreen = Image("shareScreen", bundle: Bundle.module)
164164
public let shareScreenSolid = Image("shareScreenSolid", bundle: Bundle.module)
165+
public let shield = Image("shield", bundle: Bundle.module)
165166
public let sidebar = Image("sidebar", bundle: Bundle.module)
166167
public let signOut = Image("signOut", bundle: Bundle.module)
167168
public let spinner = Image("spinner", bundle: Bundle.module)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"images":[{"filename":"shield.svg","idiom":"universal"}],"info":{"author":"xcode","version":1},"properties":{"preserves-vector-representation":true,"template-rendering-intent":"template"}}
Lines changed: 1 addition & 0 deletions
Loading

assets/web/icons/index.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ module.exports = {
155155
ShareScreenSolidIcon: require("./share-screen-solid.cjs"),
156156
ShareScreenIcon: require("./share-screen.cjs"),
157157
ShareIcon: require("./share.cjs"),
158+
ShieldIcon: require("./shield.cjs"),
158159
SidebarIcon: require("./sidebar.cjs"),
159160
SignOutIcon: require("./sign-out.cjs"),
160161
SpinnerIcon: require("./spinner.cjs"),

assets/web/icons/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ export { default as ShareIosIcon } from "./share-ios.js";
154154
export { default as ShareScreenSolidIcon } from "./share-screen-solid.js";
155155
export { default as ShareScreenIcon } from "./share-screen.js";
156156
export { default as ShareIcon } from "./share.js";
157+
export { default as ShieldIcon } from "./shield.js";
157158
export { default as SidebarIcon } from "./sidebar.js";
158159
export { default as SignOutIcon } from "./sign-out.js";
159160
export { default as SpinnerIcon } from "./spinner.js";

assets/web/icons/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ export { default as ShareIosIcon } from "./share-ios.js";
154154
export { default as ShareScreenSolidIcon } from "./share-screen-solid.js";
155155
export { default as ShareScreenIcon } from "./share-screen.js";
156156
export { default as ShareIcon } from "./share.js";
157+
export { default as ShieldIcon } from "./shield.js";
157158
export { default as SidebarIcon } from "./sidebar.js";
158159
export { default as SignOutIcon } from "./sign-out.js";
159160
export { default as SpinnerIcon } from "./spinner.js";

assets/web/icons/shield.cjs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
var _reactJsxRuntime = require("react/jsx-runtime");
2+
var React = require("react");
3+
function ShieldIcon(props, ref) {
4+
return /*#__PURE__*/_reactJsxRuntime.jsx("svg", {
5+
xmlns: "http://www.w3.org/2000/svg",
6+
width: "1em",
7+
height: "1em",
8+
fill: "currentColor",
9+
viewBox: "0 0 24 24",
10+
ref: ref,
11+
...props,
12+
children: /*#__PURE__*/_reactJsxRuntime.jsx("path", {
13+
fillRule: "evenodd",
14+
d: "M11.106 2.447a2 2 0 0 1 1.789 0l6 3A2 2 0 0 1 20 7.237V12c0 6.742-5.773 9.246-7.51 9.846-.32.111-.66.111-.98 0C9.774 21.246 4 18.743 4 12V7.236a2 2 0 0 1 1.105-1.789zm4.601 6.846a1 1 0 0 0-1.414 0L11 12.586l-1.293-1.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0 0-1.414",
15+
clipRule: "evenodd"
16+
})
17+
});
18+
}
19+
;
20+
ShieldIcon.displayName = "ShieldIcon";
21+
module.exports = React.forwardRef(ShieldIcon);

assets/web/icons/shield.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import React from "react";
2+
3+
/**
4+
* shield.svg
5+
*/
6+
declare const ShieldIcon: React.ForwardRefExoticComponent<
7+
Omit<React.SVGProps<SVGSVGElement>, "ref" | "children"> &
8+
React.RefAttributes<SVGSVGElement>
9+
>;
10+
11+
export default ShieldIcon;

0 commit comments

Comments
 (0)