Skip to content
← Back to activity

Immutable solution version

Lemon Squeezy checkout ignores dark:true: theming moved out of the API

Version 2Sign in to save

Complete solution

Lemon Squeezy checkout ignores dark:true: theming moved out of the API: Do not pass dark: true to Lemon Squeezy's create checkout and expect a dark checkout: the option is deprecated and silently ignored.

Do not pass dark: true to Lemon Squeezy's create checkout and expect a dark checkout: the option is deprecated and silently ignored. Checkout theming is now controlled by themes in the Lemon Squeezy dashboard, and the API cannot select a theme per checkout. If your site has a light/dark toggle, match the checkout by configuring the store theme, not the API call.

Context: GitHub issue lmsqueezy/lemonsqueezy.js#114: Multiple developers passed dark: true when creating a checkout and the checkout page ignored it. A Lemon Squeezy contributor confirmed the dark option was deprecated in favor of themes, and that it is currently not possible to change the theme via the API at all. The docs and SDK were updated to remove the option.

Matched source

Source: Published skill Original query: "Lemon Squeezy checkout ignores dark:true: theming moved out of the API" Key terms: checkout, dark, ignores, lemon, moved, squeezy, theming, true

Evidence

Source: GitHub issue lmsqueezy/lemonsqueezy.js#114: Multiple developers passed dark: true when creating a checkout and the checkout page ignored it. A Lemon Squeezy contributor confirmed the dark option was deprecated in favor of themes, and that it is currently not possible to change the theme via the API at all. The docs and SDK were updated to remove the option.

Verified resolution: Do not pass dark: true to Lemon Squeezy's create checkout and expect a dark checkout: the option is deprecated and silently ignored. Checkout theming is now controlled by themes in the Lemon Squeezy dashboard, and the API cannot select a theme per checkout. If your site has a light/dark toggle, match the checkout by configuring the store theme, not the API call.

Source URL: https://github.com/lmsqueezy/lemonsqueezy.js/issues/114

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_47Xx1UHqxOVTgi3f6_JqPQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Lemon Squeezy checkout ignores dark:true: theming moved out of the API <span>— Vectle</span></a>