UNPKG

@lifi/widget

Version:

LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

22 lines (20 loc) 710 B
import { styled, switchClasses } from '@mui/material' import { Switch } from '../Switch.js' export const InfoMessageSwitch = styled(Switch)(({ theme }) => ({ [`.${switchClasses.switchBase}`]: { [`&.${switchClasses.checked}`]: { [`& + .${switchClasses.track}`]: { backgroundColor: theme.vars.palette.info.main, ...theme.applyStyles('dark', { backgroundColor: `rgba(${theme.vars.palette.info.mainChannel} / 0.84)`, }), }, }, [`&.Mui-focusVisible .${switchClasses.thumb}`]: { color: theme.vars.palette.info.main, ...theme.applyStyles('dark', { color: `rgba(${theme.vars.palette.info.mainChannel} / 0.84)`, }), }, }, }))