Pando Exchange Docs Build your marketplace
On this page

Customise

Designs

Trader and Gallery, each light and dark - what each is for, and how to switch.

Two designs#

A Cloudflare marketplace carries two designs, each a folder under themes/. Your site uses one, chosen in the builder or with design in your settings.

Design Folder What it is for
Trader themes/trader/ The default. Prices and venues first: collection pages open as a dense table, one NFT to a row, with charts and activity above, for people who compare prices
Gallery themes/gallery/ The art first. On an Ethereum site collection pages open as a grid of large tiles that show each image whole, on warm paper with more space and larger names

Gallery has the same pages, features and words as Trader. Every price, fee line, venue label, warning and review that Trader shows is in Gallery too, readable in full in light and dark at widths from 320 to 1,920 pixels; a test checks this at eight widths. Gallery's cards are about 330 px tall, so a phone shows one complete card above the bottom bar.

Light and dark#

Each design has a light and a dark scheme in its tokens.css. theme in your settings chooses which a first-time visitor sees; the header's switch lets a visitor change it, and their choice is kept in their browser.

Rows or cards#

Collection pages show NFTs as rows or as cards. The design chooses which a visitor sees first (defaultView in theme.json: Trader "rows"). A visitor who presses Rows or Cards keeps their own choice.

Ink#

An Ink site's page has its own layout in either design. It takes the chosen design's colours and type, not its grid or its stylesheets.

Switching#

Choose the other design in the builder and store the new settings code at /setup, with the unlock code: see Changing settings later. On a site set up by hand, set MARKET_DESIGN to gallery and deploy again; for Trader, the default, unset it.

text
MARKET_DESIGN=gallery

Switching changes nothing in either folder. Your edits to themes/trader/ stay there while your site uses Gallery, and are back when you switch again. A change you want in both, such as your logo or a rule in custom.css, goes in both folders.

Next#

Pando Exchange is software published by Simple Things Ltd. Each marketplace made with it is run by its operator, in the operator's own account.