diff --git a/browser/main/Detail/MarkdownNoteDetail.styl b/browser/main/Detail/MarkdownNoteDetail.styl index 5ed487d8..d9de1467 100644 --- a/browser/main/Detail/MarkdownNoteDetail.styl +++ b/browser/main/Detail/MarkdownNoteDetail.styl @@ -3,9 +3,9 @@ .root absolute top right bottom - border-width 0 + border-left 1px solid alpha(#DEDEDE, 60%) background-color $ui-noteDetail-backgroundColor - box-shadow $note-detail-box-shadow + box-shadow none .lock-button padding-bottom 3px @@ -40,10 +40,16 @@ .body-noteEditor absolute top bottom left right +body[data-theme="white"] + .root + box-shadow $note-detail-box-shadow + border none + body[data-theme="dark"] .root background-color $ui-dark-noteDetail-backgroundColor box-shadow none + border none .control-lockButton topBarButtonDark() diff --git a/browser/main/Detail/SnippetNoteDetail.styl b/browser/main/Detail/SnippetNoteDetail.styl index e4a8f97d..a270e56c 100644 --- a/browser/main/Detail/SnippetNoteDetail.styl +++ b/browser/main/Detail/SnippetNoteDetail.styl @@ -3,9 +3,9 @@ .root absolute top bottom right - border-width 0 + border-left 1px solid alpha(#DEDEDE, 60%) background-color $ui-noteDetail-backgroundColor - box-shadow $note-detail-box-shadow + box-shadow none .body absolute left right @@ -70,9 +70,14 @@ padding 0 0 2px 0 topBarButtonLight() +body[data-theme="white"] + .root + box-shadow $note-detail-box-shadow + border none + body[data-theme="dark"] .root - border-color $ui-dark-borderColor + border none background-color $ui-dark-noteDetail-backgroundColor box-shadow none diff --git a/browser/styles/index.styl b/browser/styles/index.styl index 55474a0e..e37be39f 100644 --- a/browser/styles/index.styl +++ b/browser/styles/index.styl @@ -16,7 +16,7 @@ $ui-inactive-text-color = #939395 $ui-borderColor = #D1D1D1 $ui-backgroundColor = #FFFFFF $ui-noteList-backgroundColor = #FBFBFB -$ui-noteDetail-backgroundColor = #F4F4F4 +$ui-noteDetail-backgroundColor = #F8F8F8 $ui-border = solid 1px $ui-borderColor $ui-active-color = #6AA5E9 $ui-tag-backgroundColor = rgba(0, 0, 0, 0.3) @@ -198,6 +198,7 @@ topBarButtonLight() // White theme $ui-white-noteList-backgroundColor = #F3F3F3 +$ui-white-noteDetail-backgroundColor = #F4F4F4 /** * Nav