aidenlx/zotlit / .agents/skills/obsidian-css
obsidian-css
VerifiedStyle Obsidian plugin UI Tailwind-first with native components. Use when writing or reviewing any styled React/JSX or CSS in apps/obsidian/ — picking colors, spacing, typography, borders, radius, shadows, dark-mode tokens, the `zt:` prefix, `.zt-root` preflight setup, component wrapper selection, or deciding between a utility, a native element, and a stylesheet.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 11.3 KB |
| check-references.mjs | script | 2.4 KB |
| modal-layout.md | markdown | 2.7 KB |
| references/components.md | markdown | 9.2 KB |
| references/editor.md | markdown | 14.0 KB |
| references/foundations.md | markdown | 10.1 KB |
| references/plugins.md | markdown | 2.0 KB |
| references/preflights.md | markdown | 3.4 KB |
| references/window.md | markdown | 3.7 KB |
references/plugins.md
View on GitHub# Core Plugin Variables
Variables consumed by Obsidian's built-in plugin views. Useful when a plugin renders a similar interface (a custom search/filter pane, a graph-like visualization) and you want to inherit the look.
## File explorer
Currently shares variables with the Vault profile (see `window.md`):
| Variable | Use |
| --- | --- |
| `--vault-profile-display` | |
| `--vault-profile-actions-display` | |
| `--vault-profile-font-size` | |
| `--vault-profile-font-weight` | |
| `--vault-profile-color` | |
| `--vault-profile-color-hover` | |
For the tree itself, see Navigation in `components.md`.
## Search
| Variable | Use |
| --- | --- |
| `--search-clear-button-color` | Clear-search button color |
| `--search-clear-button-size` | Clear-search button size |
| `--search-icon-color` | Magnifying-glass icon color |
| `--search-icon-size` | Icon size |
| `--search-result-background` | Result row background |
## Graph view
| Variable | Use |
| --- | --- |
| `--graph-controls-width` | Controls panel width |
| `--graph-text` | Node label color |
| `--graph-line` | Edge color |
| `--graph-node` | Resolved node color |
| `--graph-node-unresolved` | Unresolved node color |
| `--graph-node-focused` | Focused node color |
| `--graph-node-tag` | Tag node color |
| `--graph-node-attachment` | Attachment node color |
## Canvas
| Variable | Use |
| --- | --- |
| `--canvas-background` | Canvas background |
| `--canvas-card-label-color` | Card label text color |
| `--canvas-dot-pattern` | Dot pattern color |
| `--canvas-color-1` | Card color 1 (RGB) |
| `--canvas-color-2` | Card color 2 (RGB) |
| `--canvas-color-3` | Card color 3 (RGB) |
| `--canvas-color-4` | Card color 4 (RGB) |
| `--canvas-color-5` | Card color 5 (RGB) |
| `--canvas-color-6` | Card color 6 (RGB) |
## Sync
Avatar palette used by Obsidian Sync. Useful if you implement a similar "users" indicator.
| Variable | Use |
| --- | --- |
| `--sync-avatar-color-current-user` | Current user avatar color |
| `--sync-avatar-color-1` … `-8` | Avatar palette |
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |