From 7b16f8d3750282040d8464c07a9b8f90084530d6 Mon Sep 17 00:00:00 2001 From: Hunter Miller Date: Tue, 12 Oct 2021 09:54:44 -0500 Subject: [PATCH] system-prefs: updating icons --- pkg/grid/src/assets/notifications.svg | 28 ----------- pkg/grid/src/assets/system-updates.svg | 26 ----------- pkg/grid/src/components/icons/Interface.tsx | 11 +++++ .../src/components/icons/Notifications.tsx | 11 +++++ pkg/grid/src/components/icons/System.tsx | 46 +++++++++++++++++++ pkg/grid/src/nav/SystemPreferences.tsx | 13 +++--- 6 files changed, 75 insertions(+), 60 deletions(-) delete mode 100644 pkg/grid/src/assets/notifications.svg delete mode 100644 pkg/grid/src/assets/system-updates.svg create mode 100644 pkg/grid/src/components/icons/Interface.tsx create mode 100644 pkg/grid/src/components/icons/Notifications.tsx create mode 100644 pkg/grid/src/components/icons/System.tsx diff --git a/pkg/grid/src/assets/notifications.svg b/pkg/grid/src/assets/notifications.svg deleted file mode 100644 index 4e94769fb..000000000 --- a/pkg/grid/src/assets/notifications.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pkg/grid/src/assets/system-updates.svg b/pkg/grid/src/assets/system-updates.svg deleted file mode 100644 index 62fefa705..000000000 --- a/pkg/grid/src/assets/system-updates.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pkg/grid/src/components/icons/Interface.tsx b/pkg/grid/src/components/icons/Interface.tsx new file mode 100644 index 000000000..e0866da7a --- /dev/null +++ b/pkg/grid/src/components/icons/Interface.tsx @@ -0,0 +1,11 @@ +import React from 'react'; + +export const Interface = (props: React.SVGProps) => ( + + + +); diff --git a/pkg/grid/src/components/icons/Notifications.tsx b/pkg/grid/src/components/icons/Notifications.tsx new file mode 100644 index 000000000..c4cabc2dd --- /dev/null +++ b/pkg/grid/src/components/icons/Notifications.tsx @@ -0,0 +1,11 @@ +import React from 'react'; + +export const Notifications = (props: React.SVGProps) => ( + + + +); diff --git a/pkg/grid/src/components/icons/System.tsx b/pkg/grid/src/components/icons/System.tsx new file mode 100644 index 000000000..7cb39af98 --- /dev/null +++ b/pkg/grid/src/components/icons/System.tsx @@ -0,0 +1,46 @@ +import React from 'react'; + +export const System = (props: React.SVGProps) => ( + + + + + + + + + + +); diff --git a/pkg/grid/src/nav/SystemPreferences.tsx b/pkg/grid/src/nav/SystemPreferences.tsx index 09a640601..c20e0face 100644 --- a/pkg/grid/src/nav/SystemPreferences.tsx +++ b/pkg/grid/src/nav/SystemPreferences.tsx @@ -4,8 +4,6 @@ import { ErrorBoundary } from 'react-error-boundary'; import classNames from 'classnames'; import { NotificationPrefs } from './preferences/NotificationPrefs'; import { SystemUpdatePrefs } from './preferences/SystemUpdatePrefs'; -import notificationsSVG from '../assets/notifications.svg'; -import systemUpdatesSVG from '../assets/system-updates.svg'; import { InterfacePrefs } from './preferences/InterfacePrefs'; import { useCharges } from '../state/docket'; import { AppPrefs } from './preferences/AppPrefs'; @@ -13,6 +11,9 @@ import { DocketImage } from '../components/DocketImage'; import { ErrorAlert } from '../components/ErrorAlert'; import { useMedia } from '../logic/useMedia'; import { LeftArrow } from '../components/icons/LeftArrow'; +import { System } from '../components/icons/System'; +import { Interface } from '../components/icons/Interface'; +import { Notifications } from '../components/icons/Notifications'; interface SystemPreferencesSectionProps { url: string; @@ -76,7 +77,7 @@ export const SystemPreferences = (props: RouteComponentProps<{ submenu: string } >
-