Improvements to theme (#871)

This commit is contained in:
José Valim 2022-01-16 12:40:14 +01:00 committed by GitHub
parent 51cc9c3bd8
commit 68e81356f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

View file

@ -125,7 +125,7 @@
@apply p-4 rounded-lg text-sm align-middle font-mono flex-1 overflow-auto;
/* Match the editor colors */
background-color: #282c34;
color: #abb2bf;
color: #c4cad6;
}
.markdown kbd {

View file

@ -1,9 +1,11 @@
// This is a port of the One Dark theme to the Monaco editor.
// We color graded the comment so it has AA accessibility and
// then similarly scaled the default font.
const colors = {
default: "#abb2bf",
default: "#c4cad6",
lightRed: "#e06c75",
blue: "#61afef",
gray: "#737a8c",
gray: "#8c92a3",
green: "#98c379",
purple: "#c678dd",
red: "#be5046",

View file

@ -117,7 +117,7 @@ defmodule LivebookWeb.SettingsLive do
checked={false} />
<.switch_checkbox
name="editor_high_contrast"
label="High contrast editor"
label="Use high contrast theme"
checked={false} />
</div>
</div>