You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Icons and styling
This commit is contained in:
17
ReactNativeClient/lib/components/global-style.js
Normal file
17
ReactNativeClient/lib/components/global-style.js
Normal file
@ -0,0 +1,17 @@
|
||||
const globalStyle = {
|
||||
margin: 15, // No text and no interactive component should be within this margin
|
||||
backgroundColor: "#ffffff",
|
||||
color: "#555555",
|
||||
fontSize: 10,
|
||||
dividerColor: "#dddddd",
|
||||
|
||||
// For WebView - must correspond to the properties above
|
||||
htmlFontSize: '14px',
|
||||
htmlColor: 'black', // Note: CSS in WebView component only seem to work if the colour is written in full letters (so no hexadecimal)
|
||||
};
|
||||
|
||||
globalStyle.marginRight = globalStyle.margin;
|
||||
globalStyle.marginLeft = globalStyle.margin;
|
||||
globalStyle.htmlMarginLeft = ((globalStyle.marginLeft / 10) * 0.6).toFixed(2) + 'em';
|
||||
|
||||
export { globalStyle }
|
Reference in New Issue
Block a user