Amondo Docs

Amondo exposes a wide range of CSS custom properties via the SDK, giving you full control over how Imprints look and feel within your digital environment. You can override layout, colours, typography and styling for specific components using your own stylesheet, all without modifying the SDK itself.

Use this guide to understand which variables are available and how to apply them.

How to use

To customise an Imprint:

  1. Add the desired CSS variables to your global stylesheet or inline styles.
  2. Apply them to the container wrapping the Amondo Imprint embed.
  3. Variables will automatically be applied by the SDK.
/* Example */
:root .amondo-sdk-container {
  --amo-font-size-base: 18px;
  --amo-carousel-arrow-background-color: #ffffff;
}

To customise multiple SDK on the page independently, use custom class .amondo-sdk-container-${imprintId}

:root .amondo-sdk-container-1a6baa8f-f78b-4429-a8c3-470b5a98d153 {
  --amo-font-size-base: 18px;
  --amo-carousel-arrow-background-color: #ffffff;
}

:root .amondo-sdk-container-bc719aca-88a9-4b41-8185-dc713f2ebf93 {
  --amo-font-size-base: 24px;
  --amo-carousel-arrow-background-color: #000000;
}

Base variables

VariableDefaultDescription
--amo-font-size-base16pxBase font size
--amo-mobile-popup-gradient-colorvar(--amo-color-black)Gradient background colour for mobile popups
--amo-primary-roundness12px
--amo-secondary-roundness8px
--amo-color-buttonvar(--amo-color-white)
--amo-color-button-textvar(--amo-color-black)
--amo-color-button-iconvar(--amo-color-button-text)

Imprint formats

Layout

VariableDefaultDescription
--amo-grid-spacing-desktopvar(--amo-grid-gap-desktop)Grid spacing on desktop
--amo-grid-spacing-mobilevar(--amo-grid-gap-mobile)Grid spacing on mobile
VariableDefaultDescription
--amo-carousel-arrow-border-radius50%Border radius of arrows
--amo-carousel-arrow-background-colortransparentBackground colour of arrows
--amo-carousel-progress-active-colorvar(--amo-color-accent, --amo-color-blue)Progress indicator (active)
--amo-carousel-max-width1200pxMax width of carousel
--amo-carousel-arrow-border-colorno default value
--amo-carousel-arrow-colorno default value
--amo-carousel-progress-inactive-colorno default value

Stories

VariableDefaultDescription
--amo-story-inner-ring-colorvar(--amo-color-white)Inner ring colour
--amo-story-outer-ring-colorvar(--amo-color-accent)Outer ring colour
--amo-story-border-radius50%Shape of story items
--amo-story-background-colorvar(--amo-color-accent)Background colour
--amo-story-size-mobile60pxSize on mobile
--amo-story-size-desktop90pxSize on desktop
--amo-story-spacing16pxSpacing between stories
--amo-story-title-fontvar(--amo-system-font, 'Inter, sans-serif')Font for story titles
--amo-story-title-colorvar(--amo-color-black)Colour of story titles
--amo-story-title-size0.75emSize of story titles
VariableDefaultDescription
--amo-pagination-bar-backgroundvar(--amo-color-system-background)
--amo-pagination-bar-border-radiusvar(--amo-secondary-roundness)
--amo-pagination-bar-fontvar(--amo-system-font, 'Inter, sans-serif')
--amo-pagination-bar-button-border-radiusvar(--amo-secondary-roundness)
--amo-pagination-bar-button-backgroundvar(--amo-color-system-background)
--amo-pagination-bar-button-text-hover-colorunset
--amo-pagination-bar-button-text-colorvar(--amo-color-details-text-secondary)
--amo-pagination-bar-selected-page-button-background-colorvar(--amo-color-accent)
--amo-pagination-bar-selected-page-button-text-colorvar(--amo-color-tile-text-primary)
--amo-pagination-scroll-top-offset200px

Tiles

General

VariableDefaultDescription
--amo-tile-border-radiusvar(--amo-primary-roundness)Tile shape
--amo-tile-background-colorvar(--amo-color-accent)Background colour
--amo-mobile-author-colorvar(--amo-color-white)Author text colour on mobile

Frame

VariableDefaultDescription
--amo-frame-background-colorvar(--amo-color-black)Frame background
--amo-frame-fontInter, sans-serifDefault font
--amo-frame-arrow-background-colorrgba(255, 255, 255, 0.1)Arrow background (default)
--amo-frame-arrow-active-background-colorrgba(255, 255, 255, 0.2)Arrow background (active)
--amo-frame-arrow-border-colorrgba(255, 255, 255, 0.1)Border colour
--amo-frame-arrow-border-radius50%Shape of arrows
--amo-frame-avatar-border-radius50%Avatar shape
--amo-frame-button-border-radiusvar(--amo-secondary-roundness)Button shape
--amo-frame-button-fontInter, sans-serifButton font
--amo-frame-button-colorvar(--amo-color-button-text)Button text
--amo-frame-button-background-colorvar(--amo-color-button)Button background
--amo-frame-icon-colorvar(--amo-color-white)Icon colour
--amo-frame-mobile-padding100pxBottom padding for the mobile frame

