> For the complete documentation index, see [llms.txt](https://docs.webexp.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.webexp.dev/drift-shopify-theme/drift-studio/theme-settings/general.md). Agents can also search and read this documentation through its [MCP server](https://docs.webexp.dev/~gitbook/mcp).

# DRIFT — General

Controls the color mode DRIFT loads in and how its glass looks.

## How to access

**Theme settings → DRIFT — General**

## Settings

### Default color mode

Select either **Light** or **Dark**. This is the color mode the site loads in for first-time visitors. Shoppers can toggle between light and dark using the switch in the header. The default is **Dark**.

### Enable Liquid Glass

On by default. Adds an Apple-style refractive edge highlight to every glass container in the theme — header pill, cards, modals, the password page card, etc. The effect uses a multi-layer inset `box-shadow` with `color-mix()` to mimic how real glass catches light along its edges.

Browsers that don't support `color-mix()` (older Safari, etc.) automatically fall back to the standard flat glass look — no broken visuals.

Turn it off if you prefer the original flat glass look or are debugging a visual issue.

With Liquid Glass on, buttons, size pills and the header's cart count also get the glass edge highlight, without an extra blur.

### Glass tint

Range 0–90%, default 55% (a fresh install is set to 30%). How much fill sits in front of the glass on every glass surface: the header pills, cart, menu, quick add, product panel, password page and the rest. 0 is fully see-through. Lower is clearer and more glass-like; higher is more solid and easier to read over busy backgrounds.

The size chart window always uses at least 82%, whatever this is set to, because it's a table people read closely.

### Real refraction

On in a fresh install of v3.34.0 and later; off when you bring an older theme up to date. Turns the glass from a blur with an edge highlight into glass that bends what is behind it. With it on, every glass surface redraws the page behind it in real time (the Live Gradient, background images and video, product photos) and stretches that picture toward its edges, the way a thick piece of glass does. Swipe a product under the header and you can watch it bend.

It applies to everything the theme styles as glass:

* the announcement bar, header pills, menus and the product counter
* badges and the quick add buttons
* product cards in grid view
* the cart, quick add, product panel, size chart and popups
* the Enter Page buttons and the password page
* the cards in content sections: FAQ, Rich Text, Showcase, Contact, Policies, Search, Cart page, 404 and the account pages

Things to know:

* **The glass picks dark or light from the page behind it, not from the color mode.** Over a deep red product color or a dark video, every piece of glass on the page turns dark with light text. Over a pale background, every piece is light with dark text. They all switch together, and the change fades rather than snapping.
* **Glass tint still sets how solid the glass is.** Real refraction changes what you see through the glass, not how much of it you see.
* **Text and 3D models are not bent.** The glass bends backgrounds, photos and video. Text that scrolls under the header disappears behind it instead.
* **Glass inside glass keeps the standard look.** A small glass control inside a panel is not drawn a second time.
* **It needs WebGL 2.** Browsers that can't run it keep the standard Liquid Glass, and if anything goes wrong while it is running it switches itself off and the standard glass comes back.
* **Product cards and FAQ rows are drawn once over a plain or Live Gradient background.** The real background shows through their tint and edge light, which keeps long grids smooth. Over a background photo or video they bend it live, like the rest.
* **It draws every frame,** so it uses more of the device's graphics power than the standard glass. Check your store on a mid-range phone before you turn it on for everyone.

{% hint style="info" %}
To compare with the standard glass on any page, add `?glass=classic` to the URL.
{% endhint %}

The settings below appear when **Real refraction** is on.

### Panel tint

Range 0–95%, default 40% (a fresh install is set to 45%). The least tint behind the text on the surfaces people read on: the cart, quick add, product panel, menus and popups. It only has an effect when it is higher than **Glass tint**. Use it when you want clear bars and pills but still need panels you can read: set Glass tint low and Panel tint higher. The edges of a panel stay a little clearer than its middle.

### Frost

Range 0–20px, default 4px (a fresh install is set to 5px). How soft things look behind the glass. 0 is crystal clear. Panels always use at least 10px unless Frost is 0, so a photo behind a block of text turns into soft color.

### Keep text readable

On by default. Switches the text and buttons on a piece of glass between light and dark when what is behind it gets too bright or too dark, and thickens the tint behind panel text only as much as it needs to. With the Drift and Bloom [Live Gradient](https://docs.webexp.dev/drift-shopify-theme/drift-studio/theme-settings/background.md#live-gradient) styles, the product name and price in the feed also follow the background under them. Turn it off only if you want the glass and text colors to stay exactly as the color mode sets them.

### Edge light follows tilt and cursor

Off by default. Shown when **Real refraction** is on. The light along the glass edges moves as a phone is tilted, and turns toward the cursor on a computer. However the phone is held becomes its resting position.

iPhones and iPads ask the shopper for permission to use the motion sensor, on their first tap. If they say no, they are not asked again. Product cards keep the standard light, and shoppers who have reduced motion turned on are not affected.

### Color schemes

Color schemes are required by Shopify but **do not affect DRIFT's appearance**. DRIFT uses its own light/dark mode system (driven by the Default color mode setting above) rather than Shopify's color scheme system.

You can leave the color scheme defaults as they are — they have no visible effect on the storefront.

{% hint style="info" %}
DRIFT renders solid backgrounds in each mode (`#FAFAFA` in light, `#0A0A0A` in dark) by default. To replace these with media, use the [DRIFT — Background](https://docs.webexp.dev/drift-shopify-theme/drift-studio/theme-settings/background.md) settings.
{% endhint %}
