Background Settings
Page backgrounds can be set through the CssBaseline editor.
Access Path
- Open VertiTab settings page
- Click "Custom Themes" in the sidebar menu
- Select the theme to edit and click "Edit"
- Click the "🧩 Component Customization" tab
- Find the "CssBaseline" configuration card and expand it
- In the "Body Element Styles" section, find "Body Background"
Background Picker Features
Background Types
Solid Color Background
- Click the color picker icon to open the background selector
- Select colors in the "Solid Color" tab
- Supports palette selection and custom color input
- Real-time preview of selection effects
Gradient Background
- Switch to the "Gradient" tab
- Configure gradient direction and colors
- Supports linear and radial gradients
- Can add multiple gradient color stops
Image Background
- Switch to the "Image" tab
- Supports uploading local images or entering image links
- Can set image display modes (cover, contain, repeat, etc.)
- Supports position adjustment
Operation Interface
Background Preview Area
- Displays a small square showing current background effect
- Shows transparent grid pattern when background is empty
- Click to open background selector
Background Value Display
- Shows current background CSS value
- Long values are automatically truncated with ellipsis
- Shows placeholder prompt text when background is empty
Action Buttons
- Palette Icon: Opens background selector
- Clear Button: Clears current background setting
- Close Button: Closes selector panel
Operation Steps
Setting Solid Color Background
- Click background preview area or palette icon
- Ensure you're on the "Solid Color" tab
- Select your preferred color in the color picker
- Color automatically applies to preview area
Setting Gradient Background
- Open background selector
- Switch to "Gradient" tab
- Select gradient type and direction
- Set start and end colors
- Can add intermediate color stops for more complex gradients
Setting Image Background
- Open background selector
- Switch to "Image" tab
- Upload image file or enter image URL
- Adjust image display mode and position
- Preview effects and confirm
Clearing Background
- Open background selector
- Click "Clear" button
- Or select transparent color in solid color mode
Background Effects
Application Scope
- Entire Page Background: Affects background display of all interfaces
- Theme Consistency: Coordinates with color schemes and other components
- Visual Hierarchy: Provides visual foundation for the interface
CSS Properties
Background settings apply to the body
element's background
property, supporting:
- Solid colors:
#ffffff
,rgb(255,255,255)
,rgba(255,255,255,0.8)
- Gradients:
linear-gradient(...)
,radial-gradient(...)
- Images:
url(...)
with related properties
Usage Recommendations
Background Selection Principles
- Coordinate with Theme: Background should match overall color scheme
- Avoid Interference: Should not affect readability of text and interface elements
- Performance Consideration: Large images may impact loading performance
- User Experience: Background should enhance rather than interfere with user operations
Recommendations by Type
- Solid Color Background: Clean, good performance, suitable for most scenarios
- Gradient Background: Modern feel, suitable for users pursuing visual effects
- Image Background: Highly personalized, but pay attention to contrast and performance
Common Issues to Avoid
- Insufficient Contrast: Dark backgrounds with light text, light backgrounds with dark text
- Overly Complex Images: Avoid background images with too many details that affect reading
- Color Conflicts: Ensure background coordinates harmoniously with theme colors
Saving Settings
All background settings are previewed in real-time. Click the "Save" button in the theme editor to save changes. When clearing background, the theme default background will be used.