User Profile (#858)

* First pass user profile

* 💚

* More collaborator tooltip improvements
This commit is contained in:
Tom Moor
2019-01-12 19:41:45 -08:00
committed by GitHub
parent ef583314e0
commit 8d3dc3a92e
10 changed files with 229 additions and 77 deletions

17
app/components/Badge.js Normal file
View File

@@ -0,0 +1,17 @@
// @flow
import styled from 'styled-components';
const Badge = styled.span`
margin-left: 10px;
padding: 2px 6px 3px;
background-color: ${({ admin, theme }) =>
admin ? theme.primary : theme.smokeDark};
color: ${({ admin, theme }) => (admin ? theme.white : theme.text)};
border-radius: 2px;
font-size: 11px;
font-weight: 500;
text-transform: uppercase;
user-select: none;
`;
export default Badge;