Skip to content

Instantly share code, notes, and snippets.

@ncammarata
Created April 23, 2020 00:17
Show Gist options
  • Save ncammarata/eb6adcf9dab4c6e437f0a1a9f5288df9 to your computer and use it in GitHub Desktop.
Save ncammarata/eb6adcf9dab4c6e437f0a1a9f5288df9 to your computer and use it in GitHub Desktop.
/*
* You can find a demo of what these styles look like here:
* https://roamresearch.slack.com/archives/CN5MK4D2M/p1587230089138900
*
*
* NOTE: I previously used Unite to Mac-ify Roam (as noted in the earlier revisions of this gist).
* However, it had weird behavior with links, which would open them up within the Unite desktop
* app rather than within my browser, so I decided to go back to the Roam web app. So instead, I use
* Stylus to apply these styles to Raom.
*
* I still look forward to the day when Roam is a desktop app though!
*/
a {
color: #45aaf2;
}
* {
font-family: "SF Pro Display";
}
.rm-title-display {
font-size: 4em;
font-family: "SF Pro Display";
line-height: 80%;
font-weight: 60;
}
.roam-center .bp3-button.bp3-small.block-ref-count-button {
background: white;
border-radius: 12px;
margin-right: 4px;
font-size: 0.8em;
/* padding-top: 2px; */
color: #5C7080;
/* font-weight: 600; */
/* border: 0.5px solid */
}
.rm-block-text {
font-size: 16px;
font-weight: 350;
color: #4b6584;
}
.rm-page-ref {
color: #45aaf2;
font-weight: 600;
}
.rm-reference-container .rm-level3 {
font-size: 1em;
font-weight: normal;
padding-bottom: 6px;
}
.intercom-app,
.intercom-launcher-frame,
#intercom-container {
display: none;
}
.roam-body .roam-app .roam-sidebar-container,
#right-sidebar {
background-color: rgba(216, 225, 232, .2) !important;
}
#roam-right-sidebar-content > div {
border-bottom: none;
}
.roam-body .roam-app .roam-sidebar-container .roam-sidebar-content .starred-pages-wrapper .starred-pages .page,
.roam-body .roam-app .roam-sidebar-container > * {
opacity: 80%;
}
.roam-body .roam-app .roam-sidebar-container .roam-sidebar-content .starred-pages-wrapper .starred-pages .page:hover,
.roam-body .roam-app .roam-sidebar-container .roam-sidebar-content .log-button:hover {
background: white;
color: black;
opacity: 100%;
}
#buffer .help-title,
#buffer .help-sub-title,
#buffer .help-item-text,
#buffer .help-item-label {
color: #5c7080;
}
#buffer {}
#buffer .help-title:first-of-type {}
#buffer:hover {}
.check-container {
padding-right: 4px;
}
.rm-block-ref {
border-bottom: none;
margin: 0px;
background-color: #EBF4FA;
padding-left: 8px;
padding-right: 8px;
border-radius: 12px;
}
.rm-page-ref-brackets {
opacity: .3;
}
/* .starred-pages-wrapper:first-child { } */
.bp3-input {
box-shadow: none;
}
.roam-log-container .roam-log-page {}
.rm-level1,
.rm-level2 {
font-weight: 600;
}
.rm-level1 {
font-size: 1.6em;
}
.rm-level2 {
font-size: 1.2em;
}
.block-border-left {
/* Lighten */
}
.rm-reference-item {
margin-top: 0;
border-radius: 9px;
padding: 4px;
padding-bottom: 14px;
border: 1px solid rgba(0, 0, 0, 0.06);
background-color: #fff;
/* Rectangle 196 */
background: #FFFFFF;
box-shadow: 0px 3.24346px 12.9738px rgba(0, 0, 0, 0.12);
margin-bottom: 10px;
}
.rm-page-ref-tag {
font-weight: 500;
color: #d1d8e0;
font-size: 1em;
}
.bp3-popover-content > div {
max-height: 520px;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Inter';
font-weight: 500;
}
.roam-sidebar-container {
box-shadow: none;
}
.roam-body-main {
height: 100% !important;
top: 0 !important;
}
.roam-topbar {
opacity: 0;
transition: opacity 200ms;
z-index: 1;
background: none;
/* Making space for the close sidebar button */
width: calc(100% - 40px);
padding: 0;
}
.roam-topbar:hover,
.roam-topbar:focus-within {
opacity: 1;
transition: opacity 200ms;
}
#right-sidebar button {
z-index: 100000;
}
.roam-center .bp3-button.bp3-small.block-ref-count-button {
background: white;
}
.check-container input:checked ~ .checkmark {
background-color: #45aaf2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment