office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
34 lines • 1.03 kB
JavaScript
import { getFocusStyle, getTheme } from '../../Styling';
export var getStyles = function (props) {
var theme = getTheme();
return {
colorSwatch: [
'ThemePage-colorSwatch',
getFocusStyle(theme),
{
margin: '-10px 0',
lineHeight: '36px',
whiteSpace: 'nowrap',
cursor: 'pointer',
selectors: {
':hover': {
background: 'rgba(0,0,0,.05)'
}
}
}
],
swatch: [
'ThemePage-swatch',
{
display: 'inline-block',
width: '36px',
height: '36px',
verticalAlign: 'middle',
marginRight: '5px',
border: '1px solid rgba(127, 127, 127, .5)'
}
],
colorValue: 'ThemePage-colorValue'
};
};
//# sourceMappingURL=ThemePage.styles.js.map