No description
Find a file
2025-09-02 23:32:43 +10:00
.changes Upgrade packages and swap to pnpm 2025-09-02 23:32:43 +10:00
.github/workflows Upgrade packages and swap to pnpm 2025-09-02 23:32:43 +10:00
.vscode Initial version 2024-07-19 12:41:29 +10:00
src Upgrade packages and swap to pnpm 2025-09-02 23:32:43 +10:00
.gitignore Initial version 2024-07-19 12:41:29 +10:00
.npmrc Initial commit 2024-07-18 15:51:26 +10:00
.nvmrc Upgrade packages and swap to pnpm 2025-09-02 23:32:43 +10:00
biome.json Upgrade packages and swap to pnpm 2025-09-02 23:32:43 +10:00
CHANGELOG.md Publish new version 2024-12-12 02:38:55 +00:00
esbuild.config.mjs Add a license file and src folder 2024-07-19 14:11:23 +10:00
example.jpg Initial version 2024-07-19 12:41:29 +10:00
LICENSE Add a license file and src folder 2024-07-19 14:11:23 +10:00
manifest.json Publish new version 2024-12-12 02:38:55 +00:00
package.json Upgrade packages and swap to pnpm 2025-09-02 23:32:43 +10:00
pnpm-lock.yaml Upgrade packages and swap to pnpm 2025-09-02 23:32:43 +10:00
pnpm-workspace.yaml Upgrade packages and swap to pnpm 2025-09-02 23:32:43 +10:00
README.md Upgrade packages and swap to pnpm 2025-09-02 23:32:43 +10:00
styles.css Upgrade packages and swap to pnpm 2025-09-02 23:32:43 +10:00
tsconfig.json Upgrade packages and swap to pnpm 2025-09-02 23:32:43 +10:00
version-bump.mjs Set up workflows 2024-07-19 13:39:46 +10:00
versions.json Publish new version 2024-12-12 02:38:55 +00:00

Obsidian CSS Inlay Colors

GitHub Release Checks Obsidian

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`.

Example of the extension running for all CSS color formats

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.

Custom CSS

Customize the inlays by targeting the .css-color-inlay class. For example, you can make them circular with the following snippet:

.css-color-inlay {
  border-radius: 100px;
}

Development

This project uses Biome for linting/formatting and pnpm for package management. Run pnpm dev to build on changes.