> ## Documentation Index
> Fetch the complete documentation index at: https://docs.starfy.io/savvy-theme/llms.txt
> Use this file to discover all available pages before exploring further.

# Colors

Colors are managed through color schemes — reusable palettes that sections and elements reference, rather than picking colors section-by-section. A scheme only takes effect once it's assigned to a section or block elsewhere in the theme editor.

> [!NOTE]
>
> In the **Shopify Theme Editor**, choose **Theme settings** **> Colors**, edit settings. Changes appear in the preview. Click **Save** to publish them.

## **Schemes**

You can create **as many schemes as needed** (schema 1, 2, 3,...). Color schemes can be applied to sections throughout your online store.

![Savvy Color Schemes](https://mintcdn.com/starfy/2vy_hA8YZPMbkpWD/savvy-theme/images/savvy-color-schemes.png?fit=max\&auto=format\&n=2vy_hA8YZPMbkpWD\&q=85\&s=5203302833c76f127a6f712e304bf8a2)

Each scheme includes color fields grouped by area:

### **General**

* **Accent:** Color used for primary accents and highlights across the store.
* **Text:** Main body text color.
* **Secondary text:** Color for secondary text such as subheadings.
* **Background:** Main page background color.
* **Background gradient:** Color used for background gradient effects.
* **Secondary background:** Color for secondary background areas (e.g., alternate sections).
* **Lines and borders:** Color of dividers, borders, and separators.
* **Shadow:** Color used for shadow effects.

### **Primary button**

* **Text:** Color of primary button text.
* **Text hover:** Color of primary button text on hover.
* **Background:** Color of primary button background.
* **Background hover:** Color of primary button background on hover.

### **Secondary button**

* **Text:** Color of secondary button text.
* **Text hover:** Color of secondary button text on hover.
* **Background hover:** Color of secondary button background on hover.

### **Input**

* **Text:** Color of input field text.
* **Borders:** Color of input field borders.
* **Background:** Color of input field background.

### **Product**

* **Rating:** Color of product rating.
* **On-sale accent:** Color of product price in discount.

> [!TIP]
>
> Build **2–3 well-contrasted schemes** (e.g., Light, Dark, Accent) rather than many near-duplicate ones — it keeps section editing simpler for merchants and easier to support. [Check color contrast](https://color.adobe.com/create/color-contrast-analyzer) between Text and Background in every scheme for best accessibility.

## **Badges**

Set a Background and Text color for each badge type.

![Savvy Badges Color](https://mintcdn.com/starfy/2vy_hA8YZPMbkpWD/savvy-theme/images/savvy-badges-color.png?fit=max\&auto=format\&n=2vy_hA8YZPMbkpWD\&q=85\&s=86bcf5e4c3780b542fe5942093ce2051)

* **Sold out:** Background / Text.
* **Sale:** Background / Text.
* **Hot:** Background / Text.
* **New:** Background / Text.
* **Pre-order:** Background / Text.

## **Cart count bubble**

![Savvy Cart Count Bubble](https://mintcdn.com/starfy/2vy_hA8YZPMbkpWD/savvy-theme/images/savvy-cart-count-bubble.png?fit=max\&auto=format\&n=2vy_hA8YZPMbkpWD\&q=85\&s=ef634838960a163d2ace5223f0902dc9)

* **Background:** Color of the cart icon's item-count bubble.
* **Text:** Text color of the item-count bubble.

## **Semantics**

Semantics are system-level feedback such as form validation, stock alerts, and order status — independent of the main color schemes.

* **Success:** Color used for success messages.
* **Warning:** Color used for warning messages.
* **Error:** Color used for error messages.
* **Processing:** Color used for in-progress/loading states.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.