Skip to main content

Cart drawer colors and text sizes

Every setting in Colors and Text in the cart upsell editor, with defaults: the cart, item and checkout colours, the savings gradient, price and subtotal sizes, and the free shipping line above the subtotal.

Written by Grace

Colors and Text set how your cart drawer looks. Both are under Design in the cart upsell editor's feature list, and both are always on. They have no part of the preview to click, so open them from the list. Each feature, such as product upsells or the announcement bar, also has its own colours in its own panel: those are listed at the end.

A colour field shows its hex value, written short where it can be: #FFF is white (#FFFFFF) and #000 is black. Click the swatch to pick a colour, or type a hex value. A colour can't be left empty.

The defaults below are a new cart upsell's. A cart upsell first made in the Atlas app inside Shopify admin can open with some different values, for example Saving background as #F6F6F6.

In this article:


Colors: Cart

Setting

Default

What it colours

Cart background

#FFF

The drawer's background

Cart text

#000

The title, item names, prices and other text

Close button

#000

The × that closes the drawer

Cart footer

#F6F6F7

The footer's background: shipping protection, the discount code field, the subtotal, the checkout button and payment icons sit on it


Colors: Items

Setting

Default

What it colours

Shown when

Discount tag background

#F3F3F3

The tag with a discount's name on a discounted item

Always

Discount tag text

#000

That tag's text

Always

Discount tag icon

#000

That tag's icon

Always

Variant text

#6D7175

The variant name under each item, such as a size

Always

Quantity button background

#FFF

The − and + buttons

Always

Quantity text background

#F6F6F7

The number between them

Always

Saving background

#DFB21D

Behind each item's savings tag

Always

Saving text

#FFF

The savings tag's text

Always

Use gradient for saving background

Off

Replaces Saving background with a gradient

Always

Saving gradient start

#EA3885

The gradient's first colour

The gradient is on

Saving gradient end

#5F4DBC

The gradient's second colour

The gradient is on

Saving gradient direction

Bottom to top

Which way the gradient runs: Left to right, Right to left, Top to bottom, Bottom to top, Top left to bottom right or Top right to bottom left

The gradient is on

Compare-at price

#6D7175

The crossed-out price

Always

Whether savings and crossed-out prices show at all is set in General settings, under Pricing. See Cart drawer text, prices and empty cart settings.


Colors: Checkout

Setting

Default

What it does

Checkout button background

#000

The checkout button's colour

Checkout button text

#FFF

The checkout button's text

Checkout button corner radius

4px

How rounded the button's corners are, from 0px (square) to 25px

The same colours style the empty cart's button and the subscription upgrade button, which also takes the corner radius.

⚠️ Check the contrast between Checkout button background and Checkout button text. A checkout button that's hard to read costs sales, and fails accessibility contrast guidance.


Text: Sizes

Setting

Default

What it sizes

Price size

16px

The price of each item

Compare price size

14px

The crossed-out price

Subtotal size

16px

The subtotal line

Each size takes 10 to 30 pixels (10–30px). A number outside that range isn't kept: the field goes back to the saved size when you click away. If a size is empty, which can happen on a cart upsell made in the Atlas app inside Shopify admin, the field shows the size the store uses instead in grey: 16, 14 and 15.5.

The drawer uses your theme's fonts. There's no font or font weight setting.


Text: Free shipping line

A line above the subtotal, for example "Shipping FREE", that appears once the shopper's cart unlocks free shipping. While this section is open, the editor's preview shows the line.

Setting

Default

Limit

What it does

Label

Shipping

50 characters

The left side of the line. Its help text: “Shown above the subtotal once the cart unlocks free shipping.”

Value

FREE

50 characters

The right side of the line, in bold.

The line shows on your store when either of these happens:

  • the cart reaches the Minimum amount of a Free shipping reward on your reward progress bar, with the bar switched on. See Setting up the reward progress bar.

  • the shopper unlocks a free shipping gift from one of your bundles.

The line sits inside the subtotal line, so it needs Show subtotal line on. If that's off, the section shows “Needs the subtotal line. Turn on Show subtotal line in General settings to show it.”

⚠️ The free shipping line is text only: it doesn't make shipping free. The free shipping itself must exist in your Shopify admin, as a shipping rate or an automatic discount. Otherwise shoppers see "FREE" in the cart and pay for shipping at checkout.


Colours set in each feature

Feature

Its colour settings

Where to read more

Product upsells

Section background, Slide background, Button background, Button text

Shipping protection

Heading, Description, Switch

Announcement bar

Background, a gradient, Border, Text

Reward progress bar

Bar background and Bar progress, for each reward

Discount codes

Input background, Input text, Button background, Button text, Success message, Success background, Error message

Subscription upgrades and Payment icons have no colours of their own. The upgrade button uses the checkout button's colours, and payment icons sit on the Cart footer colour.

💡 For a drawer that looks like part of your store, copy three hex values from your theme: its background, body text and main button. Put them in Cart background, Cart text and Checkout button background, then adjust the rest.


Next steps

Did this answer your question?