aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/RTFMarkup.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/util/RTFMarkup.tsx')
-rw-r--r--src/client/util/RTFMarkup.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/util/RTFMarkup.tsx b/src/client/util/RTFMarkup.tsx
index 247267710..afc880a7b 100644
--- a/src/client/util/RTFMarkup.tsx
+++ b/src/client/util/RTFMarkup.tsx
@@ -2,6 +2,7 @@ import { action, computed, observable } from 'mobx';
import { observer } from 'mobx-react';
import * as React from 'react';
import { MainViewModal } from '../views/MainViewModal';
+import { SettingsManager } from './SettingsManager';
@observer
export class RTFMarkup extends React.Component<{}> {
@@ -30,7 +31,7 @@ export class RTFMarkup extends React.Component<{}> {
*/
@computed get cheatSheet() {
return (
- <div style={{ textAlign: 'initial', height: '100%' }}>
+ <div style={{ background: SettingsManager.Instance.userBackgroundColor, color: SettingsManager.Instance.userColor, textAlign: 'initial', height: '100%' }}>
<p>
<b style={{ fontSize: 'larger' }}>{`wiki:phrase`}</b>
{` display wikipedia page for entered text (terminate with carriage return)`}
@@ -52,7 +53,7 @@ export class RTFMarkup extends React.Component<{}> {
{` add a sidebar text document inline`}
</p>
<p>
- <b style={{ fontSize: 'larger' }}>{`\`\` `}</b>
+ <b style={{ fontSize: 'larger' }}>{`\`\`\` `}</b>
{` create a code snippet block`}
</p>
<p>