Skip to content

Commit 79a1a7a

Browse files
committed
fix icons
1 parent 4e4fa89 commit 79a1a7a

4 files changed

Lines changed: 14 additions & 10 deletions

File tree

src/layouts/widgets/comboWidget/combo-widget.layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { NewsLayout } from '../news/news.layout'
99
import { WidgetContainer } from '../widget-container'
1010
import { WigiArzLayout } from '../wigiArz/wigi_arz.layout'
1111
import { TabNavigation } from '@/components/tab-navigation'
12-
import { HiCurrencyBangladeshi, HiOutlineNewspaper } from 'react-icons/hi2'
12+
import { HiOutlineCurrencyBangladeshi, HiOutlineNewspaper } from 'react-icons/hi2'
1313

1414
export type ComboTabType = 'news' | 'currency'
1515

@@ -57,7 +57,7 @@ export function ComboWidget() {
5757
{
5858
id: 'currency',
5959
label: 'ارزها',
60-
icon: <HiCurrencyBangladeshi size={14} />,
60+
icon: <HiOutlineCurrencyBangladeshi size={14} />,
6161
},
6262
{
6363
id: 'news',

src/layouts/widgets/notes/notes.layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { NoteEditor } from './components/note-editor'
77
import { NoteNavigation } from './components/note-navigation'
88
import { NoteItem } from './components/note-item'
99
import { TabNavigation } from '@/components/tab-navigation'
10-
import { HiDocumentText, HiOutlineCheckCircle } from 'react-icons/hi2'
10+
import { HiOutlineCheckCircle, HiOutlineDocumentText } from 'react-icons/hi2'
1111

1212
function NotesContent() {
1313
const { notes, activeNoteId } = useNotes()
@@ -83,7 +83,7 @@ export function NotesLayout({ onChangeTab }: Prop) {
8383
{
8484
id: 'notes',
8585
label: 'یادداشت',
86-
icon: <HiDocumentText size={14} />,
86+
icon: <HiOutlineDocumentText size={14} />,
8787
},
8888
]}
8989
size="small"

src/layouts/widgets/todos/todos.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { AuthRequiredModal } from '@/components/auth/AuthRequiredModal'
3131
import { IconLoading } from '@/components/loading/icon-loading'
3232
import { parseTodoDate } from './tools/parse-date'
3333
import { TabNavigation } from '@/components/tab-navigation'
34-
import { HiDocumentText, HiOutlineCheckCircle } from 'react-icons/hi2'
34+
import { HiOutlineCheckCircle, HiOutlineDocumentText } from 'react-icons/hi2'
3535

3636
const viewModeOptions = [
3737
{ value: TodoViewType.Day, label: 'لیست امروز' },
@@ -150,7 +150,7 @@ export function TodosLayout({ onChangeTab }: Prop) {
150150
{
151151
id: 'notes',
152152
label: 'یادداشت',
153-
icon: <HiDocumentText size={14} />,
153+
icon: <HiOutlineDocumentText size={14} />,
154154
},
155155
]}
156156
size="small"

src/layouts/widgets/tools/tools.layout.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,26 @@ import { getFromStorage, setToStorage } from '@/common/storage'
55
import { useDate } from '@/context/date.context'
66
import { WidgetContainer } from '../widget-container'
77
import { TabNavigation } from '@/components/tab-navigation'
8-
import { MdCurrencyExchange, MdMosque, MdTimer } from 'react-icons/md'
8+
import {
9+
MdOutlineCurrencyExchange,
10+
MdOutlineMosque,
11+
MdOutlineTimer,
12+
} from 'react-icons/md'
913
const tabs = [
1014
{
1115
id: 'pomodoro' as ToolsTabType,
1216
label: 'پومودورو',
13-
icon: <MdTimer size={14} />,
17+
icon: <MdOutlineTimer size={14} />,
1418
},
1519
{
1620
id: 'religious-time' as ToolsTabType,
1721
label: 'اوقات شرعی',
18-
icon: <MdMosque size={14} />,
22+
icon: <MdOutlineMosque size={14} />,
1923
},
2024
{
2125
id: 'currency-converter' as ToolsTabType,
2226
label: 'تبدیل',
23-
icon: <MdCurrencyExchange size={14} />,
27+
icon: <MdOutlineCurrencyExchange size={14} />,
2428
},
2529
]
2630

0 commit comments

Comments
 (0)