in fuse-ui-fabric/tree/tree.classNames.ts [35:62]
function rootStyles(s: IStyleSet, theme: 'dark' | 'light'): IStyleSet {
return {
container: {
outline: 'none',
backgroundColor: theme === 'dark' ? '#222' : undefined,
color: theme === 'dark' ? '#f2f2f2' : undefined
},
root: {
padding: '4px 0',
outline: 'none',
selectors: {
i: { marginRight: 2 }
}
},
rootSelected: {
backgroundColor: theme === 'dark' ? '#444' : '#ccc'
},
containerCollapsed: ['ms-Icon', 'ms-Icon--CaretRight8'],
containerExpanded: ['ms-Icon', 'ms-Icon--CaretRightSolid8', {
transform: 'rotate(45deg)'
}],
leaf: ['ms-Icon', 'ms-Icon--Document', s && s.icon],
name: {
outline: 'none'
},
hiddenRoot: { display: 'none' }
};
}