fix(app): update provider icon
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import Svg, { Circle, Rect } from "react-native-svg";
|
import Svg, { Path } from "react-native-svg";
|
||||||
|
|
||||||
interface OmpIconProps {
|
interface OmpIconProps {
|
||||||
size?: number;
|
size?: number;
|
||||||
@@ -6,17 +6,9 @@ interface OmpIconProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function OmpIcon({ size = 16, color = "currentColor" }: OmpIconProps) {
|
export function OmpIcon({ size = 16, color = "currentColor" }: OmpIconProps) {
|
||||||
// Ported from the Oh My Pi MIT-licensed assets/icon.svg mark.
|
|
||||||
return (
|
return (
|
||||||
<Svg width={size} height={size} viewBox="0 0 120 90" fill="none">
|
<Svg width={size} height={size} viewBox="0 0 64 64" fill={color}>
|
||||||
<Rect x={10} y={8} width={100} height={12} rx={2} fill={color} />
|
<Path d="M10 14h44v9H43v33h-9V23h-9v22h-9V23H10z" />
|
||||||
<Rect x={25} y={20} width={12} height={62} rx={2} fill={color} />
|
|
||||||
<Rect x={75} y={20} width={12} height={45} rx={2} fill={color} />
|
|
||||||
<Rect x={71} y={55} width={20} height={16} rx={3} fill="#f97316" />
|
|
||||||
<Rect x={76} y={59} width={3} height={8} rx={1} fill="#0d0d0d" />
|
|
||||||
<Rect x={82} y={59} width={3} height={8} rx={1} fill="#0d0d0d" />
|
|
||||||
<Circle cx={18} cy={14} r={2} fill="#f97316" opacity={0.8} />
|
|
||||||
<Circle cx={102} cy={14} r={2} fill="#f97316" opacity={0.8} />
|
|
||||||
</Svg>
|
</Svg>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user