@ddsys/material
Version:
<p> <a href="https://bhp-dev.gitlab.io/dds-digital-design-system/">Read the docs</a> · <a href="mailto:UserExperience@bhpbilliton.com">Request feature</a> </p>
31 lines (24 loc) • 801 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = function (theme) {
var colors = theme.colors,
variables = theme.variables;
var common = variables.common;
return {
style: {
border: "1px solid " + (0, _color2.default)(colors.gray_900).alpha(0.2).string(),
padding: common.spacing * 0.75 + "rem " + common.spacing * 1.25 + "rem",
marginBottom: "-1px"
},
active: {
color: colors.black,
backgroundColor: colors.list_group_active_bg,
borderColor: (0, _color2.default)(colors.gray_900).alpha(0.2).string()
}
};
};
var _color = require("color");
var _color2 = _interopRequireDefault(_color);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }