Coder Social home page Coder Social logo

roam-themes's Introduction

Azlen's Roam Themes

  • Side-by-side page view (shift-click to open on side)
  • Minimal aesthetic
  • Overlay pages on graph view
  • Snazzy search bar
  • Custom styles for most components

UPDATE: Separated duplicate code into core.css

To use, just copy the theme you'd like into [[roam/css]], there is a CSS import to collect core.css from this repository which will automatically update to reflect future fixes and updates to the core theme

Or use a single line to import the theme you'd like: @import url('https://azlen.github.io/roam-themes/zenith.css');

👀 Video on how to apply themes to Roam with [[roam/css]]

Donation link if you enjoy these themes and want to support future projects :)

Zenith

@import url('https://azlen.github.io/roam-themes/zenith.css');

Zenith

Cosmonaut

@import url('https://azlen.github.io/roam-themes/cosmonaut.css');

Cosmonaut

Yggdrasil

@import url('https://azlen.github.io/roam-themes/yggdrasil.css');

Yggdrasil

roam-themes's People

Contributors

azlen avatar fky2015 avatar neilkakkar avatar svechinsky avatar vitalwarley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

roam-themes's Issues

iOS keyboard bar not visible

I've read on Twitter it was hard to get the shortcuts toolbar above the keyboard (for indenting etc) to reliably show on iOS. However now, it works with the default theme, but sadly not using this theme.

Besides, thanks for the awesome work!

New blocks in right side bar stacks to the far right instead of to the left

Xnip2020-09-29_22-16-15

When opening a new page/block in the side bar, it seems the new ones will stack to the far right of all stacks now, and I have to scroll to the rightest to see the new block in the side bar (in the screenshot I shift-clicked on pages "test A/B/C" successively). I think this is not how it works before, the new panel in the side bar should be opened in the leftest of all stacks so the user can always viewing the newest one.

White code block on dark Cosmonaut theme.

Hi, first thank a lot for your work. It is awesome and the Zenith theme works flawlessly.

But when trying out the Cosmonaut theme, I found that the Codeblock remain white in the background and some character cannot be seen.
Screenshot 2020-06-05 at 01 14 11

Just want to let you know if you have time to fix in the future. For now I'm sticking with Zenith.

Again thank you very much.

Zenith theme: residual ghost drop shadow beneath search bar

There is some residual ghost drop shadow under the search bar when it is opened with Cmd + U.
This happens especially when you scroll down a bit of the page and call the search bar again.

Not sure if it comes from the CSS or if it is because of Chrome’s rendering performance.

Screenshot 2020-06-05 at 13 57 14

Screenshot 2020-06-05 at 14 01 26

Screenshot 2020-06-05 at 14 01 41

Screenshot 2020-06-05 at 14 02 45

Screenshot 2020-06-05 at 14 03 03

Overflow Roam Configuration

Would love it if the sidebar components could "wrap" so if two components don't have a significant height in the y direction they stack on top of eachother as opposed to just adding a new column in the x direction. When I've used Daniel van der Merwe's Andy Matuschak's method adopted for Maggie Appleton's theme it appears to work:

image

Here is the css that I think enables this, though I'm not good enough with CSS yet to translate it to your core theme unfortunately :(

.roam-center {
  flex: 1 1 100% !important;
  flex-basis: 10% !important;
}

#right-sidebar {
  background-color: white !important;
}

#right-sidebar #roam-right-sidebar-content {
  overflow: scroll !important;
  white-space: normal;
  display: flex;
  align-content: flex-start;
  /* Below is for masonry layout */
  flex-flow: column wrap;
}

#right-sidebar #roam-right-sidebar-content > div {
  position: relative;
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  padding: 10px;
  border: 0.5px solid #e4e9ec !important;
  border-radius: 5px;
  background-color: white !important;
  align-self: flex-start;
  margin-right: 0px !important;
  /* Below is for masonry layout */
  margin-bottom: 16px;
  min-height: fit-content;
  width: 600px;
}

#right-sidebar #roam-right-sidebar-content > div > div:nth-child(2) {
  resize: vertical;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 780px;
}

.roam-log-container .roam-log-page {
  padding: 10px;
  border: 1px solid white;
  border-radius: 5px;
  background-color: white !important;
}

/* Scrollbar improvements */
div::-webkit-scrollbar {
    width: 3px !important;
    height: 3px !important;
}

div::-webkit-scrollbar-track {
    background-color: #ffffff !important;
}

div::-webkit-scrollbar-thumb {
    background-color: #d1dbe2 !important;
}

All pages cropped / positioned incorrectly

This has happened very recently. Sidebar pages are cropped in such a way that they are unusable, main page has been shifted, and the ‘all pages’ page is cropped too. Appreciate all the work you have put into this theme - thank you
IMG_0192
IMG_0193
IMG_0194

.

New Roam Update breaks Scrolling on Sidebar pages

Looks like with the new Roam update, all side bar pages scroll together, instead of scrolling separately :( - not sure yet if this can be fixed using our css, or to be raised with Roam.

Will investigate when it starts to really irritate me 😅

Feature request

Is it possible to change css so that the browser horizontal scroll bar appears?

Zenith query header text is black on dark grey

Hi
Using queries with the Zenith theme in place produces the query line in black font inside a very dark grey block. This is virtually impossible to read!
Screenshot attached.
zenith

Thanks.

Cosmonaut feature request let the primary column have full width when there is no other column

Although the current setting is perfect for linking/viewing notes, it is a bit awkward if the split panel/column is not used. For example, if I am reading a long article in Roam and I don't need a second column I want to have the primary column to have the full width.

Is is possible to add a condition check (e.g. if no split column then set the primary column to be full width)? or maybe add a button?

I have some experience with css and js and I am willing to help!

Right side bar scrolling does not behave like main page

I am using vim-mode by roam-toolkit, although navigation on the main page works fine, it does not work in the right side bar. For example, when using "j" to move down, once it hits the bottom block, the page will not scroll. In other word, I am trying to find why the main page scrolling is different from the right side bar's.

I've been looking at this part in the css, but not able to find the reason.

/* spacing and scrolling */
#roam-right-sidebar-content > * {
    margin: 0px 0px 0 20px !important;
    overflow-x: hidden;
    /*overflow-y: auto !important;*/
    max-height: 100vh;
    padding: 50px 0px 100px 0px;
    
    /* pesky bottom border/outline in chrome won't go away! */
    /* this does not fix it */
    border: none !important;
    outline: none !important;
}

#roam-right-sidebar-content {
    visibility: visible;
    display: flex;
    flex-direction: var(--page-order);
    align-items: flex-start; /* allow pages to have their own height */
    justify-content: flex-end;
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.