mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-13 16:34:45 +08:00
Improvements to theme (#871)
This commit is contained in:
parent
51cc9c3bd8
commit
68e81356f6
3 changed files with 6 additions and 4 deletions
|
@ -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 {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue