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.

18 lines (17 loc) 660 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CardIconButton = void 0; const material_1 = require("@mui/material"); const styles_1 = require("@mui/material/styles"); exports.CardIconButton = (0, styles_1.styled)(material_1.IconButton)(({ theme }) => { const backgroundColor = theme.palette.mode === 'light' ? theme.palette.common.black : theme.palette.common.white; return { padding: theme.spacing(0.5), backgroundColor: (0, styles_1.alpha)(backgroundColor, 0.04), '&:hover': { backgroundColor: (0, styles_1.alpha)(backgroundColor, 0.08), }, }; });