Spaces:
Sleeping
A newer version of the Gradio SDK is available:
5.29.0
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:
- Open Settings.
- Under Appearance → CSS snippets, select Open snippets folder (folder icon).
- In the snippets folder, create a CSS file that contains your snippet.
- 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
- If you're new to CSS, refer to Learn to style HTML using CSS by Mozilla.
- If you want more tips on styling Obsidian, refer to About styling.