An open API service indexing awesome lists of open source software.

https://github.com/cheaderthecoder/obsidian-text-color-snippet

a simple obsidian CSS snippet to change the color of user typed text to the choosen color (using style-settings).
https://github.com/cheaderthecoder/obsidian-text-color-snippet

css css3 obsidian obsidian-md obsidian-snippet snippet

Last synced: 12 days ago
JSON representation

a simple obsidian CSS snippet to change the color of user typed text to the choosen color (using style-settings).

Awesome Lists containing this project

README

        

# Obsidian Text Color Snippet
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/cheaderthecoder/text-color-snippet)
![GitHub top language](https://img.shields.io/github/languages/top/cheaderthecoder/text-color-snippet)
![LICENSE](https://img.shields.io/github/license/cheaderthecoder/text-color-snippet)

A CSS snippet for Obsidian that changes the color of all user-typed text in your notes. By default the to orange but with [Style Settings plugin](https://github.com/mgmeyers/obsidian-style-settings) you can customize the color to anything you like.

## Table of Contents
- [Style Settings Plugin](#style-settings-plugin)
- [Installation](#installation)
- [Examples](#examples)
- [Acknowledgements](#acknowledgements)
- [License](#license)

## Installation
1. **Download the Snippet:**
- Download text-color.css from the [releases tab](https://github.com/cheaderthecoder/Obsidian-text-color-snippet/releases/latest).
- Place the downloaded CSS file into your Obsidian snippets folder. Typically found at `\.obsidian\snippets\` on Windows, or `~/Library/Application Support/obsidian/snippets/` on macOS.

2. **Enable the Snippet:**
- Open Obsidian.
- Go to `Settings > Appearance > CSS snippets`.
- You should see the `text-color-snippet` snippet listed. Toggle it on to apply the style.

3. **Customize the Color (Optional):**
- If you want to change the default color, install the [Style Settings plugin](https://github.com/mgmeyers/obsidian-style-settings).
- Open the Style Settings interface (`Ctrl+P` and search for `Style Settings: Show style settings view`).
- Find the `text-color-snippet` settings and adjust the color to your preference.

### Style Settings Plugin
If you want to change the text color from the default orange, you need to install the [Style Settings plugin](https://github.com/mgmeyers/obsidian-style-settings). This plugin provides a user-friendly interface to adjust the color of your text.

## Examples
Here are some examples to illustrate how the snippet affects your notes.

### Default Orange Color
- All user-typed text will appear in orange.
![image](https://github.com/user-attachments/assets/fc1ba76f-510e-4f1b-bfbb-3c66d17daca1)

### Custom Color with Style Settings Plugin
- Using the Style Settings plugin, you can set a custom color for your text.
![image](https://github.com/user-attachments/assets/876bb74a-1f49-4c3b-90e2-2ba4c3bac291)

## Acknowledgements
- [Style Settings Plugin](https://github.com/mgmeyers/obsidian-style-settings) for providing an easy way to customize styles in Obsidian.
- [Obsidian](https://obsidian.md) for being an amazing tool for personal knowledge management.

## License
This project is licensed under the [MIT License](LICENSE.md). See the [LICENSE](LICENSE) file for details.