Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to default theme #871

Merged
merged 1 commit into from
Jan 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/css/markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 4 additions & 2 deletions assets/js/cell/live_editor/theme.js
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion lib/livebook_web/live/settings_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down