[{"data":1,"prerenderedAt":1612},["ShallowReactive",2],{"knowledge-routes":3,"en:footer-pages":643,"en:\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fliquid-smart-contrast":656,"en:\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fliquid-smart-contrast:navigation":1582,"en:related:\u002Fshopify\u002Fthemes\u002Fhorizon\u002Flayout-thrashing,\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fcomponent-base":1586,"en:graph:\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fliquid-smart-contrast":1591},{"en":4,"zh":32},[5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],"\u002Fshopify\u002Fshopify-app-boundaries","\u002Fshopify\u002Fshopify-app-distribution","\u002Fshopify\u002Fshopify-app-environment-strategy","\u002Fshopify\u002Fshopify-app-review-access","\u002Fshopify\u002Fshopify-app-usage-billing","\u002Fshopify\u002Fshopify-multiple-apps-shared-backend","\u002Fshopify\u002Fshopify-oauth-redirect-callback","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fadd-to-cart-race","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fcomponent-base","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fkeyed-hydration","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Flayout-thrashing","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fliquid-smart-contrast","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fsection-rendering-morph","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fview-transitions","\u002Fshopify\u002Ftopics\u002Fapps-integrations","\u002Fdomains\u002Facquisition-marketing","\u002Fdomains\u002Fcustomer-service","\u002Fdomains\u002Fdata-analytics","\u002Fdomains\u002Ffinance-compliance","\u002Fdomains\u002Ffulfillment-logistics","\u002Fdomains\u002Fpayments","\u002Fdomains\u002Fplatform-development","\u002Fdomains\u002Fproduct-pricing","\u002Fdomains\u002Fretention","\u002Fdomains\u002Fstorefront-experience","\u002Fjourney\u002Fconvert","\u002Ffunnel\u002Fintent",[33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,5,6,7,8,9,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,10,328,329,11,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,12,387,388,389,390,391,13,392,393,394,14,395,15,16,396,397,398,399,400,401,402,17,403,404,405,18,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,19,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,20,21,22,23,24,25,26,27,28,29,632,633,30,634,635,636,637,638,639,640,31,641,642],"\u002Fcommerce\u002Faccessibility-compliance-baseline","\u002Fcommerce\u002Fad-creative-testing","\u002Fcommerce\u002Fapi-authentication","\u002Fcommerce\u002Fapp-distribution-models","\u002Fcommerce\u002Fassortment-planning","\u002Fcommerce\u002Fattribution-basics","\u002Fcommerce\u002Faudiences-remarketing","\u002Fcommerce\u002Fcampaign-formats","\u002Fcommerce\u002Fcheckout-design","\u002Fcommerce\u002Fcheckout-funnel","\u002Fcommerce\u002Fclearance-sales","\u002Fcommerce\u002Fcohort-analysis","\u002Fcommerce\u002Fconsent-and-advertising","\u002Fcommerce\u002Fconsumer-protection-basics","\u002Fcommerce\u002Fcontent-acquisition","\u002Fcommerce\u002Fcontent-localization","\u002Fcommerce\u002Fcontent-repurposing","\u002Fcommerce\u002Fcross-border-basics","\u002Fcommerce\u002Fcustom-data-modeling","\u002Fcommerce\u002Fcustomer-account-access","\u002Fcommerce\u002Fcustomer-data-platform","\u002Fcommerce\u002Fcustomer-demand-validation","\u002Fcommerce\u002Fcustomer-feedback-analysis","\u002Fcommerce\u002Fcustomer-journey-models","\u002Fcommerce\u002Fcustomer-lifecycle-segmentation","\u002Fcommerce\u002Fcustomer-support-channels","\u002Fcommerce\u002Fdata-collection","\u002Fcommerce\u002Fdata-quality","\u002Fcommerce\u002Fdelivery-promise","\u002Fcommerce\u002Fdomain-dns-tls","\u002Fcommerce\u002Fdtc-customer-journey","\u002Fcommerce\u002Femail-sms-marketing","\u002Fcommerce\u002Fenvironments-permissions","\u002Fcommerce\u002Fevent-tracking-plan","\u002Fcommerce\u002Fexperimentation","\u002Fcommerce\u002Fflash-sales","\u002Fcommerce\u002Ffulfillment-delivery","\u002Fcommerce\u002Fgift-with-purchase-bundles","\u002Fcommerce\u002Fgiveaways-contests","\u002Fcommerce\u002Fheadless-commerce","\u002Fcommerce\u002Fidentity-resolution","\u002Fcommerce\u002Finfluencer-collaborations","\u002Fcommerce\u002Finventory-accuracy","\u002Fcommerce\u002Finventory-basics","\u002Fcommerce\u002Finventory-replenishment","\u002Fcommerce\u002Fjourney-stage-alignment","\u002Fcommerce\u002Floyalty-programs","\u002Fcommerce\u002Fmarketing-budget-pacing","\u002Fcommerce\u002Fmarketing-campaign-review","\u002Fcommerce\u002Fmarketing-contact-frequency","\u002Fcommerce\u002Fmarketing-funnel","\u002Fcommerce\u002Fmedia-asset-management","\u002Fcommerce\u002Fmetric-definitions","\u002Fcommerce\u002Forder-event-ad-spend-grain","\u002Fcommerce\u002Forder-unit-economics","\u002Fcommerce\u002Fpaid-acquisition-signals","\u002Fcommerce\u002Fpartial-page-updates","\u002Fcommerce\u002Fpayment-methods","\u002Fcommerce\u002Fpayments-chargebacks","\u002Fcommerce\u002Fpeak-season-campaigns","\u002Fcommerce\u002Fplatform-extension-points","\u002Fcommerce\u002Fpost-purchase-education","\u002Fcommerce\u002Fpre-orders","\u002Fcommerce\u002Fpricing-discounts","\u002Fcommerce\u002Fprivacy-consent-basics","\u002Fcommerce\u002Fproduct-information","\u002Fcommerce\u002Fproduct-launches-drops","\u002Fcommerce\u002Fproduct-search-visibility","\u002Fcommerce\u002Freferral-programs","\u002Fcommerce\u002Frepeat-purchase-retention","\u002Fcommerce\u002Freturns-refunds","\u002Fcommerce\u002Freverse-logistics","\u002Fcommerce\u002Freview-collection","\u002Fcommerce\u002Fsales-channel-publishing","\u002Fcommerce\u002Fsales-tax-vat-basics","\u002Fcommerce\u002Fshipping-rates-strategy","\u002Fcommerce\u002Fstaff-access-control","\u002Fcommerce\u002Fstorefront-component-lifecycle","\u002Fcommerce\u002Fstorefront-design-tokens","\u002Fcommerce\u002Fstorefront-release-validation","\u002Fcommerce\u002Fstorefront-rendering-performance","\u002Fcommerce\u002Fsubscription-commerce","\u002Fcommerce\u002Fthreshold-promotions","\u002Fcommerce\u002Ftransactional-notifications","\u002Fcommerce\u002Furl-redirects","\u002Fcommerce\u002Fusage-based-billing","\u002Fcommerce\u002Fwebhooks","\u002Fcommerce\u002Fwin-back","\u002Fcontent-types\u002Fbrand-story","\u002Fcontent-types\u002Fbrand-values","\u002Fcontent-types\u002Fcore-message","\u002Fcontent-types\u002Fcustomer-reviews","\u002Fcontent-types\u002Fcustomer-testimonials","\u002Fcontent-types\u002Femail-signup","\u002Fcontent-types\u002Ffaq","\u002Fcontent-types\u002Ffeatured-products","\u002Fcontent-types\u002Fguarantee","\u002Fcontent-types\u002Floyalty-rewards","\u002Fcontent-types\u002Fmedia-coverage","\u002Fcontent-types\u002Fpackage-contents","\u002Fcontent-types\u002Fpayment-options","\u002Fcontent-types\u002Fproduct-categories","\u002Fcontent-types\u002Fproduct-overview","\u002Fcontent-types\u002Fproduct-showcase","\u002Fcontent-types\u002Fproduct-specifications","\u002Fcontent-types\u002Fproduct-video","\u002Fcontent-types\u002Fpromotions","\u002Fcontent-types\u002Fproof-metrics","\u002Fcontent-types\u002Frelated-products","\u002Fcontent-types\u002Fresources","\u002Fcontent-types\u002Fshipping-delivery-info","\u002Fcontent-types\u002Fsocial-follow","\u002Fcontent-types\u002Fsupport-contact","\u002Fcontent-types\u002Fthird-party-reviews","\u002Fcontent-types\u002Ftrust-marks","\u002Fcontent-types\u002Ftypes","\u002Fcontent-types\u002Fuser-generated-content","\u002Felevar\u002Fshopify-delivery-chain","\u002Fgoogle-ads\u002Fdynamic-remarketing-feed","\u002Fgoogle-ads\u002Fenhanced-conversions-boundaries","\u002Fgoogle-ads\u002Ftransaction-id-and-reconciliation","\u002Fgoogle-analytics\u002Fcustom-dimensions-and-reconciliation","\u002Fgoogle-analytics\u002Fecommerce-event-mapping","\u002Fgoogle-analytics\u002Fmeasurement-protocol","\u002Fgoogle-analytics\u002Fpage-view-and-spa","\u002Fgoogle-analytics\u002Fproperty-stream-debugging","\u002Fgoogle-merchant-center\u002Fgoogle-ads-linking","\u002Fgoogle-merchant-center\u002Fproduct-feed-review","\u002Fgoogle-tag-manager\u002Fconsent-trigger-troubleshooting","\u002Fgoogle-tag-manager\u002Fcontainers-and-publishing","\u002Fgoogle-tag-manager\u002Fdata-layer-events","\u002Fgoogle-tag-manager\u002Ftag-stack","\u002Fgorgias\u002Fmacros-automation","\u002Fgorgias\u002Ftickets-orders","\u002Fjudge-me\u002Freview-request-scheduling","\u002Fjudge-me\u002Freview-widget-verification","\u002Fklaviyo\u002Fdelivery-unsubscribe-troubleshooting","\u002Fklaviyo\u002Fflow-triggers-and-filters","\u002Fklaviyo\u002Fsubscription-consent-sources","\u002Fmeta-ads\u002Fcustomer-audience-sync","\u002Fmeta-ads\u002Fpixel-capi-event-mapping","\u002Fmeta-ads\u002Fpurchase-event-duplicates","\u002Fmodules\u002Favailability-notification","\u002Fmodules\u002Fbuy-box","\u002Fmodules\u002Fcart-summary","\u002Fmodules\u002Fcollection-browse-filter","\u002Fmodules\u002Fcookie-consent","\u002Fmodules\u002Fcross-sell-upsell","\u002Fmodules\u002Ffit-guidance","\u002Fmodules\u002Fpage-composition","\u002Fmodules\u002Fpatterns","\u002Fmodules\u002Fproduct-selection","\u002Fmodules\u002Fproduct-support-navigation","\u002Fmodules\u002Fpromotion-redemption","\u002Fmodules\u002Freview-display","\u002Fmodules\u002Fsignup-capture","\u002Fmodules\u002Fsite-search","\u002Fmodules\u002Fsocial-proof-strip","\u002Fmodules\u002Fsubscription-terms-summary","\u002Fmodules\u002Fvariant-media-gallery","\u002Fpaypal\u002Fcheckout-disputes","\u002Fpaypal\u002Frefund-not-received","\u002Fpaypal\u002Fsettlement-reconciliation","\u002Fpresentation\u002Faccordion","\u002Fpresentation\u002Fbadge","\u002Fpresentation\u002Fbanner","\u002Fpresentation\u002Fbefore-after","\u002Fpresentation\u002Fcallout","\u002Fpresentation\u002Fcards","\u002Fpresentation\u002Fcarousel","\u002Fpresentation\u002Fcomparison","\u002Fpresentation\u002Fcountdown-timer","\u002Fpresentation\u002Fdrawer","\u002Fpresentation\u002Fempty-state","\u002Fpresentation\u002Fgrid","\u002Fpresentation\u002Fhero","\u002Fpresentation\u002Fhotspot","\u002Fpresentation\u002Finline-form","\u002Fpresentation\u002Flist","\u002Fpresentation\u002Fmarquee","\u002Fpresentation\u002Fmasonry","\u002Fpresentation\u002Fmedia-gallery","\u002Fpresentation\u002Fmodal","\u002Fpresentation\u002Fnavigation-menu","\u002Fpresentation\u002Foverlay","\u002Fpresentation\u002Fpagination","\u002Fpresentation\u002Fpatterns","\u002Fpresentation\u002Fpopover","\u002Fpresentation\u002Fprogress-bar","\u002Fpresentation\u002Frating-stars","\u002Fpresentation\u002Fscroll-reveal","\u002Fpresentation\u002Fsingle-column","\u002Fpresentation\u002Fskeleton-loader","\u002Fpresentation\u002Fsplit","\u002Fpresentation\u002Fstepper","\u002Fpresentation\u002Fsticky-bar","\u002Fpresentation\u002Fswatch","\u002Fpresentation\u002Ftable","\u002Fpresentation\u002Ftabs","\u002Fpresentation\u002Ftimeline","\u002Fpresentation\u002Ftoast","\u002Fregulations\u002Fca-casl","\u002Fregulations\u002Fca-pipeda-consent","\u002Fregulations\u002Feu-accessibility-act","\u002Fregulations\u002Feu-consumer-rights","\u002Fregulations\u002Feu-gdpr-eprivacy-consent","\u002Fregulations\u002Feu-price-reduction-indication","\u002Fregulations\u002Feu-psd2-sca","\u002Fregulations\u002Feu-ucpd-reviews-ranking","\u002Fregulations\u002Feu-vat-oss-ioss","\u002Fregulations\u002Fuk-consumer-contracts","\u002Fregulations\u002Fuk-consumer-rights","\u002Fregulations\u002Fuk-dmcc-reviews-pricing","\u002Fregulations\u002Fuk-gdpr-pecr-consent","\u002Fregulations\u002Fuk-vat-overseas-sellers","\u002Fregulations\u002Fus-can-spam","\u002Fregulations\u002Fus-consumer-reviews-testimonials","\u002Fregulations\u002Fus-endorsement-guides","\u002Fregulations\u002Fus-mail-order-rule","\u002Fregulations\u002Fus-tcpa-text-consent","\u002Fshopify\u002Farticle","\u002Fshopify\u002Farticle\u002Fbuying-guide-article","\u002Fshopify\u002Farticle\u002Fhow-to-article","\u002Fshopify\u002Fblog","\u002Fshopify\u002Fcart","\u002Fshopify\u002Fcollection","\u002Fshopify\u002Fcollection\u002Fcampaign-collection-page","\u002Fshopify\u002Fcollection\u002Fcategory-collection-page","\u002Fshopify\u002Fdawn-vs-horizon","\u002Fshopify\u002Fdiscount-troubleshooting","\u002Fshopify\u002Femail-platform-comparison","\u002Fshopify\u002Fhomepage","\u002Fshopify\u002Finventory-mismatch","\u002Fshopify\u002Flist-collections","\u002Fshopify\u002Forder-analytics-reconciliation","\u002Fshopify\u002Fpage","\u002Fshopify\u002Fpage\u002Fabout-us","\u002Fshopify\u002Fpage\u002Fbrand-story","\u002Fshopify\u002Fpage\u002Fcampaign-landing","\u002Fshopify\u002Fpage\u002Fcontact-us","\u002Fshopify\u002Fpage\u002Ffaq","\u002Fshopify\u002Fpage\u002Fgiveaway","\u002Fshopify\u002Fpage\u002Floyalty-program","\u002Fshopify\u002Fpage\u002Forder-tracking","\u002Fshopify\u002Fpage\u002Fpolicies","\u002Fshopify\u002Fpage\u002Fpress","\u002Fshopify\u002Fpage\u002Freviews","\u002Fshopify\u002Fpage\u002Fshipping-returns","\u002Fshopify\u002Fpage\u002Fsize-guide","\u002Fshopify\u002Fpage\u002Fstore-locator","\u002Fshopify\u002Fpayment-gateway-comparison","\u002Fshopify\u002Fpreorder-delay-troubleshooting","\u002Fshopify\u002Fproduct","\u002Fshopify\u002Fproduct\u002Ffit-sensitive-product-page","\u002Fshopify\u002Fproduct\u002Fpreorder-subscription-page","\u002Fshopify\u002Fproduct\u002Fproduct-drop-page","\u002Fshopify\u002Fproduct\u002Fstandard-product-page","\u002Fshopify\u002Freview-options-comparison","\u002Fshopify\u002Fsearch","\u002Fshopify\u002Fshipping-rate-troubleshooting","\u002Fshopify\u002Fshopify-admin-api-graphql","\u002Fshopify\u002Fshopify-admin-map","\u002Fshopify\u002Fshopify-amount-check","\u002Fshopify\u002Fshopify-analytics-reports","\u002Fshopify\u002Fshopify-b2b","\u002Fshopify\u002Fshopify-bundles","\u002Fshopify\u002Fshopify-checkout-customization","\u002Fshopify\u002Fshopify-collections-publishing","\u002Fshopify\u002Fshopify-custom-data","\u002Fshopify\u002Fshopify-customer-accounts","\u002Fshopify\u002Fshopify-customer-privacy","\u002Fshopify\u002Fshopify-customer-segments","\u002Fshopify\u002Fshopify-discounts","\u002Fshopify\u002Fshopify-domains-dns","\u002Fshopify\u002Fshopify-ecosystem","\u002Fshopify\u002Fshopify-ecosystem-analysis","\u002Fshopify\u002Fshopify-entry-map","\u002Fshopify\u002Fshopify-file-sync-diff","\u002Fshopify\u002Fshopify-files-media","\u002Fshopify\u002Fshopify-flow","\u002Fshopify\u002Fshopify-follow-on-shop","\u002Fshopify\u002Fshopify-fraud-disputes","\u002Fshopify\u002Fshopify-fulfillment-delivery","\u002Fshopify\u002Fshopify-functions-extensions","\u002Fshopify\u002Fshopify-gift-cards","\u002Fshopify\u002Fshopify-headless","\u002Fshopify\u002Fshopify-identities-permissions","\u002Fshopify\u002Fshopify-inventory-locations","\u002Fshopify\u002Fshopify-knowledge-base-method","\u002Fshopify\u002Fshopify-knowledge-source-inventory","\u002Fshopify\u002Fshopify-local-delivery-pickup","\u002Fshopify\u002Fshopify-marketing-channels","\u002Fshopify\u002Fshopify-marketing-messaging","\u002Fshopify\u002Fshopify-markets-shipping","\u002Fshopify\u002Fshopify-multi-currency-pricing","\u002Fshopify\u002Fshopify-navigation-menus","\u002Fshopify\u002Fshopify-notifications-emails","\u002Fshopify\u002Fshopify-online-store-preferences","\u002Fshopify\u002Fshopify-order-payment-status","\u002Fshopify\u002Fshopify-orders-management","\u002Fshopify\u002Fshopify-payments-checkout","\u002Fshopify\u002Fshopify-plans","\u002Fshopify\u002Fshopify-pos","\u002Fshopify\u002Fshopify-product-import-export","\u002Fshopify\u002Fshopify-products-variants","\u002Fshopify\u002Fshopify-purchase-journey","\u002Fshopify\u002Fshopify-purchase-validation","\u002Fshopify\u002Fshopify-returns-refunds","\u002Fshopify\u002Fshopify-sales-channels","\u002Fshopify\u002Fshopify-search-and-discovery","\u002Fshopify\u002Fshopify-selling-plans","\u002Fshopify\u002Fshopify-shipping-rates-labels","\u002Fshopify\u002Fshopify-storefront","\u002Fshopify\u002Fshopify-storefront-performance","\u002Fshopify\u002Fshopify-storefront-seo-framework","\u002Fshopify\u002Fshopify-tagging-options","\u002Fshopify\u002Fshopify-taxes-duties","\u002Fshopify\u002Fshopify-theme-management","\u002Fshopify\u002Fshopify-translation-localization","\u002Fshopify\u002Fshopify-url-redirects","\u002Fshopify\u002Fshopify-verification-priorities","\u002Fshopify\u002Fshopify-web-pixels","\u002Fshopify\u002Fshopify-webhooks-events","\u002Fshopify\u002Fsubscription-app-comparison","\u002Fshopify\u002Ftheme\u002Farchitecture","\u002Fshopify\u002Ftheme\u002Fcapability-modules","\u002Fshopify\u002Ftheme\u002Fcontent-architecture","\u002Fshopify\u002Ftheme\u002Fdecision-patterns-and-states","\u002Fshopify\u002Ftheme\u002Fdelivery-framework","\u002Fshopify\u002Ftheme\u002Fglobal-regions","\u002Fshopify\u002Ftheme\u002Flayout","\u002Fshopify\u002Ftheme\u002Flocales","\u002Fshopify\u002Ftheme\u002Fsettings","\u002Fshopify\u002Ftheme\u002Ftemplates","\u002Fshopify\u002Fthemes\u002Fdawn\u002Faccessibility-patterns","\u002Fshopify\u002Fthemes\u002Fdawn\u002Farchitecture","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fbuy-form-and-availability","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fcart-drawer-notification","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fcolor-schemes","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fcontent-sections-and-animations","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fcountdown-timer","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fcustom-elements-pubsub","\u002Fshopify\u002Fthemes\u002Fdawn\u002Ffacets-and-pagination","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fheader-navigation","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fhtml-update-utility","\u002Fshopify\u002Fthemes\u002Fdawn\u002Floading-performance","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fnewsletter-and-badges","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fpredictive-search","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fproduct-media","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fquantity-input","\u002Fshopify\u002Fthemes\u002Fdawn\u002Frecommendations","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fsection-rendering","\u002Fshopify\u002Fthemes\u002Fdawn\u002Ftheme-editor-events","\u002Fshopify\u002Fthemes\u002Fdawn\u002Fvariant-update-protocol","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Farchitecture","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fbadges-reviews-signup","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fbuying","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fcart","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fcollection-search","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fcontent-modules","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Ffacets-and-pagination","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fheader-navigation","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Flayout","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fmarquee-slideshow-animations","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fmedia-zoom-and-hotspots","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fpredictive-search","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fproduct-cards","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fproduct-page","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Freading-source","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Frecommendations","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fsticky-add-to-cart-and-availability","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fstyles","\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fvariants","\u002Fshopify\u002Fthemes\u002Fimpact\u002Fbehavior-components","\u002Fshopify\u002Fthemes\u002Fimpact\u002Fcart-events","\u002Fshopify\u002Fthemes\u002Fimpact\u002Fdialog-element","\u002Fshopify\u002Fthemes\u002Fimpact","\u002Fshopify\u002Fthemes\u002Fimpact\u002Flazy-media-player","\u002Fshopify\u002Fthemes\u002Fimpact\u002Fsection-spacing-collapsing","\u002Fshopify\u002Fthemes\u002Fimpact\u002Fvariant-picker-rerender","\u002Fshopify\u002Fthemes","\u002Fshopify\u002Fthemes\u002Fpattern-coverage","\u002Fshopify\u002Fwebhook-delivery-troubleshooting","\u002Ftasks\u002Fadd-product-custom-fields","\u002Ftasks\u002Fanalyse-a-repeat-purchase-cohort","\u002Ftasks\u002Fanalyze-customer-feedback","\u002Ftasks\u002Fanswer-order-status-inquiries","\u002Ftasks\u002Faudit-marketing-contact-pressure","\u002Ftasks\u002Fbuild-a-content-calendar","\u002Ftasks\u002Fcalculate-order-contribution","\u002Ftasks\u002Fcalculate-promotion-margin","\u002Ftasks\u002Fclean-up-a-marketing-list","\u002Ftasks\u002Fcollect-and-display-customer-reviews","\u002Ftasks\u002Fconfigure-sales-tax-or-vat","\u002Ftasks\u002Fconfigure-site-search-and-filters","\u002Ftasks\u002Fdefine-repeat-purchase-metrics","\u002Ftasks\u002Fdesign-loyalty-points-rules","\u002Ftasks\u002Fdiagnose-storefront-performance","\u002Ftasks\u002Fenable-and-test-a-payment-method","\u002Ftasks\u002Fevaluate-and-install-an-app","\u002Ftasks\u002Fhandle-a-delayed-order","\u002Ftasks\u002Fhandle-subscription-pause-and-cancellation","\u002Ftasks\u002Fintegrate-and-verify-a-webhook","\u002Ftasks\u002Flaunch-a-referral-program","\u002Ftasks\u002Fplan-a-discount-campaign","\u002Ftasks\u002Fplan-a-peak-season-campaign","\u002Ftasks\u002Fplan-a-product-assortment","\u002Ftasks\u002Fplan-a-win-back-campaign","\u002Ftasks\u002Fplan-an-ad-creative-test","\u002Ftasks\u002Fplan-inventory-replenishment","\u002Ftasks\u002Fplan-post-purchase-education","\u002Ftasks\u002Fprocess-a-refund","\u002Ftasks\u002Fprocess-returned-goods","\u002Ftasks\u002Fpublish-privacy-notice","\u002Ftasks\u002Freconcile-orders-and-analytics","\u002Ftasks\u002Frespond-to-a-chargeback","\u002Ftasks\u002Frespond-to-a-negative-review","\u002Ftasks\u002Freview-a-marketing-campaign","\u002Ftasks\u002Freview-creator-deliverables","\u002Ftasks\u002Freview-marketing-budget-pacing","\u002Ftasks\u002Freview-product-page-module-order","\u002Ftasks\u002Frun-a-cycle-count","\u002Ftasks\u002Frun-a-giveaway","\u002Ftasks\u002Frun-a-post-purchase-survey","\u002Ftasks\u002Frun-an-accessibility-baseline","\u002Ftasks\u002Fsend-back-in-stock-notifications","\u002Ftasks\u002Fseparate-development-environments","\u002Ftasks\u002Fset-shipping-rates","\u002Ftasks\u002Fset-up-a-pre-order","\u002Ftasks\u002Fset-up-a-welcome-flow","\u002Ftasks\u002Fset-up-conversion-tracking","\u002Ftasks\u002Fset-up-cookie-consent","\u002Ftasks\u002Fset-up-presales-support","\u002Ftasks\u002Ftag-campaign-links","\u002Ftasks\u002Ftest-a-purchase","\u002Ftasks\u002Fvalidate-a-customer-need","\u002Ftasks\u002Fvalidate-audience-sync","\u002Ftasks\u002Fwrite-a-creator-brief","\u002Ftasks\u002Fwrite-a-return-policy","\u002Ftasks\u002Fwrite-an-event-tracking-plan","\u002Ftasks\u002Fwrite-product-use-and-care-guide","\u002Fterms\u002Fabove-the-fold","\u002Fterms\u002Faccess-scope","\u002Fterms\u002Faccessible-rich-internet-applications","\u002Fterms\u002Famericans-with-disabilities-act","\u002Fterms\u002Fapi-versioning","\u002Fterms\u002Fattribution-model","\u002Fterms\u002Fattribution-window","\u002Fterms\u002Faverage-order-value","\u002Fterms\u002Faverage-resolution-time","\u002Fterms\u002Fbackorder","\u002Fterms\u002Fblack-friday-cyber-monday","\u002Fterms\u002Fbreak-even-point","\u002Fterms\u002Fbusiness-to-business","\u002Fterms\u002Fbusiness-to-consumer","\u002Fterms\u002Fbuy-now-pay-later","\u002Fterms\u002Fcall-to-action","\u002Fterms\u002Fcart-abandonment-rate","\u002Fterms\u002Fcash-flow","\u002Fterms\u002Fcash-on-delivery","\u002Fterms\u002Fchargeback","\u002Fterms\u002Fclick-through-rate","\u002Fterms\u002Fcohort","\u002Fterms\u002Fcontent-delivery-network","\u002Fterms\u002Fcontent-security-policy","\u002Fterms\u002Fcontribution-margin","\u002Fterms\u002Fconversion-rate","\u002Fterms\u002Fconversion-rate-optimization","\u002Fterms\u002Fcost-of-goods-sold","\u002Fterms\u002Fcost-per-action","\u002Fterms\u002Fcost-per-click","\u002Fterms\u002Fcost-per-mille","\u002Fterms\u002Fcross-selling","\u002Fterms\u002Fcumulative-layout-shift","\u002Fterms\u002Fcustomer-acquisition-cost","\u002Fterms\u002Fcustomer-churn-rate","\u002Fterms\u002Fcustomer-effort-score","\u002Fterms\u002Fcustomer-lifetime-value","\u002Fterms\u002Fcustomer-relationship-management","\u002Fterms\u002Fcustomer-retention-rate","\u002Fterms\u002Fcustomer-satisfaction-score","\u002Fterms\u002Fdays-of-supply","\u002Fterms\u002Fdelivered-at-place","\u002Fterms\u002Fdelivered-duty-paid","\u002Fterms\u002Fdirect-to-consumer","\u002Fterms\u002Fdomain-name-system-record","\u002Fterms\u002Femail-delivery-rate","\u002Fterms\u002Feuropean-accessibility-act","\u002Fterms\u002Fevent","\u002Fterms\u002Ffeature-flag","\u002Fterms\u002Ffirst-contact-resolution","\u002Fterms\u002Ffirst-response-time","\u002Fterms\u002Fgeneral-data-protection-regulation","\u002Fterms\u002Fglobal-trade-item-number","\u002Fterms\u002Fgross-margin","\u002Fterms\u002Fgross-merchandise-value","\u002Fterms\u002Fgross-profit","\u002Fterms\u002Fharmonized-system-code","\u002Fterms\u002Fhash-based-message-authentication-code","\u002Fterms\u002Fideal-customer-profile","\u002Fterms\u002Fidempotency-key","\u002Fterms\u002Fimport-one-stop-shop","\u002Fterms\u002Finteraction-to-next-paint","\u002Fterms\u002Finventory-record-accuracy","\u002Fterms\u002Flanded-cost","\u002Fterms\u002Flargest-contentful-paint","\u002Fterms\u002Flead-time","\u002Fterms\u002Fminimum-order-quantity","\u002Fterms\u002Fmonth-to-date","\u002Fterms\u002Fmonthly-recurring-revenue","\u002Fterms\u002Fnet-promoter-score","\u002Fterms\u002Fnet-sales","\u002Fterms\u002Foauth-2-authorization-framework","\u002Fterms\u002Fpayment-authorization","\u002Fterms\u002Fpayment-capture","\u002Fterms\u002Fpayment-settlement","\u002Fterms\u002Fpoint-of-sale","\u002Fterms\u002Fpre-order","\u002Fterms\u002Fproduct-bundle","\u002Fterms\u002Fproduct-detail-page","\u002Fterms\u002Fproduct-market-fit","\u002Fterms\u002Fproduct-variant","\u002Fterms\u002Frate-limiting","\u002Fterms\u002Freactivation-rate","\u002Fterms\u002Frecency-frequency-monetary","\u002Fterms\u002Frefund","\u002Fterms\u002Freorder-point","\u002Fterms\u002Frepeat-purchase-rate","\u002Fterms\u002Fresponsive-web-design","\u002Fterms\u002Freturn-on-ad-spend","\u002Fterms\u002Freturn-rate","\u002Fterms\u002Frevenue-per-session","\u002Fterms\u002Fsafety-stock","\u002Fterms\u002Fsearch-engine-marketing","\u002Fterms\u002Fsearch-engine-optimization","\u002Fterms\u002Fsell-through-rate","\u002Fterms\u002Fservice-level-agreement","\u002Fterms\u002Fsession","\u002Fterms\u002Fstaging-environment","\u002Fterms\u002Fstock-keeping-unit","\u002Fterms\u002Fstrong-customer-authentication","\u002Fterms\u002Fsubscription-churn-rate","\u002Fterms\u002Ftelevision-commercial","\u002Fterms\u002Fthird-party-logistics","\u002Fterms\u002Fthree-domain-secure","\u002Fterms\u002Fticket-backlog","\u002Fterms\u002Ftls-certificate","\u002Fterms\u002Funique-selling-proposition","\u002Fterms\u002Funsubscribe-rate","\u002Fterms\u002Fup-selling","\u002Fterms\u002Furchin-tracking-module","\u002Fterms\u002Fuser","\u002Fterms\u002Fuser-generated-content","\u002Fterms\u002Fvalue-added-tax","\u002Fterms\u002Fweb-content-accessibility-guidelines","\u002Fterms\u002Fwebhook","\u002Fwordpress\u002Ftemplates-and-content","\u002Fwordpress\u002Ftheme-json-and-patterns","\u002Fshopify\u002Ftopics\u002Fcustomers","\u002Fshopify\u002Ftopics\u002Fdata-automation","\u002Fshopify\u002Ftopics\u002Fecosystem","\u002Fshopify\u002Ftopics\u002Fofficial-themes","\u002Fshopify\u002Ftopics\u002Fpage-composition-patterns","\u002Fshopify\u002Ftopics\u002Fproducts-content","\u002Fshopify\u002Ftopics\u002Fstore-management","\u002Fshopify\u002Ftopics\u002Fstorefront","\u002Fshopify\u002Ftopics\u002Fstorefront-content-types","\u002Fshopify\u002Ftopics\u002Fstorefront-modules","\u002Fshopify\u002Ftopics\u002Fstorefront-pages","\u002Fshopify\u002Ftopics\u002Ftransactions","\u002Fcommerce\u002Fpaths\u002Fcampaign-planning","\u002Fcommerce\u002Fpaths\u002Fcampaign-tracking","\u002Fcommerce\u002Fpaths\u002Fcommerce-concepts","\u002Fcommerce\u002Fpaths\u002Fcommerce-terms-foundation","\u002Fcommerce\u002Fpaths\u002Fcompliance-baseline","\u002Fcommerce\u002Fpaths\u002Fconsent-and-tracking","\u002Fcommerce\u002Fpaths\u002Fcustomer-demand-validation","\u002Fcommerce\u002Fpaths\u002Fecommerce-tracking-implementation","\u002Fcommerce\u002Fpaths\u002Fmarketing-measurement","\u002Fcommerce\u002Fpaths\u002Forder-unit-economics","\u002Fcommerce\u002Fpaths\u002Fplatform-development-foundations","\u002Fcommerce\u002Fpaths\u002Fplatform-integration-foundations","\u002Fcommerce\u002Fpaths\u002Fpost-purchase-operations","\u002Fcommerce\u002Fpaths\u002Fproduct-to-purchase","\u002Fcommerce\u002Fpaths\u002Frepeat-purchase-cohorts","\u002Fcommerce\u002Fpaths\u002Fretention-operations","\u002Fcommerce\u002Fpaths\u002Fshipping-and-service","\u002Fcommerce\u002Fpaths\u002Ftrustworthy-commerce-data","\u002Fshopify\u002Fpaths\u002Fbuild-your-store","\u002Fshopify\u002Fpaths\u002Fcontent-foundations","\u002Fshopify\u002Fpaths\u002Fdawn","\u002Fshopify\u002Fpaths\u002Fofficial-themes","\u002Fshopify\u002Fpaths\u002Fpage-recipes","\u002Fshopify\u002Fpaths\u002Fplatform-basics","\u002Fshopify\u002Fpaths\u002Fpresentation-accessibility","\u002Fshopify\u002Fpaths\u002Fstorefront-platform-mechanisms","\u002Fshopify\u002Fpaths\u002Ftheme-foundations","\u002Fshopify\u002Fpaths\u002Ftheme-pattern-audit","\u002Fshopify\u002Fpaths\u002Fvalidate-purchase-tracking","\u002Fjourney\u002Fdiscover","\u002Fjourney\u002Fevaluate","\u002Fjourney\u002Frepurchase","\u002Fjourney\u002Fuse","\u002Fjourney\u002Fengage","\u002Fjourney\u002Fdeliver","\u002Ffunnel\u002Fawareness","\u002Ffunnel\u002Finterest","\u002Ffunnel\u002Fconsideration","\u002Ffunnel\u002Fpurchase","\u002Ffunnel\u002Fengage",[644,648,652],{"id":645,"path":646,"title":647},"en_sitePages\u002Fabout.md","\u002Fabout","About WooDawn",{"id":649,"path":650,"title":651},"en_sitePages\u002Flegal\u002Fprivacy.md","\u002Flegal\u002Fprivacy","Privacy Notice",{"id":653,"path":654,"title":655},"en_sitePages\u002Flegal\u002Fterms.md","\u002Flegal\u002Fterms","Content Use Terms",{"document":657,"isArticle":1549},{"id":658,"title":659,"abbreviations":660,"aliases":661,"answers":662,"appliesTo":663,"articleType":664,"body":665,"businessModel":1539,"constrainedBy":1540,"currency":1541,"description":1542,"discussionUrl":663,"domains":1543,"evidenceStatus":1545,"extension":1546,"funnel":1547,"implements":1548,"indexable":1549,"measuredBy":1550,"meta":1551,"metric":663,"navigation":1549,"needs":1552,"originalSources":1553,"path":16,"regions":1554,"related":1555,"reviewAfter":663,"roles":1556,"seo":1558,"seoImage":663,"seoTitle":663,"sources":1559,"stages":1560,"status":1562,"stem":1563,"supersededBy":663,"tags":1564,"term":663,"themeSources":1571,"tools":1575,"updatedAt":1577,"uses":1578,"verification":1579,"verifiedAt":1580,"__hash__":1581},"en_articles\u002Fshopify\u002Fthemes\u002Fhorizon\u002Fliquid-smart-contrast.md","Horizon's Server-Side Contrast Colors: Deriving Text and Derived Colors with Liquid Color Filters",[],[],[],null,"guide",{"type":666,"value":667,"toc":1530},"minimark",[668,683,686,698,734,739,816,823,827,851,873,920,923,941,948,952,958,983,990,1020,1027,1112,1147,1154,1157,1172,1175,1277,1294,1298,1301,1310,1366,1373,1381,1414,1417,1420,1424,1446,1450,1496,1500,1506,1520,1523,1526],[669,670,671,672,682],"p",{},"This article is based on Horizon 4.2.0, with source pinned to ",[673,674,678],"a",{"href":675,"rel":676},"https:\u002F\u002Fgithub.com\u002FShopify\u002Fhorizon\u002Ftree\u002F5acd1b6b66c02f61d3216e3adace5dd9e0404fc9",[677],"nofollow",[679,680,681],"code",{},"5acd1b6"," (verified 2026-10-07). Conclusions are limited to that commit; this is a static source analysis and nothing was tested in a store.",[669,684,685],{},"As soon as merchants can give a block its own background color, someone will pick a dark background without changing the text color and end up with black text on black.",[669,687,688,689,692,693,697],{},"The common fix is color schemes: merchants predefine a few foreground and background combinations, and a block can only pick one. This Horizon baseline has no ",[679,690,691],{},"color_scheme"," setting and takes another route: ",[694,695,696],"strong",{},"a block can use any background color, and Liquid computes the text color automatically on the server",". Involved:",[699,700,701,710,718,726],"ul",{},[702,703,704,709],"li",{},[673,705,708],{"href":706,"rel":707},"https:\u002F\u002Fgithub.com\u002FShopify\u002Fhorizon\u002Fblob\u002F5acd1b6b66c02f61d3216e3adace5dd9e0404fc9\u002Fsnippets\u002Fcolor-palette.liquid",[677],"snippets\u002Fcolor-palette.liquid",": the global palette and button hover colors",[702,711,712,717],{},[673,713,716],{"href":714,"rel":715},"https:\u002F\u002Fgithub.com\u002FShopify\u002Fhorizon\u002Fblob\u002F5acd1b6b66c02f61d3216e3adace5dd9e0404fc9\u002Fsnippets\u002Fcontrast-override.liquid",[677],"snippets\u002Fcontrast-override.liquid",": block-level contrast overrides",[702,719,720,725],{},[673,721,724],{"href":722,"rel":723},"https:\u002F\u002Fgithub.com\u002FShopify\u002Fhorizon\u002Fblob\u002F5acd1b6b66c02f61d3216e3adace5dd9e0404fc9\u002Fsnippets\u002Futil-palette-hover-shift.liquid",[677],"snippets\u002Futil-palette-hover-shift.liquid",": hover color derivation",[702,727,728,733],{},[673,729,732],{"href":730,"rel":731},"https:\u002F\u002Fgithub.com\u002FShopify\u002Fhorizon\u002Fblob\u002F5acd1b6b66c02f61d3216e3adace5dd9e0404fc9\u002Fsnippets\u002Fbrightness-opacities.liquid",[677],"snippets\u002Fbrightness-opacities.liquid",": opacity adjusted for background brightness",[735,736,738],"h2",{"id":737},"the-liquid-color-filters-involved","The Liquid color filters involved",[740,741,742,755],"table",{},[743,744,745],"thead",{},[746,747,748,752],"tr",{},[749,750,751],"th",{},"Filter",[749,753,754],{},"Purpose",[756,757,758,769,779,793,803],"tbody",{},[746,759,760,766],{},[761,762,763],"td",{},[679,764,765],{},"color_brightness",[761,767,768],{},"Returns perceived brightness from 0 to 255",[746,770,771,776],{},[761,772,773],{},[679,774,775],{},"color_contrast: other",[761,777,778],{},"Returns the contrast ratio between two colors (WCAG definition, 1–21)",[746,780,781,790],{},[761,782,783,786,787],{},[679,784,785],{},"color_lighten"," \u002F ",[679,788,789],{},"color_darken",[761,791,792],{},"Adjusts lightness",[746,794,795,800],{},[761,796,797],{},[679,798,799],{},"color_modify: 'alpha', x",[761,801,802],{},"Changes opacity",[746,804,805,813],{},[761,806,807,786,810],{},[679,808,809],{},".rgb",[679,811,812],{},".alpha",[761,814,815],{},"Components of a color object",[669,817,818,819,822],{},"These are all built-in Shopify filters. The computation happens on the server and the output is a fixed color value, ",[694,820,821],{},"with no runtime cost on the client",".",[735,824,826],{"id":825},"step-1-find-the-palettes-two-extremes","Step 1: find the palette's two extremes",[669,828,829,830,833,834,837,838,843,844,847,848,822],{},"Theme settings include a palette (a setting of ",[679,831,832],{},"type"," ",[679,835,836],{},"color_palette"," in ",[673,839,842],{"href":840,"rel":841},"https:\u002F\u002Fgithub.com\u002FShopify\u002Fhorizon\u002Fblob\u002F5acd1b6b66c02f61d3216e3adace5dd9e0404fc9\u002Fconfig\u002Fsettings_schema.json",[677],"settings_schema.json","), and other color settings reference it in their defaults; for example ",[679,845,846],{},"page_text_color"," defaults to ",[679,849,850],{},"{{ settings.color_palette.foreground }}",[669,852,853,856,857,860,861,864,865,868,869,872],{},[679,854,855],{},"color-palette.liquid"," iterates over the palette to find the ",[694,858,859],{},"lightest and darkest"," colors, counting only fully opaque ones (",[679,862,863],{},"alpha == 1","); the starting values are ",[679,866,867],{},"#ffffff"," and ",[679,870,871],{},"#000000",":",[874,875,880],"pre",{"className":876,"code":877,"language":878,"meta":879,"style":879},"language-liquid shiki shiki-themes github-light","for palette_color in settings.color_palette\n  if palette_color != blank and palette_color.alpha == 1\n    assign b = palette_color | color_brightness\n    # update palette_lightest \u002F palette_darkest\n  endif\nendfor\n","liquid","",[679,881,882,890,896,902,908,914],{"__ignoreMap":879},[883,884,887],"span",{"class":885,"line":886},"line",1,[883,888,889],{},"for palette_color in settings.color_palette\n",[883,891,893],{"class":885,"line":892},2,[883,894,895],{},"  if palette_color != blank and palette_color.alpha == 1\n",[883,897,899],{"class":885,"line":898},3,[883,900,901],{},"    assign b = palette_color | color_brightness\n",[883,903,905],{"class":885,"line":904},4,[883,906,907],{},"    # update palette_lightest \u002F palette_darkest\n",[883,909,911],{"class":885,"line":910},5,[883,912,913],{},"  endif\n",[883,915,917],{"class":885,"line":916},6,[883,918,919],{},"endfor\n",[669,921,922],{},"The results are output as CSS variables:",[874,924,928],{"className":925,"code":926,"language":927,"meta":879,"style":879},"language-css shiki shiki-themes github-light","--palette-lightest: ...; --palette-lightest-rgb: ...;\n--palette-darkest: ...;  --palette-darkest-rgb: ...;\n","css",[679,929,930,936],{"__ignoreMap":879},[883,931,932],{"class":885,"line":886},[883,933,935],{"class":934},"sgsFI","--palette-lightest: ...; --palette-lightest-rgb: ...;\n",[883,937,938],{"class":885,"line":892},[883,939,940],{"class":934},"--palette-darkest: ...;  --palette-darkest-rgb: ...;\n",[669,942,943,944,947],{},"Why not just use pure white and pure black? The \"darkest\" color in a brand palette is often a deep navy or dark brown rather than ",[679,945,946],{},"#000",", so the automatically chosen contrast color stays within the brand's palette.",[735,949,951],{"id":950},"step-2-a-three-step-fallback-at-block-level","Step 2: a three-step fallback at block level",[669,953,954,955,872],{},"When a block or section sets a background color, it renders ",[679,956,957],{},"contrast-override",[874,959,961],{"className":876,"code":960,"language":878,"meta":879,"style":879},"{% render 'contrast-override',\n  background_color: block.settings.background_color,\n  text_color: block.settings.text_color,\n  section_id: block.id %}\n",[679,962,963,968,973,978],{"__ignoreMap":879},[883,964,965],{"class":885,"line":886},[883,966,967],{},"{% render 'contrast-override',\n",[883,969,970],{"class":885,"line":892},[883,971,972],{},"  background_color: block.settings.background_color,\n",[883,974,975],{"class":885,"line":898},[883,976,977],{},"  text_color: block.settings.text_color,\n",[883,979,980],{"class":885,"line":904},[883,981,982],{},"  section_id: block.id %}\n",[669,984,985,986,989],{},"When the background is blank or fully transparent (",[679,987,988],{},"alpha == 0","), styles are only output if an explicit text color is given. With a background, the text color is decided in this order:",[991,992,993,999,1010],"ol",{},[702,994,995,998],{},[694,996,997],{},"The merchant set an explicit text color"," → use it;",[702,1000,1001,1002,1005,1006,1009],{},"Otherwise, compute the contrast between the global page text color ",[679,1003,1004],{},"settings.page_text_color"," and this background; if it's ",[694,1007,1008],{},"≥ 4.5"," (WCAG AA for body text) → keep the global text color;",[702,1011,1012,1013,1016,1017,822],{},"Otherwise, use ",[679,1014,1015],{},"var(--palette-darkest)"," if the background brightness is > 128, else ",[679,1018,1019],{},"var(--palette-lightest)",[669,1021,1022,1023,1026],{},"When the caller passes ",[679,1024,1025],{},"skip_contrast: true",", this order doesn't apply; see \"When the background is an image or video\" below.",[874,1028,1032],{"className":1029,"code":1030,"language":1031,"meta":879,"style":879},"language-mermaid shiki shiki-themes github-light","flowchart TB\n  accTitle: Three-step fallback for a block's text color\n  accDescr: With a background color, use the merchant's explicit text color if there is one; otherwise keep the global page text color when its contrast against the background is at least 4.5; otherwise pick the palette's darkest or lightest color by whether the background brightness is above 128. With a blank or fully transparent background, styles are only output for an explicit text color. With a background and skip_contrast set to true by the caller, only the background color and opacity tokens are output, with no text color, not even an explicit one.\n  start[\"Block or section\u003Cbr\u002F>renders\u003Cbr\u002F>contrast-override\"] --> bg{\"Background\u003Cbr\u002F>blank or\u003Cbr\u002F>alpha == 0?\"}\n  bg -->|Yes| only[\"Styles only output\u003Cbr\u002F>for an explicit\u003Cbr\u002F>text color\"]\n  bg -->|No| skip{\"skip_contrast\u003Cbr\u002F>is true?\"}\n  skip -->|Yes| bgonly[\"Only background\u003Cbr\u002F>and opacity tokens\u003Cbr\u002F>no text color,\u003Cbr\u002F>not even explicit\"]\n  skip -->|No| explicit{\"Merchant set\u003Cbr\u002F>an explicit\u003Cbr\u002F>text color?\"}\n  explicit -->|Yes| use[\"Use that\u003Cbr\u002F>text color\"]\n  explicit -->|No| contrast{\"Page text color\u003Cbr\u002F>contrast against\u003Cbr\u002F>background ≥ 4.5?\"}\n  contrast -->|Yes| keep[\"Keep the global\u003Cbr\u002F>text color\u003Cbr\u002F>page_text_color\"]\n  contrast -->|No| bright{\"Background\u003Cbr\u002F>brightness\u003Cbr\u002F>> 128?\"}\n  bright -->|Yes| darkest[\"var(\u003Cbr\u002F>--palette-darkest)\"]\n  bright -->|No| lightest[\"var(\u003Cbr\u002F>--palette-lightest)\"]\n","mermaid",[679,1033,1034,1039,1044,1049,1054,1059,1064,1070,1076,1082,1088,1094,1100,1106],{"__ignoreMap":879},[883,1035,1036],{"class":885,"line":886},[883,1037,1038],{},"flowchart TB\n",[883,1040,1041],{"class":885,"line":892},[883,1042,1043],{},"  accTitle: Three-step fallback for a block's text color\n",[883,1045,1046],{"class":885,"line":898},[883,1047,1048],{},"  accDescr: With a background color, use the merchant's explicit text color if there is one; otherwise keep the global page text color when its contrast against the background is at least 4.5; otherwise pick the palette's darkest or lightest color by whether the background brightness is above 128. With a blank or fully transparent background, styles are only output for an explicit text color. With a background and skip_contrast set to true by the caller, only the background color and opacity tokens are output, with no text color, not even an explicit one.\n",[883,1050,1051],{"class":885,"line":904},[883,1052,1053],{},"  start[\"Block or section\u003Cbr\u002F>renders\u003Cbr\u002F>contrast-override\"] --> bg{\"Background\u003Cbr\u002F>blank or\u003Cbr\u002F>alpha == 0?\"}\n",[883,1055,1056],{"class":885,"line":910},[883,1057,1058],{},"  bg -->|Yes| only[\"Styles only output\u003Cbr\u002F>for an explicit\u003Cbr\u002F>text color\"]\n",[883,1060,1061],{"class":885,"line":916},[883,1062,1063],{},"  bg -->|No| skip{\"skip_contrast\u003Cbr\u002F>is true?\"}\n",[883,1065,1067],{"class":885,"line":1066},7,[883,1068,1069],{},"  skip -->|Yes| bgonly[\"Only background\u003Cbr\u002F>and opacity tokens\u003Cbr\u002F>no text color,\u003Cbr\u002F>not even explicit\"]\n",[883,1071,1073],{"class":885,"line":1072},8,[883,1074,1075],{},"  skip -->|No| explicit{\"Merchant set\u003Cbr\u002F>an explicit\u003Cbr\u002F>text color?\"}\n",[883,1077,1079],{"class":885,"line":1078},9,[883,1080,1081],{},"  explicit -->|Yes| use[\"Use that\u003Cbr\u002F>text color\"]\n",[883,1083,1085],{"class":885,"line":1084},10,[883,1086,1087],{},"  explicit -->|No| contrast{\"Page text color\u003Cbr\u002F>contrast against\u003Cbr\u002F>background ≥ 4.5?\"}\n",[883,1089,1091],{"class":885,"line":1090},11,[883,1092,1093],{},"  contrast -->|Yes| keep[\"Keep the global\u003Cbr\u002F>text color\u003Cbr\u002F>page_text_color\"]\n",[883,1095,1097],{"class":885,"line":1096},12,[883,1098,1099],{},"  contrast -->|No| bright{\"Background\u003Cbr\u002F>brightness\u003Cbr\u002F>> 128?\"}\n",[883,1101,1103],{"class":885,"line":1102},13,[883,1104,1105],{},"  bright -->|Yes| darkest[\"var(\u003Cbr\u002F>--palette-darkest)\"]\n",[883,1107,1109],{"class":885,"line":1108},14,[883,1110,1111],{},"  bright -->|No| lightest[\"var(\u003Cbr\u002F>--palette-lightest)\"]\n",[874,1113,1115],{"className":876,"code":1114,"language":878,"meta":879,"style":879},"assign page_text_contrast = background_color | color_contrast: settings.page_text_color\nif page_text_contrast >= 4.5\n  assign effective_text_color = settings.page_text_color\nelse\n  assign effective_text_color = contrast_var   # 'var(--palette-darkest)' or 'var(--palette-lightest)'\nendif\n",[679,1116,1117,1122,1127,1132,1137,1142],{"__ignoreMap":879},[883,1118,1119],{"class":885,"line":886},[883,1120,1121],{},"assign page_text_contrast = background_color | color_contrast: settings.page_text_color\n",[883,1123,1124],{"class":885,"line":892},[883,1125,1126],{},"if page_text_contrast >= 4.5\n",[883,1128,1129],{"class":885,"line":898},[883,1130,1131],{},"  assign effective_text_color = settings.page_text_color\n",[883,1133,1134],{"class":885,"line":904},[883,1135,1136],{},"else\n",[883,1138,1139],{"class":885,"line":910},[883,1140,1141],{},"  assign effective_text_color = contrast_var   # 'var(--palette-darkest)' or 'var(--palette-lightest)'\n",[883,1143,1144],{"class":885,"line":916},[883,1145,1146],{},"endif\n",[669,1148,1149,1150,1153],{},"Step 2 matters: ",[694,1151,1152],{},"don't change it if you don't have to."," Global black text on a light gray background is already readable and shouldn't be replaced with some dark palette color.",[669,1155,1156],{},"Step 3 outputs a CSS variable reference, not a concrete color. When the global palette changes, every block's fallback color follows automatically.",[669,1158,1159,1160,1163,1164,1167,1168,1171],{},"The border color has a fallback too: an explicit ",[679,1161,1162],{},"border_color"," wins; otherwise ",[679,1165,1166],{},"preset: 'ui'"," follows the effective text color, while the default ",[679,1169,1170],{},"content"," preset uses the same brightness-split palette extreme.",[669,1173,1174],{},"The final output is a scoped style block:",[874,1176,1178],{"className":925,"code":1177,"language":927,"meta":879,"style":879},".color-custom-{{ section_id }},\n.color-custom-{{ section_id }} .text-block {\n  --color-background: ...;\n  --color-foreground: ...;\n  --color-foreground-muted: rgb(... \u002F var(--opacity-muted-text));\n  --color-border: ...;\n}\n",[679,1179,1180,1202,1223,1232,1239,1265,1272],{"__ignoreMap":879},[883,1181,1182,1186,1189,1193,1196,1199],{"class":885,"line":886},[883,1183,1185],{"class":1184},"s7eDp",".color-custom-",[883,1187,1188],{"class":934},"{{ ",[883,1190,1192],{"class":1191},"sYu0t","section",[883,1194,1195],{"class":934},"_",[883,1197,1198],{"class":1191},"id",[883,1200,1201],{"class":934}," }},\n",[883,1203,1204,1206,1208,1210,1212,1214,1217,1220],{"class":885,"line":892},[883,1205,1185],{"class":1184},[883,1207,1188],{"class":934},[883,1209,1192],{"class":1191},[883,1211,1195],{"class":934},[883,1213,1198],{"class":1191},[883,1215,1216],{"class":934}," }} ",[883,1218,1219],{"class":1184},".text-block",[883,1221,1222],{"class":934}," {\n",[883,1224,1225,1229],{"class":885,"line":898},[883,1226,1228],{"class":1227},"sqxcx","  --color-background",[883,1230,1231],{"class":934},": ...;\n",[883,1233,1234,1237],{"class":885,"line":904},[883,1235,1236],{"class":1227},"  --color-foreground",[883,1238,1231],{"class":934},[883,1240,1241,1244,1247,1250,1253,1256,1259,1262],{"class":885,"line":910},[883,1242,1243],{"class":1227},"  --color-foreground-muted",[883,1245,1246],{"class":934},": ",[883,1248,1249],{"class":1191},"rgb",[883,1251,1252],{"class":934},"(... \u002F ",[883,1254,1255],{"class":1191},"var",[883,1257,1258],{"class":934},"(",[883,1260,1261],{"class":1227},"--opacity-muted-text",[883,1263,1264],{"class":934},"));\n",[883,1266,1267,1270],{"class":885,"line":916},[883,1268,1269],{"class":1227},"  --color-border",[883,1271,1231],{"class":934},[883,1273,1274],{"class":885,"line":1066},[883,1275,1276],{"class":934},"}\n",[669,1278,1279,1280,1283,1284,1286,1287,1289,1290,1293],{},"Tokens for disabled inputs and checkbox borders are only written on ",[679,1281,1282],{},".color-custom-{{ section_id }}",", not on ",[679,1285,1219],{},"; the comment explains that ",[679,1288,1219],{}," is a prose container that never holds form controls. A block's HTML just needs the ",[679,1291,1292],{},"color-custom-{{ block.id }}"," class. Across the repository, 59 section, block and snippet files call this snippet (not counting its own doc examples).",[735,1295,1297],{"id":1296},"step-3-derived-colors-must-follow-the-background-too","Step 3: derived colors must follow the background too",[669,1299,1300],{},"Changing the text color alone isn't enough. Semi-transparent dividers, disabled inputs and hover backgrounds can all \"disappear\" on a dark background.",[669,1302,1303,833,1306,1309],{},[694,1304,1305],{},"Opacity tokens switch with brightness.",[679,1307,1308],{},"brightness-opacities.liquid"," raises a set of opacities when the background brightness is \u003C 64. An excerpt:",[740,1311,1312,1325],{},[743,1313,1314],{},[746,1315,1316,1319,1322],{},[749,1317,1318],{},"Token",[749,1320,1321],{},"Light background",[749,1323,1324],{},"Dark background",[756,1326,1327,1340,1353],{},[746,1328,1329,1334,1337],{},[761,1330,1331],{},[679,1332,1333],{},"--opacity-5-15",[761,1335,1336],{},"0.05",[761,1338,1339],{},"0.15",[746,1341,1342,1347,1350],{},[761,1343,1344],{},[679,1345,1346],{},"--opacity-10-25",[761,1348,1349],{},"0.1",[761,1351,1352],{},"0.25",[746,1354,1355,1360,1363],{},[761,1356,1357],{},[679,1358,1359],{},"--opacity-35-55",[761,1361,1362],{},"0.35",[761,1364,1365],{},"0.55",[669,1367,1368,1369,1372],{},"The token names spell out both values (",[679,1370,1371],{},"5-15"," means 5% on light, 15% on dark), so someone reading the CSS knows the value changes without looking up the definition.",[669,1374,1375,833,1378,872],{},[694,1376,1377],{},"Hover colors are derived by brightness band.",[679,1379,1380],{},"util-palette-hover-shift.liquid",[874,1382,1384],{"className":876,"code":1383,"language":878,"meta":879,"style":879},"if alpha \u003C 0.4\n  # too transparent for a lightness change to show → add 0.15 opacity\n  echo color | color_modify: 'alpha', new_alpha\nelse\n  # ≤40 lighten 15; ≤128 lighten 5; ≤190 darken 10; >190 darken 5\nendif\n",[679,1385,1386,1391,1396,1401,1405,1410],{"__ignoreMap":879},[883,1387,1388],{"class":885,"line":886},[883,1389,1390],{},"if alpha \u003C 0.4\n",[883,1392,1393],{"class":885,"line":892},[883,1394,1395],{},"  # too transparent for a lightness change to show → add 0.15 opacity\n",[883,1397,1398],{"class":885,"line":898},[883,1399,1400],{},"  echo color | color_modify: 'alpha', new_alpha\n",[883,1402,1403],{"class":885,"line":904},[883,1404,1136],{},[883,1406,1407],{"class":885,"line":910},[883,1408,1409],{},"  # ≤40 lighten 15; ≤128 lighten 5; ≤190 darken 10; >190 darken 5\n",[883,1411,1412],{"class":885,"line":916},[883,1413,1146],{},[669,1415,1416],{},"The darkest band gets the largest lightening: on colors close to pure black, a small change is barely visible.",[669,1418,1419],{},"Button hover text colors are recomputed as well: for each of the four groups (primary button, secondary button, variant and selected variant), the palette's darkest color is used when the hover background's brightness is > 128, otherwise the lightest; when the original background isn't fully opaque, the original text color is kept.",[735,1421,1423],{"id":1422},"when-the-background-is-an-image-or-video","When the background is an image or video",[669,1425,1426,1431,1432,1435,1436,1438,1439,868,1442,1445],{},[673,1427,1430],{"href":1428,"rel":1429},"https:\u002F\u002Fgithub.com\u002FShopify\u002Fhorizon\u002Fblob\u002F5acd1b6b66c02f61d3216e3adace5dd9e0404fc9\u002Fsnippets\u002Fgroup.liquid",[677],"snippets\u002Fgroup.liquid"," and the ",[679,1433,1434],{},"_card"," block pass ",[679,1437,1025],{}," when background media is set, while sections such as ",[679,1440,1441],{},"hero",[679,1443,1444],{},"layered-slideshow"," always skip. Only the background color and opacity tokens are output then, with no automatic text contrast; even an explicit text color set by the merchant isn't output. The source gives no reason; a reasonable reading is that the server can't know how bright the media is.",[735,1447,1449],{"id":1448},"things-worth-questioning","Things worth questioning",[699,1451,1452,1458,1471,1480],{},[702,1453,1454,1457],{},[694,1455,1456],{},"The brightness threshold is a hard-coded 128."," For mid-brightness backgrounds (a saturated brand red, say), a brightness check isn't necessarily accurate. Step 2 uses a real contrast calculation, yet step 3 falls back to a brightness split. A sturdier approach would compute the contrast of both the lightest and darkest colors against the background and take the higher. The snippet's doc comment says it picks \"the palette extreme that best contrasts the background\"; the code only approximates that by brightness.",[702,1459,1460,1463,1464,1466,1467,1470],{},[694,1461,1462],{},"The preset description doesn't match the code."," The doc comment says the ",[679,1465,1170],{}," preset emits accent tokens on top of ",[679,1468,1469],{},"ui",", but the snippet contains no accent variables at all; with a background, the only difference between the two presets is the border fallback.",[702,1472,1473,1479],{},[694,1474,1475,1476,822],{},"Every block outputs its own ",[679,1477,1478],{},"\u003Cstyle>"," 59 calling files mean a page can carry dozens of inline style blocks. They're usually small, but they add HTML parsing work.",[702,1481,1482,1487,1488,1491,1492,1495],{},[694,1483,1484,1486],{},[679,1485,855],{}," is highly repetitive."," The hover calculations for primary buttons, secondary buttons, variants and selected variants are almost identical and written out four times. Liquid has no functions; ",[679,1489,1490],{},"capture"," plus ",[679,1493,1494],{},"render"," is a clumsy way to reuse code, a limitation of the language itself.",[735,1497,1499],{"id":1498},"summary","Summary",[669,1501,1502,1503],{},"Horizon's color system can be summed up as: ",[694,1504,1505],{},"merchants only make choices; the theme backstops readability.",[699,1507,1508,1511,1514,1517],{},[702,1509,1510],{},"The global palette provides two extremes of the brand's colors as fallback contrast colors;",[702,1512,1513],{},"At block level, keep the global text color where possible and fall back only when it isn't enough;",[702,1515,1516],{},"Derived opacities and hover colors follow the background brightness;",[702,1518,1519],{},"Everything is computed on the server and output as scoped CSS variables.",[669,1521,1522],{},"Compared with color schemes, this gives merchants far more freedom. But the threshold checks are approximations and this article didn't measure actual contrast, so check computed styles in a browser before launch.",[669,1524,1525],{},"Horizon's LICENSE.md forbids distributing themes derived from its code; this article only analyzes the source, so implement any borrowed ideas yourself.",[1527,1528,1529],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}html pre.shiki code .s7eDp, html code.shiki .s7eDp{--shiki-default:#6F42C1}html pre.shiki code .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}html pre.shiki code .sqxcx, html code.shiki .sqxcx{--shiki-default:#E36209}",{"title":879,"searchDepth":892,"depth":892,"links":1531},[1532,1533,1534,1535,1536,1537,1538],{"id":737,"depth":892,"text":738},{"id":825,"depth":892,"text":826},{"id":950,"depth":892,"text":951},{"id":1296,"depth":892,"text":1297},{"id":1422,"depth":892,"text":1423},{"id":1448,"depth":892,"text":1449},{"id":1498,"depth":892,"text":1499},"dtc",[],"historical","A Horizon 4.2.0 source walkthrough of how contrast colors are derived on the server when a block has a custom background: the palette's lightest and darkest colors, contrast-override's three-step text fallback and border fallback, brightness-based opacity tokens, hover color derivation, skipping contrast over background media, and issues such as the hard-coded brightness threshold and a preset description that doesn't match the code.",[1544],"storefront-experience","partial","md",[],[],true,[],{},[],[],[],[15,13],[1557],"developer",{"title":659,"description":1542},[706,714,722,730,1428,840],[1561],"cross-cutting","published","shopify\u002Fthemes\u002Fhorizon\u002Fliquid-smart-contrast",[1565,1566,1567,1568,1569,1570],"Horizon","Shopify","Source analysis","4.2.0","Color contrast","Liquid",[1572],{"theme":1573,"version":1574,"url":675},"horizon","4.2.0 · 5acd1b6b66c02f61d3216e3adace5dd9e0404fc9",[1576],"shopify","2026-10-19",[],"Static reading of snippets\u002Fcolor-palette.liquid, snippets\u002Fcontrast-override.liquid, snippets\u002Futil-palette-hover-shift.liquid, snippets\u002Fbrightness-opacities.liquid, snippets\u002Fgroup.liquid and config\u002Fsettings_schema.json at Horizon 4.2.0 commit 5acd1b6, plus a repository-wide count of files calling contrast-override. No Liquid rendering, theme editor or browser testing; actual contrast ratios were not measured.","2026-10-07","SGGOA2mLokKNx_6udEB4NMZ0X5qFqU8gkgj_QY91KsE",{"topic":1583,"paths":1585},{"title":1584,"path":29},"Storefront and experience",[],[1587,1589],{"title":1588,"path":15},"Taming Layout Thrashing in Horizon: On-Demand Measurement, Batched Reads and Writes, Frame-Level Scheduling",{"title":1590,"path":13},"Horizon's Web Components Base Class: Refs, on: Event Delegation, and the Upgrade Race",{"titles":1592,"toolNames":1593,"domainPaths":1606,"reverse":1607},{},{"elevar":1594,"google-ads":1595,"google-analytics":1596,"google-merchant-center":1597,"google-tag-manager":1598,"gorgias":1599,"judge-me":1600,"klaviyo":1601,"meta-ads":1602,"paypal":1603,"shopify":1566,"woocommerce":1604,"wordpress":1605},"Elevar","Google Ads","Google Analytics","Google Merchant Center","Google Tag Manager","Gorgias","Judge.me","Klaviyo","Meta Ads","PayPal","WooCommerce","WordPress",[20,21,22,23,24,25,26,27,28,29],{"implements":1608,"measuredBy":1609,"needs":1610,"constrainedBy":1611},[],[],[],[],1792741304753]