@hypernetlabs/web-ui
Version:
Web ui react components for hypernet protocol
32 lines • 946 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.useStyles = void 0;
const core_1 = require("@material-ui/core");
const theme_1 = require("../../theme");
exports.useStyles = (0, core_1.makeStyles)((theme) => ({
wrapper: {
padding: 16,
backgroundColor: theme_1.colors.GRAY100,
border: `1px solid ${theme_1.colors.GRAY300}`,
borderRadius: 3,
},
titleWrapper: {
display: "flex",
justifyContent: "space-between",
marginBottom: 24,
},
titleText: {
color: theme_1.colors.GRAY700,
},
valueText: {
color: theme_1.colors.GRAY400,
},
button: (props) => ({
marginTop: 40,
...(props.isVoted && { cursor: "default" }),
"&:hover": {
...(props.isVoted && { backgroundColor: theme_1.colors.PURPLE400 }),
},
}),
}));
//# sourceMappingURL=GovernanceVotingCard.style.js.map