obsidian-theme-dev
CSS/SCSS development patterns for Obsidian themes. Load when working with theme.css, SCSS variables, or CSS selectors.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Obsidian Theme Development Skill
This skill provides patterns and rules for developing Obsidian themes, focusing on CSS/SCSS development, styling conventions, and theme-specific coding practices.
Purpose
To ensure consistent theme development, proper CSS organization, and adherence to Obsidian's theming patterns and CSS variable usage.
Scope
This skill covers:
- Writing or modifying CSS/SCSS for
theme.css - Working with Obsidian's CSS variables and theming system
- Implementing responsive design or dark/light mode support
- Debugging CSS layout or styling issues
- CSS/SCSS coding conventions for Obsidian themes
Core Rules
- Use Obsidian CSS Variables: Always prefer Obsidian's built-in CSS variables over hardcoded values
- Consistent Naming: Use a consistent naming convention (BEM, prefixed classes, or other - see conventions file)
- Mobile-First: Consider mobile layouts and responsive design
- Dark/Light Mode Support: Test themes in both light and dark modes
- Performance: Minimize CSS complexity and avoid expensive selectors
Bundled Resources
-
references/theme-best-practices.md: Essential CSS patterns and Obsidian variable usage -
references/theme-coding-conventions.md: CSS/SCSS style guidelines and naming conventions
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-03-11
- 索引更新时间
- 2026-03-11
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!