anpigon's picture
Add favicon and image assets for Obsidian help and developer documentation
c63ff03

A newer version of the Gradio SDK is available: 5.29.0

Upgrade

Learn how to modify aspects of the Obsidian appearance without needing to Build a theme.

CSS is a language to describe how to present a HTML document. By adding CSS snippets, you can redefine parts of the Obsidian user interface, such as the size and color of headings. Obsidian includes CSS variables that you can use to easily customize parts of the interface.

Obsidian looks for CSS snippets inside the vault configuration folder.

To add a CSS snippet, follow these steps:

  1. Open Settings.
  2. Under Appearance → CSS snippets, select Open snippets folder (folder icon).
  3. In the snippets folder, create a CSS file that contains your snippet.
  4. In Obsidian, under Appearance → CSS snippets, select Reload snippets (refresh icon) to see the snippet in the list.

Obsidian detects changes to CSS snippets automatically and applies them when you save your snippet. You don't need to restart Obsidian for changes to take effect.

Example: Change text color For example, create a file called snippet.css with the following content to change the text color to red:

body {
  --text-normal: red;
}

Learn more