aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.tsx
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-08-04 22:53:44 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-08-04 22:53:44 -0500
commit7f8cea1a3b5aa261144abe20ca0d7129be1fb1f5 (patch)
tree95bbe38c1bf442cf5ed331ce27fe5d080b6b48e6 /src/client/views/MainView.tsx
parent2438ff3fcc86d5c739190cd16c03efd06797b40a (diff)
finishing touches on settings
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r--src/client/views/MainView.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index e9b9be49d..bbf36a04f 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -313,6 +313,10 @@ export class MainView extends React.Component {
defaultBackgroundColors = (doc: Opt<Doc>) => {
if (this.panelContent === doc?.title) return "lightgrey";
+
+ if (doc?.type === DocumentType.COL) {
+ return StrCast(Doc.UserDoc().defaultColor);
+ }
if (this.darkScheme) {
switch (doc?.type) {
case DocumentType.FONTICON: return "white";