Skip to content

Commit

Permalink
fix: network icon classnames
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMasayoshi committed Aug 3, 2024
1 parent 96dea53 commit 5199677
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/ui/src/icons/network/circle/EthereumCircle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ import * as React from 'react'

import { EthereumNaked } from '../naked/EthereumNaked'

import classNames from 'classnames'
import { IconComponent } from '../../../types'

export const EthereumCircle: IconComponent = (props) => (
<EthereumNaked
{...props}
className="text-white"
className={classNames(props.className, 'text-white')}
circle={<rect rx={64} width={128} height={128} fill="#627EEA" />}
/>
)
3 changes: 2 additions & 1 deletion packages/ui/src/icons/network/circle/GnosisCircle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ import * as React from 'react'

import { GnosisNaked } from '../naked/GnosisNaked'

import classNames from 'classnames'
import { IconComponent } from '../../../types'

export const GnosisCircle: IconComponent = (props) => (
<GnosisNaked
{...props}
className="text-gray-700"
className={classNames(props.className, 'text-gray-700')}
circle={<rect width="128" height="128" fill="#d0e2ef" rx="64" />}
/>
)
3 changes: 2 additions & 1 deletion packages/ui/src/icons/network/circle/TelosCircle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ import * as React from 'react'

import { TelosNaked } from '../naked/TelosNaked'

import classNames from 'classnames'
import { IconComponent } from '../../../types'

export const TelosCircle: IconComponent = (props) => (
<TelosNaked
{...props}
className="!text-white"
className={classNames(props.className, '!text-white')}
circle={<rect width={128} height={128} rx={64} fill="#5613FF" />}
/>
)

0 comments on commit 5199677

Please sign in to comment.