Skip to content

How to Change Font Size in ComfyUI: Step-by-Step Guide

In ComfyUI, you can adjust node font sizes through theme configuration and modify input area font size in settings. This tutorial covers both methods in detail.

Adjusting Node Font Size (Theme Configuration)

Step 1: Access Theme Configuration

  1. Open ComfyUI interface
  2. Find the Color Palette section
  3. Detailed instructions available at ComfyUI Wiki - Interface Menu

Step 2: Export Current Configuration

  1. Click the Export button in the Color Palette section
  2. Save the current theme configuration file

Step 3: Modify Configuration File

  1. Open the exported JSON file with a text editor
  2. Locate these key settings:
    • “NODE_TEXT_SIZE”: Controls main node text size
    • “NODE_SUBTEXT_SIZE”: Controls secondary node text size
  3. Modify these values as needed

Step 4: Import Modified Configuration

  1. Return to ComfyUI Color Palette settings
  2. Click the Import button
  3. Select your modified configuration file
  4. Confirm the import

Adjusting Input Area Font Size

Step 1: Open Settings Panel

  1. Locate the gear icon in the top right corner
  2. Click to open settings panel

Step 2: Adjust Font Size

  1. Find font size options in settings
  2. Adjust the textarea font size
  3. Settings will automatically save and apply

Troubleshooting Guide

If Node Font Settings Don’t Take Effect

  1. Verify JSON file format is correct
  2. Check if configuration was imported successfully
  3. Refresh the page and try again

If Input Area Font Settings Don’t Work

  1. Clear browser cache
  2. Reload the page
  3. Reapply settings

Best Practices

Choosing Appropriate Font Sizes

  1. Keep node text size within readable range
  2. Consider practical needs for input area font size
  3. Maintain overall interface harmony

Configuration File Management

  1. Keep a backup of default configuration
  2. Document effective configuration parameters
  3. Prepare different configurations for various scenarios

Frequently Asked Questions

Q: Are adjusted settings permanently saved? A: Yes, both theme configuration and settings panel modifications are saved.

Q: How to restore default settings? A: Import the original configuration file or clear browser data to reset settings.

Q: Do font sizes in different areas affect each other? A: No, node text and input area font sizes are configured independently.

Important Notes

  • Backup before modifying configuration files
  • Maintain overall interface usability
  • Regularly check and update configurations