less than a minute read • Updated 2 days ago
Apply the new theme to your templates
Give your Foxy cart, checkout, and receipt a modern, responsive look and match your brand with simple CSS design variables for colors, fonts, and spacing.
The new Foxy theme gives your sidecart, full-page cart, checkout, and web receipt a modern, responsive design that you restyle with simple CSS design variables. The current version, released in November 2026, refreshes the original May 2026 theme and adds variables for type sizes and spacing.
New stores
Every Foxy store created since November 2026 has the theme already applied. You'll find it at the top of your custom header, under Settings > Templates in the Foxy admin. To restyle it, edit the design variable values and save. To opt out, delete the whole block, from the <!-- Foxy v2 theme comment to the <link> tag.
Try it out
Click below to see the theme on our FoxyThreads demo store:
Before you add it to an existing store
Stores created before November 2026 don't get the theme automatically. You can add it at any time, but read this first.
The theme restyles every element on your cart, checkout, and receipt. It was built for Foxy's default templates, not alongside your own changes. If your store has any of the following, it may clash with the theme:
Custom CSS in your custom header or footer
Customized cart, checkout, or receipt templates (Twig)
JavaScript that changes the look or layout of the cart or checkout
Styles loaded from your own website or a third-party stylesheet
Each of these must either be tested with the theme or removed when you add it. The theme sets fonts and text colors with !important, so your existing CSS for those may stop working. Customized templates may use markup the theme doesn't style.
Changes to your custom header go live for every customer as soon as you save. Your custom header always comes from your default template set, so you can't preview the theme by applying a different template set.
The safest way to try the theme is on a free test store:
Add the theme to an existing store
<!-- Foxy v2 theme. Edit the values below to restyle your cart, checkout,
and receipt. Remove this whole block to opt out of the theme. -->
<style>
/* DESIGN VARIABLES */
#fc {
/* ─── FONTS ─── */
--foxy-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; /* Body text, labels, inputs */
--foxy-font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; /* Section headings, cart title */
--foxy-font-weight-normal: 400; /* Body text, subtotal labels */
--foxy-font-weight-semi: 600; /* Buttons, item names, headings */
--foxy-font-weight-bold: 700; /* Legends, order total, receipt headings */
--foxy-font-size-heading: 22px; /* Section headings, cart title */
--foxy-font-size-section-title: 15px; /* Checkout labels for checkbox groups, payment method, and custom fields */
--foxy-font-size-body: 14px; /* Body text, labels, inputs, item options */
--foxy-font-size-small: 12px; /* Helper text under checkout fields */
/* ─── SPACING ─── */
--foxy-space-sm: 8px; /* Small gaps, e.g. inside checkout field groups */
--foxy-space-md: 12px; /* Medium gaps, e.g. totals rows and alerts */
--foxy-space-lg: 16px; /* Large gaps, e.g. padding in boxed field groups */
--foxy-section-gap: 40px; /* Space between checkout sections */
--foxy-control-height: 44px; /* Height of inputs and selects on checkout and full-page cart */
/* ─── COLORS ─── */
--foxy-background: #ffffff; /* Main surface: form panel, sidecart, receipt */
--foxy-sidebar-background: #f5f5f5; /* Right panel on desktop (cart summary side) */
--foxy-text: #1a1a1a; /* Primary text */
--foxy-text-muted: #707070; /* Helper text, "Remove" links, receipt labels */
--foxy-heading-color: #1a1a1a; /* All headings and legends */
--foxy-border: #e5e5e5; /* Item dividers, image outlines, table borders */
--foxy-radius: 8px; /* Corner rounding on buttons, inputs, alerts */
/* ─── PRIMARY BUTTON: Submit, Checkout, Continue ─── */
--foxy-button-background: #1a1a1a;
--foxy-button-text: #ffffff;
--foxy-button-border: #1a1a1a;
--foxy-button-hover-background: #333333;
--foxy-button-hover-text: #ffffff;
--foxy-button-hover-border: #333333;
/* ─── SECONDARY BUTTON: Continue Shopping, Cancel, Apply Coupon ─── */
--foxy-secondary-button-background: transparent; /* Outline style by default */
--foxy-secondary-button-text: #1a1a1a;
--foxy-secondary-button-border: #1a1a1a;
--foxy-secondary-button-hover-background: #1a1a1a; /* Inverts to solid on hover */
--foxy-secondary-button-hover-text: #ffffff;
--foxy-secondary-button-hover-border: #1a1a1a;
/* ─── INPUTS ─── */
--foxy-input-background: #ffffff;
--foxy-input-text: #1a1a1a;
--foxy-input-border: #e5e5e5;
--foxy-input-focus-border: #000000;
--foxy-button-focus-ring: 0 0 0 3px rgba(26,26,26,0.2); /* Glow around focused buttons */
/* ─── LINKS ─── */
--foxy-link-color: #1a1a1a;
--foxy-link-hover-color: #545454;
--foxy-discount-color: #1a1a1a; /* Discount label and value text */
/* ─── ALERTS ─── */
--foxy-success-background: #e8f5e9;
--foxy-success-border: #c8e6c9;
--foxy-success-text: #2e7d32;
--foxy-warning-background: #fff8e1;
--foxy-warning-border: #ffecb3;
--foxy-warning-text: #e65100;
--foxy-info-background: #f0f0f0;
--foxy-info-border: #e0e0e0;
--foxy-info-text: #333333;
--foxy-danger-background: #fdecea;
--foxy-danger-border: #f5c6cb;
--foxy-danger-text: #b71c1c;
}
</style>
<link rel="stylesheet" href="https://cdn.foxycart.com/static/v/2.0.0/css/theme-overrides.css">Upgrade from the previous version
If your custom header loads https://cdn-js.foxy.io/website-helpers@1/foxy-styles/foxy-theme-overrides.css, you're on the previous version. To upgrade:
The new version uses larger default sizes: 22px headings instead of 17px, and 14px body text instead of 13px. If your variables still set the old sizes, those values are kept. Remove them, or change them, to use the new defaults.
Sidecart
When your custom header uses the <link> tag exactly as shown above, the sidecart loads the theme stylesheet on your website as soon as the page loads. You don't need to add a preload link to your website. If you host the stylesheet somewhere else, the sidecart can't do this. In that case, add a preload link for your copy to your website's global header:
<link rel="preload" href="https://YOUR-HOST/path/to/theme-overrides.css" as="style">Advanced customizations
The design variables cover colors, fonts, sizes, and spacing. For anything beyond that, you can read the full theme stylesheet here and add your own CSS below the theme in your Custom Header.
The stylesheet URL always serves the latest version of the theme, so you get fixes automatically. The design variable names won't change, but the rules inside the stylesheet can. Use the variables wherever you can, and recheck any extra CSS that targets the theme's own rules after it's updated.
Notes
The theme styles the sidecart, full-page cart, checkout, and web receipt. It doesn't change email receipts.
The theme is for stores on Foxy version 2.0.
The design variables are set on
#fc, so they only affect Foxy's pages and won't change the rest of your website.