diff options
| author | srichman333 <sarah_n_richman@brown.edu> | 2023-08-24 17:52:10 -0400 |
|---|---|---|
| committer | srichman333 <sarah_n_richman@brown.edu> | 2023-08-24 17:52:10 -0400 |
| commit | 88b26b5809a61f1e8041b0a6efa7635590f9438a (patch) | |
| tree | b22137e66ca3c34c64bd21aeb7b23496c227f7da /src/client/util/RTFMarkup.tsx | |
| parent | d8b2b68e64f640d3bd84efa9d4095ab97991f315 (diff) | |
| parent | 20e3d33d864f9ee9db2ca65848b0f42a087b699e (diff) | |
Merge branch 'master' into data-visualization-sarah
Diffstat (limited to 'src/client/util/RTFMarkup.tsx')
| -rw-r--r-- | src/client/util/RTFMarkup.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/util/RTFMarkup.tsx b/src/client/util/RTFMarkup.tsx index c2f121e1f..a0fc617ab 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={{ background: 'white', 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)`} |
