{"repo":"GRA0007/obsidian-css-inlay-colors","free":true,"listed":false,"github":"https://github.com/GRA0007/obsidian-css-inlay-colors","clone":"git clone https://github.com/GRA0007/obsidian-css-inlay-colors.git","description":"Show inline color hints for CSS colors in Obsidian","language":"CSS","stars":29,"topics":["colors","css","inlay-hints","obsidian","obsidian-plugin","palette"],"license":"MIT","category":"productivity","readme_excerpt":"Obsidian CSS Inlay Colors Show inline color hints for CSS colors in Obsidian. To use, just put any valid CSS color syntax in a code block like so: \\ \\#8A5CF5\\ . Features Color Picker Enable the color picker setting to change a color using a color picker in live preview mode. Note that the color picker does not support opacity, and will only let you select from sRGB colors. It will attempt to preserve the existing format you have written, as well as any existing opacity. Copy On Click By default, colors can be copied to the clipboard by clicking on them. This only works in reading mode, and can be disabled in the plugin settings. Hide Color Names Surround a color with square brackets (\\ [\\#663399]\\ ) to hide the color name and only show the inlay swatch in live preview and reading mode. There's also an option in the plugin settings to hide all color names globally. Custom Palettes This plugin supports custom color palettes which you can use by enabling the setting and creating a CSS snippet file that targets the palette names you want to support. Enabling the setting exposes classes for every inline code block surrounded by parentheses, replacing all spaces with hyphens, and converting to lowercase. For example, \\ (RAL 170 50 10)\\ exposes the class .ral-170-50-10 . If that class gets a color set, it will show a color inlay. Note, the plugin detects classes that target .css-color-inlay only, see the example below. Predefined Palettes There are 6 predefined color palettes you ca","default_branch":null,"files":null,"tree":[],"storefront":"/r/GRA0007","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GRA0007/obsidian-css-inlay-colors/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}