fix: add correct size properties to novitaAI icon (#6001)
fix novita AI icon
This commit is contained in:
parent
75a7520fe6
commit
ccce11891d
4 changed files with 16 additions and 33 deletions
1
src/frontend/package-lock.json
generated
1
src/frontend/package-lock.json
generated
|
|
@ -836,6 +836,7 @@
|
||||||
},
|
},
|
||||||
"node_modules/@clack/prompts/node_modules/is-unicode-supported": {
|
"node_modules/@clack/prompts/node_modules/is-unicode-supported": {
|
||||||
"version": "1.3.0",
|
"version": "1.3.0",
|
||||||
|
"extraneous": true,
|
||||||
"inBundle": true,
|
"inBundle": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { useDarkStore } from "@/stores/darkStore";
|
||||||
import React, { forwardRef } from "react";
|
import React, { forwardRef } from "react";
|
||||||
import SvgNovita from "./novita";
|
import SvgNovita from "./novita";
|
||||||
|
|
||||||
|
|
@ -5,5 +6,7 @@ export const NovitaIcon = forwardRef<
|
||||||
SVGSVGElement,
|
SVGSVGElement,
|
||||||
React.PropsWithChildren<{}>
|
React.PropsWithChildren<{}>
|
||||||
>((props, ref) => {
|
>((props, ref) => {
|
||||||
return <SvgNovita ref={ref} {...props} />;
|
const isdark = useDarkStore((state) => state.dark).toString();
|
||||||
|
|
||||||
|
return <SvgNovita ref={ref} {...props} isdark={isdark} />;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,28 +1,17 @@
|
||||||
const SvgNovita = (props) => (
|
const SvgNovita = (props) => (
|
||||||
<svg
|
<svg
|
||||||
width="188"
|
|
||||||
height="188"
|
|
||||||
viewBox="0 0 188 188"
|
|
||||||
fill="none"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="30px"
|
||||||
|
height="30px"
|
||||||
|
fill="currentColor"
|
||||||
|
fillRule="evenodd"
|
||||||
|
style={{ flex: "none", lineHeight: "1" }}
|
||||||
|
viewBox="0 0 24 24"
|
||||||
>
|
>
|
||||||
<rect width="188" height="188" fill="white" />
|
<path
|
||||||
<g clip-path="url(#clip0_1987_17498)">
|
d="M9.167 4.17v5.665L0 19.003h9.167v-5.666l5.666 5.666H24z"
|
||||||
<path
|
clipRule="evenodd"
|
||||||
d="M71.8103 36V80.3795L0 152.19H71.8103V107.808L116.194 152.19H188L71.8103 36Z"
|
></path>
|
||||||
fill="black"
|
|
||||||
/>
|
|
||||||
</g>
|
|
||||||
<defs>
|
|
||||||
<clipPath id="clip0_1987_17498">
|
|
||||||
<rect
|
|
||||||
width="188"
|
|
||||||
height="116.19"
|
|
||||||
fill="white"
|
|
||||||
transform="translate(0 36)"
|
|
||||||
/>
|
|
||||||
</clipPath>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
</svg>
|
||||||
);
|
);
|
||||||
export default SvgNovita;
|
export default SvgNovita;
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1 @@
|
||||||
<svg width="188" height="188" viewBox="0 0 188 188" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Novita AI</title><path clip-rule="evenodd" d="M9.167 4.17v5.665L0 19.003h9.167v-5.666l5.666 5.666H24L9.167 4.17z"></path></svg>
|
||||||
<rect width="188" height="188" fill="white"/>
|
|
||||||
<g clip-path="url(#clip0_1987_17498)">
|
|
||||||
<path d="M71.8103 36V80.3795L0 152.19H71.8103V107.808L116.194 152.19H188L71.8103 36Z" fill="black"/>
|
|
||||||
</g>
|
|
||||||
<defs>
|
|
||||||
<clipPath id="clip0_1987_17498">
|
|
||||||
<rect width="188" height="116.19" fill="white" transform="translate(0 36)"/>
|
|
||||||
</clipPath>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 435 B After Width: | Height: | Size: 291 B |
Loading…
Add table
Add a link
Reference in a new issue