User Profile (#858)
* First pass user profile
* 💚
* More collaborator tooltip improvements
This commit is contained in:
17
app/components/Badge.js
Normal file
17
app/components/Badge.js
Normal 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;
|
||||
Reference in New Issue
Block a user