From cc9468e2c5453ac6aded71f8b6a30e4ca82f03d1 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 25 Aug 2021 21:44:30 -0700 Subject: [PATCH] Add 4 additional collection icons, closes #2482 --- app/components/IconPicker.js | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/app/components/IconPicker.js b/app/components/IconPicker.js index b553c6f4..12d46087 100644 --- a/app/components/IconPicker.js +++ b/app/components/IconPicker.js @@ -1,5 +1,6 @@ // @flow import { + BookmarkedIcon, CollectionIcon, CoinsIcon, AcademicCapIcon, @@ -8,9 +9,12 @@ import { CloudIcon, CodeIcon, EditIcon, + EmailIcon, EyeIcon, + ImageIcon, LeafIcon, LightBulbIcon, + MathIcon, MoonIcon, NotepadIcon, PadlockIcon, @@ -18,6 +22,7 @@ import { QuestionMarkIcon, SunIcon, VehicleIcon, + WarningIcon, } from "outline-icons"; import * as React from "react"; import { useTranslation } from "react-i18next"; @@ -39,6 +44,10 @@ const TwitterPicker = React.lazy(() => ); export const icons = { + bookmark: { + component: BookmarkedIcon, + keywords: "bookmark", + }, collection: { component: CollectionIcon, keywords: "collection", @@ -67,10 +76,18 @@ export const icons = { component: CodeIcon, keywords: "developer api code development engineering programming", }, + email: { + component: EmailIcon, + keywords: "email at", + }, eye: { component: EyeIcon, keywords: "eye view", }, + image: { + component: ImageIcon, + keywords: "image photo picture", + }, leaf: { component: LeafIcon, keywords: "leaf plant outdoors nature ecosystem climate", @@ -79,6 +96,10 @@ export const icons = { component: LightBulbIcon, keywords: "lightbulb idea", }, + math: { + component: MathIcon, + keywords: "math formula", + }, moon: { component: MoonIcon, keywords: "night moon dark", @@ -111,6 +132,10 @@ export const icons = { component: VehicleIcon, keywords: "truck car travel transport", }, + warning: { + component: WarningIcon, + keywords: "danger", + }, }; const colors = [ @@ -192,7 +217,7 @@ const Label = styled.label` `; const Icons = styled.div` - padding: 15px 9px 9px 15px; + padding: 16px 8px 0 16px; width: 276px; `;