Frame details

VariableDefaultDescription
--amo-frame-details-background-colorvar(--amo-color-system-background)Base details background
--amo-frame-details-background-color-mediavar(--amo-frame-details-background-color)Media tile
--amo-frame-details-background-color-textvar(--amo-frame-details-background-color)Text tile
--amo-frame-details-background-color-submissionvar(--amo-frame-details-background-color)Submission tile
--amo-frame-details-background-color-tiktokvar(--amo-frame-details-background-color)TikTok tile
--amo-frame-details-background-color-articlevar(--amo-frame-details-background-color)Article tile
--amo-frame-details-background-color-quizvar(--amo-frame-details-background-color)Quiz tile
--amo-frame-details-background-color-pollvar(--amo-frame-details-background-color)Poll tile
--amo-frame-details-background-color-spotifyvar(--amo-frame-details-background-color)Spotify tile
--amo-frame-details-background-color-youtubevar(--amo-frame-details-background-color)YouTube tile
--amo-frame-details-background-color-clickthroughvar(--amo-frame-details-background-color)Clickthrough tile

Media tile

VariableDefaultDescription
--amo-media-tile-text-fontInter, sans-serifFont
--amo-media-tile-text-colorvar(--amo-color-white-80)Text colour

Text tile

VariableDefaultDescription
--amo-text-tile-text-colorvar(--amo-color-tile-text-primary)Text colour
--amo-text-tile-text-fontInter, sans-serifText font

Quiz tile

VariableDefaultDescription
--amo-quiz-tile-title-fontInter, sans-serifTitle font
--amo-quiz-tile-title-colorvar(--amo-color-white)Title colour
--amo-quiz-tile-title-with-background-title-colorvar(--amo-color-black)Title on coloured background
--amo-quiz-tile-title-with-background-background-colorvar(--amo-color-white)Background colour for quiz titles
--amo-quiz-tile-title-font-size-mobile1emTitle font size on mobile
--amo-quiz-tile-title-font-size-desktop1.5emTitle font size on desktop
--amo-quiz-tile-title-font-weight700Title font weight
--amo-quiz-tile-title-padding-mobile4pxTitle padding on mobile
--amo-quiz-tile-title-padding-desktop8pxTitle padding on desktop
--amo-quiz-tile-button-font-size-mobile0.75emButton font size on mobile
--amo-quiz-tile-button-font-size-desktop1emButton font size on desktop
--amo-quiz-tile-button-padding-mobile2px 12pxButton padding on mobile
--amo-quiz-tile-button-padding-desktop8px 16pxButton padding on desktop

Quiz leaderboard

VariableDefaultDescription
--amo-leaderboard-progress-colorvar(--amo-color-accent)Progress bar colour
--amo-leaderboard-progress-height16pxProgress bar height
--amo-leaderboard-progress-radius16pxProgress bar roundness
--amo-leaderboard-tooltip-colorvar(--amo-color-accent)Tooltip colour
--amo-leaderboard-tooltip-padding6px 12pxTooltip padding
--amo-leaderboard-tooltip-font-size16pxTooltip font size
--amo-leaderboard-progress-background-opacity20%Background opacity
--amo-leaderboard-tooltip-textvar(--amo-color-tile-text-primary)Tooltip text colour
--amo-leaderboard-tooltip-radius8pxTooltip roundness
--amo-leaderboard-tooltip-fontvar(--amo-system-font)Tooltip font

Poll tile

VariableDefaultDescription
--amo-poll-title-colorvar(--amo-color-white)Title colour
--amo-poll-label-colorvar(--amo-color-white-80)Label colour
--amo-poll-description-colorvar(--amo-color-white-80)Description colour

Poll options

VariableDefaultDescription
--amo-poll-option-radius12pxOption shape
--amo-poll-option-text-titlevar(--amo-color-black)Option title text
--amo-poll-option-text-descriptionvar(--amo-color-black)Option description text
--amo-poll-option-text-primaryvar(--amo-color-blue-600)Primary option text
--amo-poll-option-bg-voted-forvar(--amo-color-blue-100)Background when selected
--amo-poll-option-bg-not-voted-forvar(--amo-color-zinc-200)Background when not selected
--amo-poll-option-bordervar(--amo-color-blue-600)Option border colour
--amo-poll-option-backgroundvar(--amo-color-white)Background colour
--amo-poll-option-confirm-button-bgvar(--amo-color-blue-600)Confirm button background
--amo-poll-option-confirm-button-textvar(--amo-color-white)Confirm button text colour
--amo-poll-option-cancel-button-textvar(--amo-color-black)Cancel button text colour
--amo-poll-option-cancel-primary-button-bg#e4e4e7Cancel primary button bg
--amo-poll-option-cancel-secondary-button-bg#a1a1aaCancel secondary button bg