Documentation Index
Fetch the complete documentation index at: https://docs.waffo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Customization Overview
Make your checkout page match your brand. Customize colors manually, or import styles directly from your website URL.Accessing Checkout Settings
- Go to Dashboard → Settings
- Select the “Checkout” tab
- Customize and preview changes in real-time
- Save to apply to both light and dark themes
Import from Website URL
The fastest way to brand your checkout — paste your website URL and Waffo Pancake automatically extracts your brand colors, border radius, and favicon.Enter Your Website URL
In the Checkout Settings panel, find the “Import from Website” section and paste your website URL (e.g.,
https://yoursite.com).Click Extract
Click the Extract button. The system analyzes your website’s CSS and extracts brand colors.
How It Works
Style extraction uses a 3-tier strategy for maximum accuracy:| Tier | Method | What It Extracts |
|---|---|---|
| 1 | CSS Variables | --primary, --brand, --accent and similar CSS custom properties |
| 2 | CSS Rule Parsing | Button backgrounds, heading colors, body styles from actual CSS rules |
| 3 | AI Fallback | When tiers 1-2 yield insufficient results, an AI model analyzes the HTML/CSS context to identify brand colors |
Extracted Properties
| Property | Source |
|---|---|
| Primary Color | Brand/accent color from buttons and CTAs |
| Background Color | Page background color |
| Card Color | Derived from background color (slightly lighter/darker) |
| Text Color | Main body text color |
| Border Radius | Most common border-radius used on the site |
| Logo | Site favicon (converted to base64) |
AI-assisted extraction is rate-limited to 10 requests per store per day. CSS-based extraction (tiers 1-2) has no limit.
Logo
Upload your brand logo to appear on the checkout page.| Setting | Specification |
|---|---|
| Format | PNG, JPG, SVG |
| Recommended Size | 200 × 50 px |
| Max File Size | 2 MB |
| Background | Transparent recommended |
Theme Mode
Each theme maintains its own set of color values. Switch between modes to customize each independently.Light Theme
White background, dark text. Best for most brands. Professional appearance.
Dark Theme
Dark background, light text. Modern aesthetic. Reduces eye strain.
Color Settings
Customize the checkout color scheme for the current theme mode:| Setting | Field Name | Default (Light) | Default (Dark) |
|---|---|---|---|
| Primary Color | checkoutColorPrimary | #7CCB02 | #ADFF85 |
| Background Color | checkoutColorBackground | #FFFFFF | #0A1A1F |
| Card Color | checkoutColorCard | #F3F4F6 | #0A1A1F |
| Text Color | checkoutColorText | #111827 | #FFFFFF |
Ensure sufficient contrast between text and background colors for accessibility. WCAG recommends a contrast ratio of at least 4.5:1.
Border Radius
Control the roundness of UI elements with thecheckoutBorderRadius setting.
| Value | Style |
|---|---|
0px | Sharp corners |
4px | Subtle rounding |
8px | Standard (default) |
12px | Large rounding |
16px | Extra-large rounding |
Live Preview
The preview panel shows your checkout page in real-time as you make changes.- Desktop view — Full-width checkout layout
- Mobile view — Phone-sized checkout layout
- Product selector — Preview with different products from your store
API Reference
Checkout settings are saved as part of the store’scheckoutSettings object:
checkoutSettings in the request body.
Store Information
| Option | Description |
|---|---|
| Store Name | Shown in checkout header |
| Support Email | For customer questions |
| Terms Link | Link to your terms of service (required) |
| Privacy Link | Link to your privacy policy (required) |
Best Practices
Brand Consistency
Brand Consistency
- Use the Import from Website feature to automatically match your site’s colors
- Use the same logo as your main site
- Consistent color palette builds trust
Customize Both Themes
Customize Both Themes
- Many customers use dark mode — customize both light and dark themes
- Ensure your logo works on both light and dark backgrounds
- Test color contrast in both modes
Mobile Optimization
Mobile Optimization
- Use the mobile preview to check layout
- Ensure logos scale properly on small screens
- Verify touch targets are adequate
Accessibility
Accessibility
- Maintain sufficient color contrast (4.5:1 minimum)
- Readable font sizes
- Test with different color vision profiles
Reset to Default
To reset the current theme mode to default:- Click “Reset” in the Checkout Settings
- Default Waffo Pancake colors will be restored for the current mode (light or dark)