主题与美化
3.1 内置颜色主题
切换主题
Preferences → Preferences → Schematic Editor → Colors
Preferences → Preferences → PCB Editor → Colors
主题选择
- 每个编辑器(原理图、PCB、封装、符号)可以使用不同的颜色主题
- 默认主题:kicad-default
- 内置主题:classic、tango、legacy
3.2 暗色模式
应用主题设置
Preferences → Preferences → Common → Icon Theme
→ Light / Dark / Auto
| 选项 | 说明 |
|---|
| Light | 使用浅色图标 |
| Dark | 使用深色图标 |
| Auto | 跟随系统设置 |
原理图/PCB 画布暗色
Preferences → Preferences → Schematic Editor → Colors
→ Theme: 选择暗色主题
或
Preferences → Preferences → PCB Editor → Colors
→ Theme: 选择暗色主题
3.3 社区颜色主题
通过 PCM 安装(推荐)
1. 打开 KiCad 项目管理器
2. 点击顶部工具栏的 "Plugin and Content Manager" 图标
3. 在 "Color Schemes" 分类中浏览
4. 选择喜欢的主题 → Install
5. 安装后在 Preferences 中选择
GitHub 颜色主题仓库
https://github.com/pointhi/kicad-color-schemes
可用主题列表
| 主题名 | 风格 | 适用 |
|---|
| kicad-classic | KiCad 5.x 默认 | 怀旧 |
| kicad-2020 | KiCad 6.0 默认 | 标准 |
| solarized-dark | 暗色护眼 | 长时间工作 |
| solarized-light | 亮色护眼 | 白天使用 |
| monokai | 暗色代码风格 | 程序员 |
| nord | 北欧冷色调 | 护眼 |
| behave-dark | 暗色主题 | 现代风格 |
| neon | 霓虹风格 | 个性化 |
| black-white | 纯黑白 | 简约 |
| blue-tone | 蓝色调 | 冷静 |
| eagle-dark | Eagle 风格暗色 | 从 Eagle 迁移 |
| wdark | 暗色原理图 | PCB 编辑 |
| wlight | 亮色原理图 | PDF 导出 |
手动安装主题
# 下载主题文件
git clone https://github.com/pointhi/kicad-color-schemes.git
# 复制 JSON 主题文件到 KiCad 颜色目录
# Linux:
cp kicad-color-schemes/nord/ ~/.config/kicad/9.0/colors/
# macOS:
cp kicad-color-schemes/nord/ ~/Library/Preferences/kicad/9.0/colors/
# Windows:
cp kicad-color-schemes/nord/ %APPDATA%\kicad\9.0\colors\
3.4 自定义颜色
修改现有主题
1. Preferences → Preferences → Schematic Editor → Colors
2. 选择一个基础主题
3. 点击颜色方块修改颜色
4. 修改后保存为新主题(Save As)
可自定义的颜色项
原理图编辑器
| 颜色项 | 说明 |
|---|
| Background | 画布背景色 |
| Wire | 连线颜色 |
| Bus | 总线颜色 |
| Junction | 节点颜色 |
| Label | 标签颜色 |
| Power symbol | 电源符号颜色 |
| Text | 文本颜色 |
| Sheet | 图纸边框颜色 |
| Selection | 选中高亮色 |
PCB 编辑器
| 颜色项 | 说明 |
|---|
| Background | 画布背景色 |
| F.Cu | 顶层铜颜色 |
| B.Cu | 底层铜颜色 |
| F.SilkS | 顶层丝印颜色 |
| B.SilkS | 底层丝印颜色 |
| Edge.Cuts | 板框颜色 |
| Grid | 网格颜色 |
| Via | 过孔颜色 |
| Pad | 焊盘颜色 |
| Track | 走线颜色 |
| Zone | 铜皮颜色 |
| Selection | 选中高亮色 |
创建自己的主题
// 保存为 ~/.config/kicad/9.0/colors/my-theme.json
{
"name": "My Custom Theme",
"description": "My custom color scheme",
"schematic": {
"background": "#1e1e2e",
"wire": "#89b4fa",
"bus": "#cba6f7",
"junction": "#f38ba8",
"label": "#a6e3a1",
"power": "#fab387",
"text": "#cdd6f4"
},
"pcbnew": {
"background": "#1e1e2e",
"f_cu": "#89b4fa",
"b_cu": "#cba6f7",
"f_silks": "#f9e2af",
"b_silks": "#f9e2af",
"edge_cuts": "#a6e3a1",
"grid": "#45475a"
}
}
3.5 网格与画布设置
网格设置
Preferences → Preferences → Common → Grid and Canvas
→ Grid Size: 0.127mm (5mil)
→ Grid Style: Dots / Lines / Small Crosses
→ Grid Color: #45475a(修改颜色)
画布设置
Preferences → Preferences → Common → Grid and Canvas
→ Show Grid: ✅
→ Always Show Cursor: ✅
→ Cursor Shape: Cross / Small Cross / Arrow
→ Middle Button Pan: ✅
→ Zoom over cursor position: ✅
缩放设置
Preferences → Preferences → Common → Mouse and Touchpad
→ Zoom direction: Natural / Inverted
→ Pan speed: 滑块调整
3.6 字体与显示
画布字体大小
Preferences → Preferences → Schematic Editor → Display
→ Default Text Size: 50 mils
→ Label Text Size: 50 mils
PCB 文字大小
Preferences → Preferences → PCB Editor → Display
→ Default Text Size: 1.5 mm
高 DPI 设置
Preferences → Preferences → Common → DPI Scaling
→ Scale Factor: 1.0 / 1.5 / 2.0
→ 4K 显示器建议设置 1.5 或 2.0