office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
47 lines • 1.39 kB
JavaScript
define(["require", "exports", "../../Styling"], function (require, exports, Styling_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStyles = function (props) {
var className = props.className, theme = props.theme;
var palette = theme.palette;
return ({
root: [
'ms-Pivot',
Styling_1.normalize,
{
fontSize: Styling_1.FontSizes.medium,
fontWeight: Styling_1.FontWeights.regular,
position: 'relative',
color: palette.themePrimary,
whiteSpace: 'nowrap',
},
className
],
links: [
'ms-Pivot-links',
{}
],
link: [
'ms-Pivot-link',
{}
],
text: [
'ms-Pivot-text',
{}
],
count: [
'ms-Pivot-count',
{}
],
icon: [
'ms-Pivot-icon',
{}
],
ellipsis: [
'ms-Pivot-ellipsis',
{}
],
});
};
});
//# sourceMappingURL=Pivot.styles.js.map