Themes
Carry Code supports rich theme features, including code highlighting themes and code diff preview themes.
Theme Types
Section titled “Theme Types”Carry Code supports two types of themes:
| Type | Description | Command |
|---|---|---|
| Code Highlight | Controls code block color display | /theme CodeHighlight |
| Diff Preview | Controls Git diff color display | /theme CodeDiffPreview |
Switching Code Highlight Themes
Section titled “Switching Code Highlight Themes”Command
Section titled “Command”/theme CodeHighlightAvailable Themes
Section titled “Available Themes”Light Themes
Section titled “Light Themes”| Theme Name | Preview |
|---|---|
CodeCarryLight | Good for daytime use |
CodeOneLight | Simple light |
GitHubLight | GitHub style |
Dark Themes
Section titled “Dark Themes”| Theme Name | Preview |
|---|---|
CodeCarryDark | Good for nighttime use |
CodeOneDark | Simple dark |
Monokai | Classic dark |
Dracula | Dracula style |
Nord | Nordic style |
OneDark | Atom style |
Switching Diff Preview Themes
Section titled “Switching Diff Preview Themes”Command
Section titled “Command”/theme CodeDiffPreviewAvailable Themes
Section titled “Available Themes”Light Themes
Section titled “Light Themes”| Theme Name | Preview |
|---|---|
CodeDiffLight | Good for daytime use |
GitHubDiffLight | GitHub style |
Dark Themes
Section titled “Dark Themes”| Theme Name | Preview |
|---|---|
CodeDiffDark | Good for nighttime use |
GitHubDiffDark | GitHub dark style |
Theme Auto-Link
Section titled “Theme Auto-Link”When you select a code highlight theme, the diff preview theme automatically switches to maintain consistent style:
| Code Highlight Theme | Auto-switches to |
|---|---|
CodeCarryLight | CodeDiffLight |
CodeCarryDark | CodeDiffDark |
| Other light themes | CodeDiffLight |
| Other dark themes | CodeDiffDark |
If you want to manually set a different diff theme, you can use the /theme CodeDiffPreview command separately.
Quick Switching
Section titled “Quick Switching”Command Line Quick Switch
Section titled “Command Line Quick Switch”/theme light # Switch to light theme/theme dark # Switch to dark themeKeyboard Shortcuts
Section titled “Keyboard Shortcuts”Some terminals support keyboard shortcuts for theme switching.
Preview Effects
Section titled “Preview Effects”Interface Themes
Section titled “Interface Themes”CarryCodevides two interface themes:
| Theme | Features |
|---|---|
| Ocean of Stars | Ocean stars style, dark background |
| Morning Sunglow | Morning glow style, gradient effects |
Code Highlighting Examples
Section titled “Code Highlighting Examples”Light Theme:
def hello(): print("Hello, World!")Dark Theme:
def hello(): print("Hello, World!")Configuration File
Section titled “Configuration File”Set Default Theme
Section titled “Set Default Theme”Configure in ~/.carry/carrycode-runtime.json:
{ "theme": { "codeHighlight": "CodeCarryDark", "codeDiff": "CodeDiffDark" }}Theme List
Section titled “Theme List”{ "themes": { "codeHighlight": [ "CodeCarryLight", "CodeCarryDark", "CodeOneLight", "CodeOneDark", "Monokai", "Dracula", "Nord" ], "codeDiff": [ "CodeDiffLight", "CodeDiffDark", "GitHubDiffLight", "GitHubDiffDark" ] }}Usage Tips
Section titled “Usage Tips”1. Choose Based on Environment
Section titled “1. Choose Based on Environment”- Daytime work → Use light themes
- Nighttime work → Use dark themes
2. Choose Based on Code
Section titled “2. Choose Based on Code”- Reading code → Choose high-contrast themes
- Long coding sessions → Choose softer themes
3. Choose Based on Preference
Section titled “3. Choose Based on Preference”- Like simplicity → CodeOne series
- Like cool styles → Dracula, Nord
Q: Will themes affect AI answers?
Section titled “Q: Will themes affect AI answers?”No. Themes only affect interface display, not AI functionality.
Q: Can I customize themes?
Section titled “Q: Can I customize themes?”Currently supports built-in themes. Custom theme feature is in development.
Q: Are there keyboard shortcuts for theme switching?
Section titled “Q: Are there keyboard shortcuts for theme switching?”You can use /theme light or /theme dark for quick switching.
Next Steps
Section titled “Next Steps”- AI Model Configuration - Switch AI models
- Command Reference - All commands
- FAQ - More help