Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Improve icons

dominik-zeglenbcf8120651ea
diff --git a/saleor/static/dashboard-next/configuration/ConfigurationPage.tsx b/saleor/static/dashboard-next/configuration/ConfigurationPage.tsx
index 0ef1c3f487..8466c11c0e 100644
--- a/saleor/static/dashboard-next/configuration/ConfigurationPage.tsx
+++ b/saleor/static/dashboard-next/configuration/ConfigurationPage.tsx
@@ -64,8 +64,7 @@ const styles = (theme: Theme) =>
sectionDescription: {},
sectionTitle: {
fontSize: 20,
- fontWeight: 600 as 600,
- marginBottom: 4
+ fontWeight: 600 as 600
}
});
diff --git a/saleor/static/dashboard-next/configuration/index.tsx b/saleor/static/dashboard-next/configuration/index.tsx
index 9784444981..a65625b982 100644
--- a/saleor/static/dashboard-next/configuration/index.tsx
+++ b/saleor/static/dashboard-next/configuration/index.tsx
@@ -4,13 +4,13 @@ import Navigator from "../components/Navigator";
import { UserContext } from "../auth";
import { WindowTitle } from "../components/WindowTitle";
import i18n from "../i18n";
-import AccountCircle from "../icons/AccountCircle";
-import Folder from "../icons/Folder";
-import LocalShipping from "../icons/LocalShipping";
-import Monetization from "../icons/Monetization";
import Navigation from "../icons/Navigation";
import Pages from "../icons/Pages";
-import StoreMall from "../icons/StoreMall";
+import ProductTypes from "../icons/ProductTypes";
+import ShippingMethods from "../icons/ShippingMethods";
+import SiteSettings from "../icons/SiteSettings";
+import StaffMembers from "../icons/StaffMembers";
+import Taxes from "../icons/Taxes";
import { pageListUrl } from "../pages/urls";
import { productTypeListUrl } from "../productTypes/urls";
import { shippingZonesListUrl } from "../shipping/urls";
@@ -23,48 +23,48 @@ import ConfigurationPage, { MenuItem } from "./ConfigurationPage";
export const configurationMenu: MenuItem[] = [
{
description: i18n.t("Define types of products you sell"),
- icon: <Folder fontSize="inherit" />,
+ icon: <ProductTypes fontSize="inherit" viewBox="0 0 44 44" />,
permission: PermissionEnum.MANAGE_PRODUCTS,
title: i18n.t("Product Types"),
url: productTypeListUrl
},
{
description: i18n.t("Manage your employees and their permissions"),
- icon: <AccountCircle fontSize="inherit" />,
+ icon: <StaffMembers fontSize="inherit" viewBox="0 0 44 44" />,
permission: PermissionEnum.MANAGE_STAFF,
title: i18n.t("Staff Members"),
url: staffListUrl
},
{
description: i18n.t("Manage how you ship out orders."),
- icon: <LocalShipping fontSize="inherit" />,
+ icon: <ShippingMethods fontSize="inherit" viewBox="0 0 44 44" />,
permission: PermissionEnum.MANAGE_SHIPPING,
title: i18n.t("Shipping Methods"),
url: shippingZonesListUrl
},
{
description: i18n.t("Manage how your store charges tax"),
- icon: <Monetization fontSize="inherit" />,
+ icon: <Taxes fontSize="inherit" viewBox="0 0 44 44" />,
permission: PermissionEnum.MANAGE_PRODUCTS,
title: i18n.t("Taxes"),
url: taxSection
},
{
description: i18n.t("Define how users can navigate through your store"),
- icon: <Navigation fontSize="inherit" />,
+ icon: <Navigation fontSize="inherit" viewBox="0 0 44 44" />,
permission: PermissionEnum.MANAGE_MENUS,
title: i18n.t("Navigation")
},
{
description: i18n.t("View and update your site settings"),
- icon: <StoreMall fontSize="inherit" />,
+ icon: <SiteSettings fontSize="inherit" viewBox="0 0 44 44" />,
permission: PermissionEnum.MANAGE_SETTINGS,
title: i18n.t("Site Settings"),
url: siteSettingsUrl
},
{
description: i18n.t("Manage and add additional pages"),
- icon: <Pages fontSize="inherit" />,
+ icon: <Pages fontSize="inherit" viewBox="0 0 44 44" />,
permission: PermissionEnum.MANAGE_PAGES,
title: i18n.t("Pages"),
url: pageListUrl
diff --git a/saleor/static/dashboard-next/icons/Moon.tsx b/saleor/static/dashboard-next/icons/Moon.tsx
index ce3c1287c8..e2c4115619 100644
--- a/saleor/static/dashboard-next/icons/Moon.tsx
+++ b/saleor/static/dashboard-next/icons/Moon.tsx
@@ -1,7 +1,7 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
import * as React from "react";
-export const Navigation = createSvgIcon(
+export const Moon = createSvgIcon(
<>
<path
fill-rule="evenodd"
@@ -20,5 +20,5 @@ export const Navigation = createSvgIcon(
/>
</>
);
-Navigation.displayName = "Navigation";
-export default Navigation;
+Moon.displayName = "Moon";
+export default Moon;
diff --git a/saleor/static/dashboard-next/icons/Navigation.tsx b/saleor/static/dashboard-next/icons/Navigation.tsx
index f925a3dd20..25744f7ba5 100644
--- a/saleor/static/dashboard-next/icons/Navigation.tsx
+++ b/saleor/static/dashboard-next/icons/Navigation.tsx
@@ -3,9 +3,42 @@ import * as React from "react";
export const Navigation = createSvgIcon(
<>
- <rect width="24" height="24" fillOpacity="0" />
- <rect width="15" height="19" fillOpacity="0" transform="translate(4.5 2)" />
- <path d="M12 7.27L16.28 17.7L12.81 16.17L12 15.81L11.19 16.17L7.72 17.7L12 7.27ZM12 2L4.5 20.29L5.21 21L12 18L18.79 21L19.5 20.29L12 2Z" />
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M23.5868 40.7841C32.5324 40.7841 39.7841 33.5324 39.7841 24.5868C39.7841 15.6413 32.5324 8.38954 23.5868 8.38954C14.6413 8.38954 7.38954 15.6413 7.38954 24.5868C7.38954 33.5324 14.6413 40.7841 23.5868 40.7841ZM23.5868 42.5838C33.5263 42.5838 41.5838 34.5263 41.5838 24.5868C41.5838 14.6474 33.5263 6.58984 23.5868 6.58984C13.6474 6.58984 5.58984 14.6474 5.58984 24.5868C5.58984 34.5263 13.6474 42.5838 23.5868 42.5838Z"
+ fill="url(#paint0_linear)"
+ />
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M30.4053 12.7808L17.5705 20.8424L22.3034 23.575C22.7981 22.9452 23.6933 22.7584 24.407 23.1704C25.1207 23.5825 25.4065 24.4512 25.1084 25.1945L29.8412 27.9269L30.4053 12.7808ZM22.0683 23.9832C21.7721 24.7258 22.0581 25.5927 22.7709 26.0042C23.4837 26.4158 24.3774 26.23 24.8725 25.6022L29.6052 28.3346L16.7703 36.3963L17.3345 21.2501L22.0683 23.9832ZM28.4802 16.1153L21.0575 20.7775L28.1539 24.8747L28.4802 16.1153Z"
+ fill="url(#paint1_linear)"
+ />
+ <defs>
+ <linearGradient
+ id="paint0_linear"
+ x1="4.5312"
+ y1="6.58984"
+ x2="37.4461"
+ y2="46.8339"
+ gradientUnits="userSpaceOnUse"
+ >
+ <stop stop-color="#13BEBB" />
+ <stop offset="1" stop-color="#3EE7CD" />
+ </linearGradient>
+ <linearGradient
+ id="paint1_linear"
+ x1="23.9086"
+ y1="9.02991"
+ x2="36.5382"
+ y2="33.2176"
+ gradientUnits="userSpaceOnUse"
+ >
+ <stop stop-color="#13BEBB" />
+ <stop offset="1" stop-color="#3EE7CD" />
+ </linearGradient>
+ </defs>
</>
);
Navigation.displayName = "Navigation";
diff --git a/saleor/static/dashboard-next/icons/Pages.tsx b/saleor/static/dashboard-next/icons/Pages.tsx
index ecf4ea9091..c412f17d18 100644
--- a/saleor/static/dashboard-next/icons/Pages.tsx
+++ b/saleor/static/dashboard-next/icons/Pages.tsx
@@ -3,9 +3,25 @@ import * as React from "react";
export const Pages = createSvgIcon(
<>
- <rect width="24" height="24" fillOpacity="0" />
- <rect width="18" height="18" fillOpacity="0" transform="translate(3 3)" />
- <path d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V12V5C21 3.9 20.1 3 19 3ZM13 5H19V11H16L17 7L13 8V5ZM5 5H11V8L7 7L8 11H5V5ZM11 19H5V13H8L7 17L11 16V19ZM19 19H13V16L17 17L16 13H19V19ZM14.63 14.63L12 13.72L9.37 14.63L10.28 12L9.37 9.37L12 10.28L14.63 9.37L13.72 12L14.63 14.63Z" />
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M22.3617 7H35.5267L42.0006 13.4739V36.5548H28.2148V34.7644H40.2103V14.2155L40.012 14.0172H34.8V8.80523L34.7851 8.79036H24.1521V12.3573H22.3617V7ZM6 11.4613H19.165L25.6389 17.9352V41.0161H24.7437H6V11.4613ZM18.6 13.4283V19.4172H23.8485V39.2257H7.79036V13.2517H18.4234L18.6 13.4283ZM22.2 23.0172H9.6V25.7172H22.2V23.0172ZM9.6 27.5172H22.2V30.2172H9.6V27.5172ZM37.5 16.7172H28.5V19.4172H37.5V16.7172ZM28.5 21.2172H37.5V31.1172H28.5V21.2172ZM22.2 32.0172H9.6V34.7172H22.2V32.0172Z"
+ fill="url(#paint0_linear)"
+ />
+ <defs>
+ <linearGradient
+ id="paint0_linear"
+ x1="4.94116"
+ y1="7"
+ x2="35.6523"
+ y2="46.7403"
+ gradientUnits="userSpaceOnUse"
+ >
+ <stop stop-color="#13BEBB" />
+ <stop offset="1" stop-color="#3EE7CD" />
+ </linearGradient>
+ </defs>
</>
);
Pages.displayName = "Pages";
diff --git a/saleor/static/dashboard-next/icons/ProductTypes.tsx b/saleor/static/dashboard-next/icons/ProductTypes.tsx
new file mode 100644
index 0000000000..004594903e
--- /dev/null
+++ b/saleor/static/dashboard-next/icons/ProductTypes.tsx
@@ -0,0 +1,28 @@
+import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
+import * as React from "react";
+
+export const ProductTypes = createSvgIcon(
+ <>
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M40.1538 15.3077C40.1538 18.8763 37.2609 21.7692 33.6923 21.7692C30.1237 21.7692 27.2308 18.8763 27.2308 15.3077C27.2308 11.7391 30.1237 8.84615 33.6923 8.84615C37.2609 8.84615 40.1538 11.7391 40.1538 15.3077ZM42 15.3077C42 19.8959 38.2805 23.6154 33.6923 23.6154C29.1041 23.6154 25.3846 19.8959 25.3846 15.3077C25.3846 10.7195 29.1041 7 33.6923 7C38.2805 7 42 10.7195 42 15.3077ZM20.7692 14.3846H7.84615V27.3077H20.7692V14.3846ZM6 12.5385V29.1538H22.6154V12.5385H6ZM28.1554 24.5385L18.5625 41.1538H37.7483L28.1554 24.5385ZM28.1554 28.2308L21.7601 39.3077H34.5507L28.1554 28.2308Z"
+ fill="url(#paint0_linear)"
+ />
+ <defs>
+ <linearGradient
+ id="paint0_linear"
+ x1="4.94118"
+ y1="7"
+ x2="35.808"
+ y2="46.78"
+ gradientUnits="userSpaceOnUse"
+ >
+ <stop stop-color="#13BEBB" />
+ <stop offset="1" stop-color="#3EE7CD" />
+ </linearGradient>
+ </defs>
+ </>
+);
+ProductTypes.displayName = "ProductTypes";
+export default ProductTypes;
diff --git a/saleor/static/dashboard-next/icons/ShippingMethods.tsx b/saleor/static/dashboard-next/icons/ShippingMethods.tsx
new file mode 100644
index 0000000000..1508f7f393
--- /dev/null
+++ b/saleor/static/dashboard-next/icons/ShippingMethods.tsx
@@ -0,0 +1,28 @@
+import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
+import * as React from "react";
+
+export const ShippingMethods = createSvgIcon(
+ <>
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M6 6H32.4V17.04H42V35.6776L35.6776 42H12.72V23.8424L14.2424 22.32H6V6ZM30.48 9.02192V17.04H19.5224L16.1624 20.4H7.92V8.77191L19.4404 14.7625L30.48 9.02192ZM28.4374 7.92H10.4434L19.4404 12.5984L28.4374 7.92ZM17.04 22.32H16.9576L15.9976 23.28H34.4025L38.7225 18.96H20.3176L17.04 22.2376V22.32ZM35.28 25.1178L40.08 20.3178V34.8824L35.28 39.6824V25.1178ZM14.64 25.2V40.08H33.36V25.2H14.64ZM22.8 33.84H30V31.92H22.8V33.84ZM22.8 37.2H28.56V35.28H22.8V37.2Z"
+ fill="url(#paint0_linear)"
+ />
+ <defs>
+ <linearGradient
+ id="paint0_linear"
+ x1="6"
+ y1="6"
+ x2="45.6"
+ y2="47.1429"
+ gradientUnits="userSpaceOnUse"
+ >
+ <stop stop-color="#13BEBB" />
+ <stop offset="1" stop-color="#3EE7CD" />
+ </linearGradient>
+ </defs>
+ </>
+);
+ShippingMethods.displayName = "ShippingMethods";
+export default ShippingMethods;
diff --git a/saleor/static/dashboard-next/icons/SiteSettings.tsx b/saleor/static/dashboard-next/icons/SiteSettings.tsx
new file mode 100644
index 0000000000..882f15fd00
--- /dev/null
+++ b/saleor/static/dashboard-next/icons/SiteSettings.tsx
@@ -0,0 +1,28 @@
+import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
+import * as React from "react";
+
+export const SiteSettings = createSvgIcon(
+ <>
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M34.6387 11.9972L33.7134 14.5158L34.3905 15.2663C35.8323 16.8641 36.9274 18.7948 37.5523 20.9335L37.8454 21.9364L40.3256 22.3641V27.8214L37.8454 28.2491L37.5524 29.252C36.9666 31.2566 35.9678 33.0786 34.6575 34.615L34.0222 35.36L34.9932 38.0028L30.0553 40.8475L28.4228 38.897L27.4032 39.1548C26.3148 39.43 25.1752 39.5765 24 39.5765C22.8248 39.5765 21.6852 39.43 20.5968 39.1548L19.5772 38.897L17.9447 40.8475L13.0068 38.0028L13.9778 35.36L13.3425 34.615C12.0322 33.0786 11.0334 31.2566 10.4476 29.252L10.1546 28.2491L7.67442 27.8214L7.67442 22.3641L10.1546 21.9364L10.4477 20.9335C11.0726 18.7948 12.1677 16.8641 13.6095 15.2663L14.2866 14.5158L13.3612 11.9972L18.2992 9.15248L19.9813 11.1624L20.9758 10.9407C21.9487 10.7237 22.9603 10.6092 24 10.6092C25.0397 10.6092 26.0513 10.7237 27.0242 10.9407L28.0187 11.1624L29.7008 9.15248L34.6387 11.9972ZM42 29.2318V20.9537L39.1595 20.4639C38.4629 18.0799 37.2421 15.927 35.6337 14.1445L36.6969 11.2506L29.3188 7L27.3886 9.30636C26.2969 9.06298 25.1631 8.93475 24 8.93475C22.8369 8.93475 21.7031 9.06298 20.6114 9.30636L18.6812 7L11.303 11.2506L12.3663 14.1445C10.7579 15.927 9.53708 18.0799 8.84047 20.4639L6 20.9537V29.2318L8.84043 29.7216C9.49337 31.9562 10.6069 33.9878 12.0685 35.7016L10.9486 38.7495L18.3267 43L20.1863 40.7781C21.4077 41.087 22.6851 41.2509 24 41.2509C25.3149 41.2509 26.5923 41.087 27.8137 40.7781L29.6733 43L37.0514 38.7495L35.9315 35.7016C37.3931 33.9878 38.5066 31.9562 39.1596 29.7216L42 29.2318ZM31.5996 25.0013C31.5996 29.1977 28.1977 32.5996 24.0013 32.5996C19.8049 32.5996 16.403 29.1977 16.403 25.0013C16.403 20.8049 19.8049 17.403 24.0013 17.403C28.1977 17.403 31.5996 20.8049 31.5996 25.0013ZM33.274 25.0013C33.274 30.1225 29.1225 34.274 24.0013 34.274C18.8801 34.274 14.7286 30.1225 14.7286 25.0013C14.7286 19.8801 18.8801 15.7286 24.0013 15.7286C29.1225 15.7286 33.274 19.8801 33.274 25.0013Z"
+ fill="url(#paint0_linear)"
+ />
+ <defs>
+ <linearGradient
+ id="paint0_linear"
+ x1="4.94118"
+ y1="7"
+ x2="37.8615"
+ y2="47.2508"
+ gradientUnits="userSpaceOnUse"
+ >
+ <stop stop-color="#13BEBB" />
+ <stop offset="1" stop-color="#3EE7CD" />
+ </linearGradient>
+ </defs>
+ </>
+);
+SiteSettings.displayName = "SiteSettings";
+export default SiteSettings;
diff --git a/saleor/static/dashboard-next/icons/StaffMembers.tsx b/saleor/static/dashboard-next/icons/StaffMembers.tsx
new file mode 100644
index 0000000000..99ce5fb5ef
--- /dev/null
+++ b/saleor/static/dashboard-next/icons/StaffMembers.tsx
@@ -0,0 +1,28 @@
+import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
+import * as React from "react";
+
+export const StaffMembers = createSvgIcon(
+ <>
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M24 13.2C24 16.1823 21.5823 18.6 18.6 18.6C15.6177 18.6 13.2 16.1823 13.2 13.2C13.2 10.2177 15.6177 7.8 18.6 7.8C21.5823 7.8 24 10.2177 24 13.2ZM25.8 13.2C25.8 17.1764 22.5765 20.4 18.6 20.4C14.6236 20.4 11.4 17.1764 11.4 13.2C11.4 9.22355 14.6236 6 18.6 6C22.5765 6 25.8 9.22355 25.8 13.2ZM8.0821 40.2L10.449 24H25.851L26.7355 30.0541L26.7 30.3H26.7715L28.2179 40.2H8.0821ZM28.5906 30.3L30.3 42H6L8.89286 22.2H27.4071L27.6403 23.7956L28.5214 17.7H34.35H40.1786L42 30.3H28.5906ZM34.35 17.7C31.6162 17.7 29.4 15.4838 29.4 12.75C29.4 10.0162 31.6162 7.8 34.35 7.8C37.0838 7.8 39.3 10.0162 39.3 12.75C39.3 15.4838 37.0838 17.7 34.35 17.7ZM34.35 15.9C36.0897 15.9 37.5 14.4897 37.5 12.75C37.5 11.0103 36.0897 9.6 34.35 9.6C32.6103 9.6 31.2 11.0103 31.2 12.75C31.2 14.4897 32.6103 15.9 34.35 15.9ZM28.7789 28.5L30.0799 19.5H38.6201L39.9211 28.5H28.7789Z"
+ fill="url(#paint0_linear)"
+ />
+ <defs>
+ <linearGradient
+ id="paint0_linear"
+ x1="4.94118"
+ y1="6"
+ x2="37.8615"
+ y2="46.2508"
+ gradientUnits="userSpaceOnUse"
+ >
+ <stop stop-color="#13BEBB" />
+ <stop offset="1" stop-color="#3EE7CD" />
+ </linearGradient>
+ </defs>
+ </>
+);
+StaffMembers.displayName = "StaffMembers";
+export default StaffMembers;
diff --git a/saleor/static/dashboard-next/icons/Sun.tsx b/saleor/static/dashboard-next/icons/Sun.tsx
index 7f94355918..46e21b225f 100644
--- a/saleor/static/dashboard-next/icons/Sun.tsx
+++ b/saleor/static/dashboard-next/icons/Sun.tsx
@@ -1,7 +1,7 @@
import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
import * as React from "react";
-export const Navigation = createSvgIcon(
+export const Sun = createSvgIcon(
<>
<path
fill-rule="evenodd"
@@ -10,5 +10,5 @@ export const Navigation = createSvgIcon(
/>
</>
);
-Navigation.displayName = "Navigation";
-export default Navigation;
+Sun.displayName = "Sun";
+export default Sun;
diff --git a/saleor/static/dashboard-next/icons/Taxes.tsx b/saleor/static/dashboard-next/icons/Taxes.tsx
new file mode 100644
index 0000000000..19efad72c0
--- /dev/null
+++ b/saleor/static/dashboard-next/icons/Taxes.tsx
@@ -0,0 +1,28 @@
+import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";
+import * as React from "react";
+
+export const Taxes = createSvgIcon(
+ <>
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M8 6H37.3684V24.9474H35.4737V7.89474H9.89474V40.1053H35.4737V37.7368H37.3684V42H8V6ZM13.6848 24H16.5269V26.8421H13.6848V24ZM21.2624 24H18.4203V26.8421H21.2624V24ZM23.1594 24H26.0015V26.8421H23.1594V24ZM30.737 24H27.8949V26.8421H30.737V24ZM13.6848 28.7355H16.5269V31.5777H13.6848V28.7355ZM21.2624 28.7355H18.4203V31.5777H21.2624V28.7355ZM23.1594 28.7355H26.0015V31.5777H23.1594V28.7355ZM16.5269 33.4746H13.6848V36.3167H16.5269V33.4746ZM18.4203 33.4746H21.2624V36.3167H18.4203V33.4746ZM26.0015 33.4746H23.1594V36.3167H26.0015V33.4746ZM29.79 14.5252H15.5795V19.262H29.79V14.5252ZM13.6848 12.6305V21.1568H31.6848V12.6305H13.6848ZM40.2116 33.4746H37.3695V36.3167H40.2116V33.4746ZM31.6848 27.7898H34.5269V30.632H31.6848V27.7898ZM32.3531 36.9845L40.8794 28.4581L39.5396 27.1184L31.0133 35.6447L32.3531 36.9845Z"
+ fill="url(#paint0_linear)"
+ />
+ <defs>
+ <linearGradient
+ id="paint0_linear"
+ x1="7.03296"
+ y1="6"
+ x2="40.4173"
+ y2="43.2798"
+ gradientUnits="userSpaceOnUse"
+ >
+ <stop stop-color="#13BEBB" />
+ <stop offset="1" stop-color="#3EE7CD" />
+ </linearGradient>
+ </defs>
+ </>
+);
+Taxes.displayName = "Taxes";
+export default Taxes;