Skip to content

Font Size Adjustment

VertiTab's custom theme feature provides two methods to adjust font sizes. Choose the appropriate method based on your needs.

Method 1: Typography Configuration - Global Settings

Access Path

  1. Open VertiTab settings page
  2. Click "Custom Themes" in the sidebar menu
  3. Select the theme to edit and click "Edit"
  4. Click the "📝 Typography" tab

Global Font Settings

In the "Global Settings" section:

  • Base Font Size: Adjust 10-24px via slider; changing this value will synchronously adjust all typography variants
  • Font Family: Select preset fonts or enter custom font families

Individual Typography Variant Settings

You can independently adjust 10 typography variants:

Heading Variants

  • H1-H6: Font sizes for various heading levels (0.5-3rem)

Body Variants

  • Body1: Primary body text
  • Body2: Secondary body text
  • Button: Button text
  • Caption: Caption text

Other Properties

  • Line Height: 1-3x line height adjustment
  • Font Weight: 100-900
  • Text Transform: None, uppercase, lowercase, capitalize

Method 2: Component Customization - HTML Font Size

Access Path

  1. In the theme editor, click the "🧩 Component Customization" tab
  2. Find the "CssBaseline" configuration card and expand it
  3. In the "HTML Element Styles" section

HTML Font Size Settings

  • Adjustment Range: 12-20px
  • Effect: Affects the base font size of the entire page
  • Real-time Preview: See effects immediately when adjusting the slider

Differences Between Methods

MethodScopeCharacteristics
Typography ConfigurationSpecific typography variantsFine control over each text type
HTML Font SizeGlobal base sizeAffects overall font baseline

Usage Recommendations

  1. Adjust HTML Font Size First: Set an appropriate base size
  2. Then Adjust Typography: Fine-tune various typography variants
  3. Maintain Visual Hierarchy: Ensure headings are larger than body text for clear hierarchy
  4. Test Different Scenarios: Verify effects across various interface elements

Saving Settings

All adjustments are previewed in real-time. Click the "Save" button in the theme editor to save changes.