Byte Digital Themes

Buttons & style

Primary button colour, padding, border, plus per-component radius and shadow.

Updated 2026-05-09

Theme settings → Buttons and Style.

Button settings

SettingUsed for
Padding (Y / X)Vertical and horizontal padding for primary buttons
Border widthOutline thickness (1px default, set 0 for fill-only style)

Button colours now come from the active color scheme, not standalone settings — see Colors & presets.

  • .btn.btn--primary → scheme button_background + button_label
  • .btn.btn--secondary → scheme background fill + secondary_button_label
  • .btn.btn--link → scheme link colour, underline

Sections with button blocks expose this as a Button style select. Switch the section's color_scheme to recolour every button inside it.

Border radius

Eight independent radius tokens (Theme settings → Style → Radius):

TokenUsed for
radius_buttonButtons (primary, secondary), input chips
radius_inputForm inputs, <select> dropdowns, search, contact form, qty stepper
radius_badgeSale / New / custom badges
radius_cardProduct cards
radius_collection_cardCollection cards (collection-list / list-collections)
radius_blog_cardBlog cards (Journal section)
radius_imageImage blocks (hero, content image with text)
radius_drawerCart drawer top corners, quick view modal, dropdown panels, mega menu

Each takes a px value. 0 = sharp corners (the default for the editorial preset). Try 4–8px for a softer look or 999px on radius_button for fully rounded pills.

Shadows

TokenUsed for
shadow_cardDefault card elevation
shadow_card_hoverCard elevation while hovered (only kicks in when Lift cards on hover is on)
shadow_drawerCart drawer, quick view, dropdown panels

Each token has 4 levels: none / soft / medium / strong.

soft = 0 8px 24px rgba(0,0,0,0.06) — barely visible elevation. strong = 0 20px 48px rgba(0,0,0,0.16) — clearly floating.

Card styling — per card type

Three independent card-style settings. Each controls a different surface:

SettingControls
card_styleProduct cards
collection_card_styleCollection cards (collection-list / list-collections)
blog_card_styleBlog cards (Journal section)

Each takes the same options:

  • Flat — no shadow, no border (default editorial)
  • Bordered — 1px divider border
  • Shadowed — uses shadow_card

Each also has its own text-align setting:

  • card_text_align
  • collection_card_text_align
  • blog_card_text_align

These emit body classes you can target in custom CSS: style-card--<value>, style-collection-card--<value>, style-blog-card--<value> (plus the matching style-card-align--* classes).

Hover lift

Theme settings → Style → Lift cards on hover (shadow_hover_enabled). When on:

  • Body gets the class style-shadow-hover
  • Product / collection / blog cards animate from --shadow-card--shadow-card-hover on hover

Turn on if your card style is Flat and you want a hover affordance without permanently weighting the design.

Form inputs

Theme settings → Form inputs → Style (input_style). One global setting that applies to every input site-wide (contact form, newsletter, search, account / address forms, qty steppers).

OptionLook
Underline (default)Single bottom border, transparent fill — editorial / minimal
Bordered1px outline on all sides, transparent fill
FilledSolid background, no border
Filled pillSolid background, fully rounded corners

The chosen variant emits style-input--<variant> on <body>, so you can scope custom CSS to a specific input style.

Need a hand? Contact support.