Skip to content

Themes

Swft Cart ships with 12 preset themes and a custom theme system built on CSS custom properties. Select a theme in WooCommerce → Swft Cart → Appearance.

The signature Swft dark theme. Matches the Swft Checkout aesthetic.

VariableValue
--swftcart-bg#060608
--swftcart-surface#0e0e10
--swftcart-text-1#e8e8e8
--swftcart-text-2#b0b0b0
--swftcart-accent#00ffd1
--swftcart-border#1e1e1e
--swftcart-btn-text#000000

Clean white theme for light-mode stores.

VariableValue
--swftcart-bg#ffffff
--swftcart-surface#f8f8fa
--swftcart-text-1#0a0a0a
--swftcart-text-2#404040
--swftcart-accent#0a0a0a
--swftcart-border#e0e0e0
--swftcart-btn-text#ffffff

Dark slate with indigo accent. Good for fashion and lifestyle brands.

VariableValue
--swftcart-bg#0f172a
--swftcart-surface#1e293b
--swftcart-text-1#f1f5f9
--swftcart-text-2#94a3b8
--swftcart-accent#6366f1
--swftcart-border#334155
--swftcart-btn-text#ffffff

Dark green, earthy tones. Good for food, wellness, and outdoor brands.

VariableValue
--swftcart-bg#0a1a0f
--swftcart-surface#122318
--swftcart-text-1#e2f0e8
--swftcart-text-2#8fad98
--swftcart-accent#4ade80
--swftcart-border#1e3828
--swftcart-btn-text#0a1a0f

Light rose theme. Good for beauty, gifting, and lifestyle.

VariableValue
--swftcart-bg#fff1f2
--swftcart-surface#ffffff
--swftcart-text-1#1c0a0c
--swftcart-text-2#6b2430
--swftcart-accent#e11d48
--swftcart-border#fecdd3
--swftcart-btn-text#ffffff

Warm amber for food, coffee, and artisan brands.

VariableValue
--swftcart-bg#1c1408
--swftcart-surface#2a1f0e
--swftcart-text-1#fef3c7
--swftcart-text-2#d97706
--swftcart-accent#f59e0b
--swftcart-border#3d2e10
--swftcart-btn-text#1c1408

Deep blue-teal for tech and SaaS-adjacent brands.

VariableValue
--swftcart-bg#071928
--swftcart-surface#0d2a40
--swftcart-text-1#e0f2fe
--swftcart-text-2#7dd3fc
--swftcart-accent#06b6d4
--swftcart-border#164e63
--swftcart-btn-text#071928

Pure monochrome. Works on any brand.

VariableValue
--swftcart-bg#111111
--swftcart-surface#1a1a1a
--swftcart-text-1#f5f5f5
--swftcart-text-2#a3a3a3
--swftcart-accent#f5f5f5
--swftcart-border#262626
--swftcart-btn-text#111111

Four themes that match the Swft design system. These are the defaults for new installations.

Warm off-white with lime accent.

VariableValue
--swftcart-bg#F5F1EA
--swftcart-t1#14110F
--swftcart-accent#D4EF3B
--swftcart-btn-text#0B0F03

Near-black with lime accent.

VariableValue
--swftcart-bg#0D0D0E
--swftcart-t1#F3F1EC
--swftcart-accent#D4EF3B
--swftcart-btn-text#0B0F03

Linen and sand tones with terracotta accent.

VariableValue
--swftcart-bg#F0E5D2
--swftcart-t1#2A1F15
--swftcart-accent#C4763E
--swftcart-btn-text#FDF5E6

Clean white with electric violet accent.

VariableValue
--swftcart-bg#F7F6F2
--swftcart-t1#0A0A12
--swftcart-accent#7A4FD6
--swftcart-btn-text#F7F6F2

Select Custom in the theme picker to expose all CSS variable fields. You can also override variables programmatically via the swftcart_theme_vars filter:

add_filter( 'swftcart_theme_vars', function( array $vars ): array {
$vars['--swftcart-accent'] = '#ff6b35';
$vars['--swftcart-btn-text'] = '#ffffff';
return $vars;
} );

The filter receives the full variable array for the selected base theme and must return the same structure. This runs after the theme picker selection, so you can use any preset as a base and override individual tokens.

VariablePurpose
--swftcart-bgDrawer background
--swftcart-surfaceCard and section backgrounds
--swftcart-text-1Primary text
--swftcart-text-2Secondary and muted text
--swftcart-accentButtons, active states, links
--swftcart-btn-textText colour on accent buttons
--swftcart-borderDividers and input borders
--swftcart-radiusBorder radius (default: 10px)
--swftcart-fontFont stack (default: inherit from theme)
--swftcart-shadowDrawer box shadow
--swftcart-widthDrawer width (default: 420px)
--swftcart-z-indexDrawer z-index (default: 9999)