mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-18 09:35:20 +02:00
0765cf5955
- Joplin Server: Adds support for sharing a notebook - Desktop: Adds support for sharing a notebook with Joplin Server - Mobile: Adds support for reading and writing to a shared notebook (not possible to share a notebook) - Cli: Adds support for reading and writing to a shared notebook (not possible to share a notebook)
13 lines
455 B
TypeScript
13 lines
455 B
TypeScript
import styled from 'styled-components';
|
|
|
|
const StyledMessage = styled.div`
|
|
border-radius: 3px;
|
|
background-color: ${props => props.type === 'error' ? props.theme.warningBackgroundColor : 'transparent'};
|
|
font-size: ${props => props.theme.fontSize}px;
|
|
color: ${props => props.theme.color};
|
|
font-family: ${props => props.theme.fontFamily};
|
|
padding: ${props => props.type === 'error' ? props.theme.mainPadding : '0'}px;
|
|
`;
|
|
|
|
export default StyledMessage;
|