1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

More styling

This commit is contained in:
Laurent Cozic
2017-07-22 16:55:09 +01:00
parent 840980dafd
commit cbe0859496
4 changed files with 90 additions and 49 deletions

View File

@@ -1,9 +1,11 @@
const globalStyle = {
margin: 15, // No text and no interactive component should be within this margin
backgroundColor: "#ffffff",
color: "#555555",
color: "#555555", // For regular text
colorFaded: "#777777", // For less important text
fontSize: 10,
dividerColor: "#dddddd",
selectedColor: '#eeeeee',
// For WebView - must correspond to the properties above
htmlFontSize: '14px',
@@ -12,6 +14,8 @@ const globalStyle = {
globalStyle.marginRight = globalStyle.margin;
globalStyle.marginLeft = globalStyle.margin;
globalStyle.marginTop = globalStyle.margin;
globalStyle.marginBottom = globalStyle.margin;
globalStyle.htmlMarginLeft = ((globalStyle.marginLeft / 10) * 0.6).toFixed(2) + 'em';
export { globalStyle }