Skip to content

Instantly share code, notes, and snippets.

@idelem
Last active April 29, 2025 04:42
Show Gist options
  • Save idelem/1c0f1794a81b156ca78fc753559241fe to your computer and use it in GitHub Desktop.
Save idelem/1c0f1794a81b156ca78fc753559241fe to your computer and use it in GitHub Desktop.
roam research code mirror monochrome theme
/* Of Course */
.rm-code-block {
background-color: #e0e0e0;
}
.ͼ2 .cm-gutters {
background: #e0e0e0;
}
.ͼ1 .cm-scroller {
scrollbar-color: #cdcdcd #e0e0e0;
}
.rm-code-block__settings-bar {
background: var(--background-color);
}
/* CodeMirror Theme */
/* keyword */
.ͼb {color: #828282;}
/* atom */
.ͼc {color: #585858;}
/* literal */
.ͼd {color: #828282; }
/* string */
.ͼe {color: #585858; font-style: italic;}
/* def */
.ͼi {color: #282828; font-weight: bold;}
/* tag */
.ͼj {color: #282828; text-decoration: underline;}
/* comment */
.ͼm {color: #999;}
.cm-focused .cm-activeLineGutter {
background-color: #cdcdcd !important;
}
.ͼ2.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground {background: #d0d0d0;}
@idelem
Copy link
Author

idelem commented Apr 29, 2025

preview

Snipaste_2025-04-29_12-38-04

Snipaste_2025-04-29_12-35-32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment