-
-
Notifications
You must be signed in to change notification settings - Fork 1
Theme Customization
RenzMc edited this page Sep 6, 2025
·
1 revision
This guide explains how to customize the appearance of the Acode AI CLI Assistant Plugin to match your preferences and workflow.
The plugin features a beautiful galaxy-themed interface that automatically adapts to your Acode theme settings while providing extensive customization options.
- Deep space background with cosmic effects
- Blue and purple accent colors
- High contrast text for comfortable night coding
- Animated starfield elements
- Softened galaxy theme with light colors
- Reduced animation intensity
- Gentle gradients and subtle effects
- Optimized for daytime use
- Follows your system preference automatically
- Switches between light and dark based on system settings
- Maintains consistent user experience across devices
The plugin uses CSS variables for easy customization. You can modify:
:root {
--galaxy-primary: #0f0f1e; /* Main background color */
--galaxy-secondary: #1a1a2e; /* Secondary background */
--galaxy-accent: #16213e; /* Accent background */
--galaxy-star-blue: #00d4ff; /* Blue star elements */
--galaxy-star-purple: #9d4edd; /* Purple star elements */
--galaxy-star-pink: #ff006e; /* Pink star elements */
--galaxy-text-primary: #ffffff; /* Primary text color */
--galaxy-text-secondary: #b8b8ff; /* Secondary text color */
--galaxy-text-muted: #8892b0; /* Muted text color */
--galaxy-border: rgba(0, 212, 255, 0.3); /* Border color */
}- Create a custom CSS file in your project
- Override the CSS variables with your preferred colors
- Load the CSS file in Acode settings
- Message bubbles: Customize padding, border-radius, and colors
- Input area: Modify height, border, and background
- Buttons: Adjust size, shape, and hover effects
- Syntax highlighting: Adapt to your preferred color scheme
- Copy buttons: Customize position and appearance
- Borders and shadows: Modify visual effects
- Background colors: Match your overall theme
- Border styles: Adjust thickness and color
- Animation effects: Customize transitions
@media (max-width: 767px) {
/* Adjustments for mobile devices */
.chatTextarea {
padding: 0.75rem;
font-size: 0.9rem;
}
.sendBtn, .stopGenerationBtn {
width: 42px;
height: 42px;
}
}@media (min-width: 768px) and (max-width: 1024px) {
/* Adjustments for tablets */
.chatBox {
padding: 1.25rem;
}
}@media (min-width: 1025px) {
/* Adjustments for desktop use */
.mainApp {
max-width: 800px;
margin: 0 auto;
}
}For better performance or accessibility:
/* Disable all animations */
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}/* Faster animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Slower animations */
.streaming-cursor {
animation: blink 2s infinite;
}#acode-ai-assistant {
font-family: 'Your Preferred Font', 'SF Pro Display', 'Segoe UI', 'Roboto', sans-serif;
}
.chatTextarea {
font-family: 'Your Preferred Font', monospace;
}/* Compact layout for smaller screens */
.compact-layout .chatBox {
padding: 0.5rem;
}
.compact-layout .message {
padding: 0.75rem;
border-radius: 0.75rem;
}@media (prefers-contrast: high) {
:root {
--galaxy-border: #ffffff;
--galaxy-text-muted: #cccccc;
}
}- Create a new CSS file (e.g.,
ai-assistant-theme.css) - Add your customizations:
#acode-ai-assistant { --galaxy-primary: #your-color; --galaxy-star-blue: #your-color; /* Add more customizations */ }
- Save the file in your project directory
- Open Acode Settings
- Navigate to Editor Settings β Custom CSS
- Add your theme file to the custom CSS list
- Restart Acode to apply changes
- Complex animations may impact performance on older devices
- Consider disabling animations if experiencing lag
- Use hardware-accelerated CSS properties when possible
- Dark themes generally consume less battery on OLED screens
- Light themes may be more readable in bright environments
- High contrast themes improve accessibility
- Ensure custom CSS is properly loaded in Acode
- Check that CSS selectors are specific enough
- Restart Acode to refresh theme application
- Some custom colors may reduce readability
- Test color combinations for accessibility
- Use online contrast checkers for WCAG compliance
- Custom breakpoints may conflict with default responsive behavior
- Test on different screen sizes
- Ensure mobile usability is maintained
To verify theme customizations are working:
- Apply your custom CSS file
- Restart Acode
- Open the AI assistant
- Check that colors and styles match your customization
- Maintain readability with appropriate contrast
- Consider accessibility guidelines
- Test themes on different screen sizes
- Use subtle animations to avoid distraction
- Choose colors that complement Acode's interface
- Ensure text remains readable in all lighting conditions
- Use consistent color schemes throughout the plugin
- Consider colorblind-friendly palettes
- Minimize complex animations on mobile devices
- Use efficient CSS properties
- Test themes on various hardware configurations
- Provide fallback styles for older browsers
If you encounter issues with theme customization:
- Check the Common Issues documentation
- Visit our GitHub Issues page
- Join our Discussions community for support
- Home
- Getting Started
- Usage Guides
- Advanced Features
- Developer Docs
- Troubleshooting