Giter Club home page Giter Club logo

gitsidian's Introduction

Gitsidian theme

A basic theme for Obsidian that only changes your preview mode to look more like GitHub markdown styles--maybe more in the future.

showcase

Fair warning:

  • I am not death_au

Installation

  • Download the obsidian.css file and drop it into your vault. Make sure custom themes are turned on.

Alternatively:

  • If you want to keep your existing theme but use this for preview (and are up for some tinkering) you should be able to copy and paste all of the contents of this obsidian.css into the end of your existing one. It might work straight away, or you might have to resolve a few small conflicts.

In the future:

  • I plan to split this into two different versions:
    1. A version that can be pasted to the end of any theme so that it overrides any theme's preview mode consistently
    2. A full theme that properly responds to dark/light mode and some "github inspired" interface stylings

gitsidian's People

Stargazers

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

gitsidian's Issues

Preview window hard to read

Hi,

nice idea to have white preview window but the preview of linked pages are very hard to read.
The background of this should be also white.
obsidian_GitsidianPreview

Font size in preview and compatibility with Style Settings plugin

Hi. I've made some modifications to this good looking theme in order to make some settings compatible with the Style Settings plugin. I share them here, in case they are of interest.

I've added:

:root {
  --default-font: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
  --font-monospace: 'Source Code Pro', monospace;
}

.cm-s-obsidian {
  font-family: var(--font-monospace);
}

font-family: var(--font-monospace) and var(--default-font) replace other appearances after font-family.

I have also deleted font-size in the preview view because 16px was too small a font-size for me to read. After deletion, it can be set in Obsidian>Settings>Appearance>Font size.

.markdown-preview-view {
/*  font-size: 16px; */
}

I don't know much about css, but the above works.

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.