Skip to content

Commit

Permalink
Merge pull request #1585 from sushiswap/fix/network-icons
Browse files Browse the repository at this point in the history
fix: network icon classnames
  • Loading branch information
matthewlilley authored Aug 6, 2024
2 parents c8c80de + 5199677 commit 3ae1f80
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 3ae1f80

Please sign in to comment.