From 04eb2210e6aa854326563e8d1e26bcd1d36e511e Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Thu, 22 Feb 2024 07:42:53 -0800 Subject: [PATCH] Use a less sharp edge --- src/apps/call/CallWizard.tsx | 8 ++++---- src/apps/chat/components/ChatDrawerItem.tsx | 16 ++++++++-------- src/apps/chat/components/Ephemerals.tsx | 4 ++-- .../chat/components/folders/AddFolderButton.tsx | 2 +- .../chat/components/folders/FolderListItem.tsx | 4 ++-- src/apps/personas/creator/CreatorDrawerItem.tsx | 4 ++-- src/apps/personas/creator/FromYouTube.tsx | 4 ++-- .../components/useIsBrowserTranslating.tsx | 4 ++-- .../optima/components/PageDrawerHeader.tsx | 4 ++-- src/common/providers/ProviderSnacks.tsx | 4 ++-- .../llms/vendors/localai/LocalAIAdmin.tsx | 4 ++-- src/modules/t2i/dalle/DallESettings.tsx | 4 ++-- 12 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/apps/call/CallWizard.tsx b/src/apps/call/CallWizard.tsx index ea4e6f5f4..3f11370a1 100644 --- a/src/apps/call/CallWizard.tsx +++ b/src/apps/call/CallWizard.tsx @@ -4,10 +4,10 @@ import { Box, Button, Card, CardContent, IconButton, ListItemDecorator, Typograp import ArrowForwardIcon from '@mui/icons-material/ArrowForward'; import ChatIcon from '@mui/icons-material/Chat'; import CheckIcon from '@mui/icons-material/Check'; -import CloseIcon from '@mui/icons-material/Close'; +import CloseRoundedIcon from '@mui/icons-material/CloseRounded'; import MicIcon from '@mui/icons-material/Mic'; import RecordVoiceOverIcon from '@mui/icons-material/RecordVoiceOver'; -import WarningIcon from '@mui/icons-material/Warning'; +import WarningRoundedIcon from '@mui/icons-material/WarningRounded'; import { PreferencesTab, useOptimaLayout } from '~/common/layout/optima/useOptimaLayout'; import { cssRainbowColorKeyframes } from '~/common/app.theme'; @@ -67,7 +67,7 @@ function StatusCard(props: { icon: React.JSX.Element, hasIssue: boolean, text: s {props.button} - {props.hasIssue ? : } + {props.hasIssue ? : } @@ -208,7 +208,7 @@ export function CallWizard(props: { strict?: boolean, conversationId: string | n // boxShadow: allGood ? 'md' : 'none', }} > - {allGood ? : } + {allGood ? : } diff --git a/src/apps/chat/components/ChatDrawerItem.tsx b/src/apps/chat/components/ChatDrawerItem.tsx index 7e34e74ba..1a7d9cd5a 100644 --- a/src/apps/chat/components/ChatDrawerItem.tsx +++ b/src/apps/chat/components/ChatDrawerItem.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { Avatar, Box, IconButton, ListItem, ListItemButton, ListItemDecorator, Sheet, styled, Tooltip, Typography } from '@mui/joy'; import AutoFixHighIcon from '@mui/icons-material/AutoFixHigh'; -import CloseIcon from '@mui/icons-material/Close'; +import CloseRoundedIcon from '@mui/icons-material/CloseRounded'; import DeleteForeverIcon from '@mui/icons-material/DeleteForever'; import DeleteOutlineIcon from '@mui/icons-material/DeleteOutline'; import EditIcon from '@mui/icons-material/Edit'; @@ -312,17 +312,17 @@ function ChatDrawerItem(props: { - - - - - - + + + + + + } } @@ -342,7 +342,7 @@ function ChatDrawerItem(props: { - {deleteArmed ? : } + {deleteArmed ? : } {/*}*/} diff --git a/src/apps/chat/components/Ephemerals.tsx b/src/apps/chat/components/Ephemerals.tsx index d1a324856..8ed077128 100644 --- a/src/apps/chat/components/Ephemerals.tsx +++ b/src/apps/chat/components/Ephemerals.tsx @@ -3,7 +3,7 @@ import { shallow } from 'zustand/shallow'; import { Box, Grid, IconButton, Sheet, styled, Typography } from '@mui/joy'; import { SxProps } from '@mui/joy/styles/types'; -import CloseIcon from '@mui/icons-material/Close'; +import CloseRoundedIcon from '@mui/icons-material/CloseRounded'; import { DConversationId, DEphemeral, useChatStore } from '~/common/state/store-chats'; import { lineHeightChatTextMd } from '~/common/app.theme'; @@ -117,7 +117,7 @@ function EphemeralItem({ conversationId, ephemeral }: { conversationId: string, position: 'absolute', top: 8, right: 8, opacity: { xs: 1, sm: 0.5 }, transition: 'opacity 0.3s', }}> - + ; diff --git a/src/apps/chat/components/folders/AddFolderButton.tsx b/src/apps/chat/components/folders/AddFolderButton.tsx index 1bd0d2046..d7109f966 100644 --- a/src/apps/chat/components/folders/AddFolderButton.tsx +++ b/src/apps/chat/components/folders/AddFolderButton.tsx @@ -43,7 +43,7 @@ export function AddFolderButton() { sx={{ ml: -1.5, mr: -0.5, flexGrow: 1, minWidth: 100 }} /> {/**/} - {/* */} + {/* */} {/**/} ) : ( diff --git a/src/apps/chat/components/folders/FolderListItem.tsx b/src/apps/chat/components/folders/FolderListItem.tsx index fedc2e412..2d12ed31e 100644 --- a/src/apps/chat/components/folders/FolderListItem.tsx +++ b/src/apps/chat/components/folders/FolderListItem.tsx @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import type { DraggableProvided, DraggableStateSnapshot, DraggingStyle, NotDraggingStyle } from 'react-beautiful-dnd'; import { FormLabel, IconButton, ListItem, ListItemButton, ListItemContent, ListItemDecorator, MenuItem, Radio, radioClasses, RadioGroup, Sheet, Typography } from '@mui/joy'; -import CloseIcon from '@mui/icons-material/Close'; +import CloseRoundedIcon from '@mui/icons-material/CloseRounded'; import DeleteOutlineIcon from '@mui/icons-material/DeleteOutline'; import Done from '@mui/icons-material/Done'; import EditIcon from '@mui/icons-material/Edit'; @@ -230,7 +230,7 @@ export function FolderListItem(props: { <> - + Cancel diff --git a/src/apps/personas/creator/CreatorDrawerItem.tsx b/src/apps/personas/creator/CreatorDrawerItem.tsx index 40ef5f3c3..e0001f0dc 100644 --- a/src/apps/personas/creator/CreatorDrawerItem.tsx +++ b/src/apps/personas/creator/CreatorDrawerItem.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import TimeAgo from 'react-timeago'; import { Box, Checkbox, IconButton, ListItemButton, ListItemDecorator, Typography } from '@mui/joy'; -import CloseIcon from '@mui/icons-material/Close'; +import CloseRoundedIcon from '@mui/icons-material/CloseRounded'; import DeleteOutlineIcon from '@mui/icons-material/DeleteOutline'; import TextFieldsIcon from '@mui/icons-material/TextFields'; import YouTubeIcon from '@mui/icons-material/YouTube'; @@ -91,7 +91,7 @@ export function CreatorDrawerItem(props: { setDeleteArmed(false)}> - + } diff --git a/src/apps/personas/creator/FromYouTube.tsx b/src/apps/personas/creator/FromYouTube.tsx index 0b36ad488..a052d2fb8 100644 --- a/src/apps/personas/creator/FromYouTube.tsx +++ b/src/apps/personas/creator/FromYouTube.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import type { SxProps } from '@mui/joy/styles/types'; import { Box, Button, Card, IconButton, Input, Typography } from '@mui/joy'; -import CloseIcon from '@mui/icons-material/Close'; +import CloseRoundedIcon from '@mui/icons-material/CloseRounded'; import YouTubeIcon from '@mui/icons-material/YouTube'; import { useYouTubeTranscript, YTVideoTranscript } from '~/modules/youtube/useYouTubeTranscript'; @@ -60,7 +60,7 @@ function YouTubeVideoTranscriptCard(props: { transcript: YTVideoTranscript, onCl position: 'absolute', top: -8, right: -8, borderRadius: 'md', }}> - + diff --git a/src/common/components/useIsBrowserTranslating.tsx b/src/common/components/useIsBrowserTranslating.tsx index ddb2817c5..66c7e085b 100644 --- a/src/common/components/useIsBrowserTranslating.tsx +++ b/src/common/components/useIsBrowserTranslating.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { Alert, IconButton } from '@mui/joy'; import CloseRoundedIcon from '@mui/icons-material/CloseRounded'; -import WarningIcon from '@mui/icons-material/Warning'; +import WarningRoundedIcon from '@mui/icons-material/WarningRounded'; import { useUICounter } from '~/common/state/store-ui'; @@ -51,7 +51,7 @@ export function useBrowserTranslationWarning() { return React.useMemo(() => showWarning ? ( } + startDecorator={} endDecorator={ { diff --git a/src/common/layout/optima/components/PageDrawerHeader.tsx b/src/common/layout/optima/components/PageDrawerHeader.tsx index e067719a3..682af4202 100644 --- a/src/common/layout/optima/components/PageDrawerHeader.tsx +++ b/src/common/layout/optima/components/PageDrawerHeader.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import type { SxProps } from '@mui/joy/styles/types'; import { IconButton, Sheet, Typography } from '@mui/joy'; -import CloseIcon from '@mui/icons-material/Close'; +import CloseRoundedIcon from '@mui/icons-material/CloseRounded'; export const PageDrawerHeader = (props: { @@ -38,7 +38,7 @@ export const PageDrawerHeader = (props: { - + ; \ No newline at end of file diff --git a/src/common/providers/ProviderSnacks.tsx b/src/common/providers/ProviderSnacks.tsx index d11596647..81c5d5314 100644 --- a/src/common/providers/ProviderSnacks.tsx +++ b/src/common/providers/ProviderSnacks.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { IconButton, Snackbar, SnackbarTypeMap } from '@mui/joy'; -import CloseIcon from '@mui/icons-material/Close'; +import CloseRoundedIcon from '@mui/icons-material/CloseRounded'; import { SNACKBAR_ANIMATION_DURATION, SnackbarMessage, useSnackbarsStore } from '../components/useSnackbarsStore'; @@ -80,7 +80,7 @@ export const ProviderSnacks = (props: { children: React.ReactNode }) => { size='sm' sx={{ my: '-0.4rem' }} > - + )} sx={theme => ({ diff --git a/src/modules/llms/vendors/localai/LocalAIAdmin.tsx b/src/modules/llms/vendors/localai/LocalAIAdmin.tsx index 412c80a05..7d0e3c524 100644 --- a/src/modules/llms/vendors/localai/LocalAIAdmin.tsx +++ b/src/modules/llms/vendors/localai/LocalAIAdmin.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { Alert, Box, Button, Card, CircularProgress, IconButton, LinearProgress, List, ListItem, Switch, Typography } from '@mui/joy'; -import CloseIcon from '@mui/icons-material/Close'; +import CloseRoundedIcon from '@mui/icons-material/CloseRounded'; import { ExpanderAccordion } from '~/common/components/ExpanderAccordion'; import { GoodModal } from '~/common/components/GoodModal'; @@ -102,7 +102,7 @@ function ModelInstallPanel(props: { access: OpenAIAccessSchema, modelName: strin Installing {props.modelName} from the {props.galleryName} setHideSelf(true)} sx={{ ml: 'auto' }}> - + diff --git a/src/modules/t2i/dalle/DallESettings.tsx b/src/modules/t2i/dalle/DallESettings.tsx index 6021c5b05..b7db1d823 100644 --- a/src/modules/t2i/dalle/DallESettings.tsx +++ b/src/modules/t2i/dalle/DallESettings.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { shallow } from 'zustand/shallow'; import { FormControl, Option, Select, Switch, Typography } from '@mui/joy'; -import WarningIcon from '@mui/icons-material/Warning'; +import WarningRoundedIcon from '@mui/icons-material/WarningRounded'; import { FormLabelStart } from '~/common/components/forms/FormLabelStart'; import { FormRadioControl } from '~/common/components/forms/FormRadioControl'; @@ -75,7 +75,7 @@ export function DallESettings() {