omarchy-theming
建立 Omarchy 桌面主題
在多個應用程式間建立一致的桌面主題既複雜又耗時。Omarchy 主題提供集中式的 colors.toml 配置,可自動為所有桌面應用程式生成主題,包括終端機、視窗管理器和系統工具。
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“omarchy-theming”。 為 Omarchy 建立包含全部 22 個顏色變數的 Tokyo Night 深色主題
预期结果:
- accent = "#7aa2f7" (邊框、按鈕、高亮)
- cursor = "#c0caf5" (終端機游標顏色)
- foreground = "#a9b1d6" (主要文字)
- background = "#1a1b26" (主要背景)
- selection_foreground = "#c0caf5" (選取文字的文字顏色)
- selection_background = "#7aa2f7" (選取高亮)
- color0-7 = "#32344a" 到 "#787c99" (標準 ANSI 顏色)
- color8-15 = "#444b6a" 到 "#acb0d0" (明亮 ANSI 顏色)
正在使用“omarchy-theming”。 建立帶有 Catppuccin Latte 調色板和 light.mode 檔案的淺色主題
预期结果:
- accent = "#1e66f5" (互動元素的淺藍色強調)
- background = "#eff1f5" (淺灰色背景)
- foreground = "#4c4f69" (深灰色文字以提高可讀性)
- color0 = "#bcc0cc" (深色元素的淺黑色)
- color1 = "#d20f39" (錯誤的紅色)
- color2 = "#40a02b" (成功的綠色)
- 包含空的 light.mode 檔案以指示淺色主題變體
正在使用“omarchy-theming”。 Hyprland 和 Waybar 樣式需要哪些模板變數
预期结果:
- Hyprland 使用 _strip 後綴:rgb({{ accent_strip }}) 用於邊框顏色
- Hyprlock 使用 _rgb 後綴:rgba({{ background_rgb }}, 1.0) 用於透明度
- Waybar 使用標準格式:@define-color foreground {{ foreground }}
- 所有變數對應到 colors.toml 鍵以實現一致的主題化
安全审计
安全Pure documentation skill containing only markdown guides and configuration examples. The static analyzer flagged 191 false positives caused by misinterpreting markdown code blocks as shell execution and ANSI color variables (color1-color15) as crypto/C2 keywords. Prior audit correctly identified this as safe with zero risk factors.
风险因素
⚙️ 外部命令 (150)
📁 文件系统访问 (8)
🌐 网络访问 (1)
质量评分
你能构建什么
統一桌面主題
建立單一 colors.toml,為整個桌面環境生成一致的 Hyprland 邊框、Waybar 樣式和終端機顏色。
配套編輯器主題
從單一配置檔案為 neovim、VS Code 和終端機生成協調的主題,打造無干擾的程式碼編輯環境。
多應用程式主題化
以最少的配置工作,將相同的調色板套用到 Alacritty、Kitty、Ghostty、btop、Mako 通知和瀏覽器。
试试这些提示
Create a new Omarchy dark theme called 'catppuccin-dark' with the Mocha color palette. Include colors.toml with all 22 variables, a neovim.lua file for LazyVim, and a btop.theme file.
What RGB format does omarchy-theming use for chromium.theme files? Show me how to convert #1e1e2e to the required format.
Create a light Omarchy theme with a light blue accent color (#1e66f5), light gray background (#eff1f5), and show how to create the light.mode marker file.
My terminal colors are not applying after running omarchy-theme-set. What variables might be missing from colors.toml and what format should they use?
最佳实践
- 在 colors.toml 中定義全部 22 個顏色變數,以避免主題生成時發生錯誤
- 對 Hyprland rgb() 函式使用 _strip 後綴,對 rgba() 值使用 _rgb 後綴
- 變更後使用 omarchy-theme-set 測試主題,並驗證每個應用程式
避免
- 在 colors.toml 中使用 RGB、HSL 或命名顏色而非 HEX 格式
- 缺少 backgrounds/ 目錄及至少一張桌布圖片
- 忘記為淺色主題變體建立空的 light.mode 檔案