@uifabric/experiments
Version:
Experimental React components for building experiences for Office 365.
31 lines • 1.08 kB
JavaScript
define(["require", "exports", "../../../Styling"], function (require, exports, Styling_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var baseTokens = function (props, theme) {
return {
contentPadding: '8px 0px 8px 10px'
};
};
exports.SplitMenuButtonTokens = function (props, theme) { return [baseTokens]; };
exports.SplitMenuButtonStyles = function (props, theme, tokens) {
return {
root: [Styling_1.getFocusStyle(theme)],
button: {
selectors: {
'> *': {
padding: tokens.contentPadding
}
}
},
splitDivider: {
borderColor: tokens.color,
borderRight: '1px solid',
boxSizing: 'border-box',
height: '100%',
padding: '8px 0px',
width: 1
}
};
};
});
//# sourceMappingURL=SplitMenuButton.styles.js.map