1ffb529e978d241a92fe2bf8fc3a8cc83c48bcec
- Collapsed nodes now properly shrink to compact size based on title width - Expanded nodes return to their original full size - Uses LiteGraph's built-in _collapsed_width calculation - No modification of node properties during rendering - Maintains theme styling for both collapsed and expanded states
ComfyUI-Niutonian-Themes
A theme pack for ComfyUI that transforms the nodes into the best 2000's aesthetics styles while preserving full functionality.
Features
- 10 Unique Themes - From minimal to cyberpunk, find your perfect style
- Non-invasive - Works with all existing nodes and extensions
- Manual Color Support - Right-click any node to set custom colors - manual colors override theme styling
- Execution Glow - Currently running nodes glow with theme-matched colors
- Progress Bar - Themed progress indicator for nodes like KSampler
- Keyboard Shortcuts - Quick theme switching with Alt+1 through Alt+0
- Persistent Selection - Your theme choice is saved automatically
Available Themes
Modern Dark (Alt+1)
Glassmorphism (Alt+2)
Neon Glow (Alt+3)
Minimal Clean (Alt+4)
Ocean Deep (Alt+5)
Sunset Warm (Alt+6)
Cyberpunk (Alt+7)
Forest Night (Alt+8)
Midnight Purple (Alt+9)
Ember Glow (Alt+0)
Installation
Method 1: ComfyUI Manager (Recommended)
- Open ComfyUI Manager
- Search for "Niutonian Themes"
- Click Install
Method 2: Manual Installation
- Navigate to your ComfyUI custom nodes folder:
ComfyUI/custom_nodes/ - Clone this repository:
git clone https://github.com/Niutonian/ComfyUI-Niutonian-Themes.git - Restart ComfyUI
Method 3: Download ZIP
- Download the ZIP file from the releases page
- Extract to
ComfyUI/custom_nodes/ComfyUI-Niutonian-Themes - Restart ComfyUI
Usage
Switching Themes
- Right-click on the canvas to open the context menu
- Select Niutonian Theme
- Choose your preferred theme from the submenu
Or use keyboard shortcuts:
- Alt+1 through Alt+9: Select themes 1-9
- Alt+0: Select theme 10 (Ember Glow)
Manual Node Coloring
You can override theme colors for individual nodes:
- Right-click on any node
- Select a color from the color palette
- The node will use your custom color instead of the theme color
- To remove manual coloring, select the default color or clear the color setting
Note: Manually colored nodes will not display theme effects (glass, glow, scanlines) but will still show execution glow when running.
Theme Customization
Each theme includes:
- Node background colors
- Title bar styling with accent gradients
- Border colors (normal and selected states)
- Shadow effects
- Execution glow colors
- Corner radius settings
- Special effects (glass, glow, scanlines)
Customization
Edit js/node_styles.js to:
Add Custom Style Packs
const STYLE_PACKS = {
myCustomPack: {
name: "My Custom Pack",
node_bg: "#1a1a2e",
node_selected: "#252545",
node_title_bg: "#16213e",
node_title_color: "#ffffff",
border_color: "#0f3460",
border_selected: "#e94560",
shadow_color: "rgba(0,0,0,0.5)",
shadow_size: 12,
corner_radius: 8,
executing_color: "#e94560",
glass: false,
glow: false,
scanlines: false,
},
// ... existing themes
};
Customize Node Type Colors
const NODE_ACCENTS = {
"Load": "#4ecdc4",
"MyCustomNode": "#ff00ff",
"Checkpoint": "#f7b731",
// ... add your custom node types
"default": "#778ca3",
};
Available Theme Properties
node_bg: Main node background colornode_selected: Selected node background colornode_title_bg: Title bar background colornode_title_color: Title text colorborder_color: Normal border colorborder_selected: Selected border colorshadow_color: Drop shadow colorshadow_size: Shadow blur radiuscorner_radius: Border radius for rounded cornersexecuting_color: Color when node is runningglass: Enable glass effect (boolean)glow: Enable glow effect for selected nodes (boolean)scanlines: Enable scanline effect (boolean)
Contributing
Contributions are welcome! Feel free to:
- Submit bug reports
- Propose new themes
- Improve existing themes
- Add new features
License
MIT License - Feel free to use, modify, and distribute.
Credits
Created by Niutonian
Languages
JavaScript
99%
Python
1%









