Skip to content

Latest commit

 

History

History

OtherLittleThings

Other Little Things

A collection of snippets and things that don't quite need their own directory. Entries prefixed by an asterisk * have an implementation for the Style Settings plugin by mgmeyers. Instructions for using these snippets may be found below.


Snippets

Colors

  • *Text Selection Colors: Change the color of the text, background, and caret for selected text. Optionally increase the width of the caret. Credit to Murf#2728 on the Obsidian Members Group Discord server for the original snippet; i just dressed it up a bit.
  • *Link Colors: Change the colors of the text for internal, unresolved, and external links.
  • *Code Block Colors: Change the color of the text and background of code blocks and inline code, as well as the border of fenced code blocks.

Icons

  • *View Mode Icons: Swaps the default Editing and Reading View icons (to be indicative of state rather than an action). Only has one Style Settings option right now, which is to toggle on a custom icon for Source Mode Editing View. (Nevermind, this doesn't work and i can't imagine why i thought it would.) Icons cannot be changed with Style Settings (due to limitations of how url() works in CSS), but can be changed manually in the snippet itself.

Instructions

  1. Copy the snippet text into your own snippet, or download the snippet.
  2. Place or make sure that the snippet is in your vault's snippets folder (which can be accessed from Obsidian's Appearance settings).
    a. Refresh your snippets if it does not appear.
  3. Enable the snippet (also in Appearance settings).
  4. Change properties as desired.
    a. If using Style Settings: Go to the "Plugin options" entry for Style Settings, and there should be a new section for the associated snippet. Modify settings as desired.
    b. Else: Change the assigned values for properties in the CSS snippet to be whatever you like.