obsidian
a css snippet that recolors obsidian's default theme. sidebars take the darker chrome shade, notes the background, and code blocks the same syntax roles as the editors.
files: rime.css · rime-glacier.css · rime-aurora.css · rime-abyss.css · rime-frost.css · on github
install
cd /path/to/your/vault
mkdir -p .obsidian/snippets
curl -fsSL https://raw.githubusercontent.com/w0x7y/rime/main/general/obsidian/rime.css -o .obsidian/snippets/rime.cssother variants
rime-glacier
cd /path/to/your/vault
mkdir -p .obsidian/snippets
curl -fsSL https://raw.githubusercontent.com/w0x7y/rime/main/general/obsidian/rime-glacier.css -o .obsidian/snippets/rime-glacier.cssrime-aurora
cd /path/to/your/vault
mkdir -p .obsidian/snippets
curl -fsSL https://raw.githubusercontent.com/w0x7y/rime/main/general/obsidian/rime-aurora.css -o .obsidian/snippets/rime-aurora.cssrime-abyss
cd /path/to/your/vault
mkdir -p .obsidian/snippets
curl -fsSL https://raw.githubusercontent.com/w0x7y/rime/main/general/obsidian/rime-abyss.css -o .obsidian/snippets/rime-abyss.cssrime-frost
cd /path/to/your/vault
mkdir -p .obsidian/snippets
curl -fsSL https://raw.githubusercontent.com/w0x7y/rime/main/general/obsidian/rime-frost.css -o .obsidian/snippets/rime-frost.cssthen turn on the snippet under settings → appearance → css snippets, and set base color scheme to dark, or to light for rime frost. a snippet only colors its own mode, so a dark variant does nothing while obsidian is light.
notes
- it works over the default theme. a community theme sets the same variables, so the result depends on which loads last.
- obsidian highlights code with prism, which gives numbers, booleans and constants one color, and keeps
if,forandreturnin one keyword group.