The compiled stylesheet is a committed artifact. The published bundle is the
theme root, so a stylesheet produced only by a local build step is absent from
the bundle.Publishing rejects a bundle whose templates link a root-relative stylesheet it
does not contain:
layouts/shell.slurp links stylesheet "/css/theme.css" but no "css/theme.css" isin the bundle (run the theme CSS build, e.g. `npm run build:css`, beforepublishing)
Without the check, the theme publishes and every store using it renders
unstyled HTML.
Only literal root-relative href values ending in .css are verified. A CDN
link or an href containing ${ } is not checked.
slurp gitignore writes a .gitignore for a theme, including the files that
must not be ignored.
Accent colours
An accent is a color setting applied as CSS custom properties.Store RGB channels, not hex:
A hex value satisfies the first rule and produces invalid CSS in the second.
Every opacity modifier breaks, with no error reported.
Define window.__bsApplyAccent(name) to let the builder recolour the preview
live. Without it, a merchant’s colour change is not visible until reload. See
The builder.
Fonts
Request fonts through the platform, which serves them from the store’s own
origin:
Do not link a font CDN. Doing so sends the buyer’s IP address to a third
party, which the merchant cannot consent to on the buyer’s behalf.
Families are restricted to an allowlist. Unlisted families and weights are
ignored rather than approximated. See
Platform assets.
Dark mode
Dark mode is entirely the theme’s responsibility. A theme can be dark-only,
light-only, or provide a toggle backed by its own Alpine store.
Static assets
Any non-template file in the bundle is served as a static file. Assets
referenced from a marketplace listing resolve to content-addressed URLs with a
one-year immutable cache, so a changed file produces a changed URL.Merchant-uploaded images are not theme assets. They come through the media
pipeline and arrive in settings as URLs.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ByteSell Docs","description":"Documentation for ByteSell and Slurp.","colors":{"primary":"#0a0a0a","light":"#ffffff","dark":"#0a0a0a"},"logo":{"light":"https://mintcdn.com/bytesell/rVLA86JSJIvnNB5R/logo/docs-light.svg?fit=max\u0026auto=format\u0026n=rVLA86JSJIvnNB5R\u0026q=85\u0026s=ccf1fe3ca0bb8cdbc28f552f9f27e002","dark":"https://mintcdn.com/bytesell/rVLA86JSJIvnNB5R/logo/docs-dark.svg?fit=max\u0026auto=format\u0026n=rVLA86JSJIvnNB5R\u0026q=85\u0026s=e3ef5397076c4ec0fbb1f4ac14064eaf"},"favicon":"https://mintcdn.com/bytesell/rVLA86JSJIvnNB5R/favicon.png?fit=max\u0026auto=format\u0026n=rVLA86JSJIvnNB5R\u0026q=85\u0026s=31b046d05dafb139d030b5e520ee780a","appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://bytesell.io/support","label":"Support"},{"icon":"github","href":"https://github.com/bytesell/slurp","label":"GitHub"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.bytesell.io"}},"footer":{"socials":{"github":"https://github.com/bytesell","website":"https://bytesell.io"}},"fonts":{"family":"Satoshi","source":"fonts/Satoshi-Variable.woff2","format":"woff2"},"styling":{"codeblocks":{"languages":{"custom":["/languages/slurp.json"]}},"latex":false},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bytesell","hasAudioNarration":false,"actualSubdomain":"bytesell","customDomains":["docs.bytesell.io"],"gitSource":{"type":"github","owner":"bytesell","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aea2184f8ea08b6002564e9:success","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"Slurp","count":31},{"language":"default","tag":"Build","count":16},{"language":"default","tag":"Themes","count":14},{"language":"default","tag":"Get started","count":7},{"language":"default","tag":"Language reference","count":6},{"language":"default","tag":"Tooling","count":4},{"language":"default","tag":"Reference","count":4},{"language":"default","tag":"Embedding reference","count":3},{"language":"default","tag":"Security","count":2},{"language":"default","tag":"Troubleshooting","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navigation-items .sidebar-group a,#navigation-items .sidebar-group a *{font-weight:450}"}]}
{"page":{"pagePath":"themes/styling","slug":"/themes/styling","pageMetadata":{"title":"Styling","description":"Stylesheet location, accent colours, and fonts.","href":"/themes/styling"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Stylesheet location, accent colours, and fonts.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`the-stylesheet`,children:`The stylesheet`}),`\n`,_jsx(_components.p,{children:`Compile to a path inside the theme root, and commit the output:`}),`\n`,_jsx(CodeBlock,{filename:`package.json`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scripts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"build:css\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tailwindcss -i styles/app.css -o site/css/theme.css --minify\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The compiled stylesheet is a committed artifact. The published bundle is the\ntheme root, so a stylesheet produced only by a local build step is absent from\nthe bundle.`}),`\n`,_jsx(_components.p,{children:`Publishing rejects a bundle whose templates link a root-relative stylesheet it\ndoes not contain:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`layouts/shell.slurp links stylesheet \"/css/theme.css\" but no \"css/theme.css\" is`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\"in the bundle (run the theme CSS build, e.g. `npm run build:css`, before\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`publishing)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Without the check, the theme publishes and every store using it renders\nunstyled HTML.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Only literal root-relative `,_jsx(_components.code,{children:`href`}),` values ending in `,_jsx(_components.code,{children:`.css`}),` are verified. A CDN\nlink or an `,_jsx(_components.code,{children:`href`}),` containing `,_jsx(_components.code,{children:\"${ }\"}),` is not checked.`]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`slurp gitignore`}),` writes a `,_jsx(_components.code,{children:`.gitignore`}),` for a theme, including the files that\nmust not be ignored.`]}),`\n`,_jsx(Heading,{level:`2`,id:`accent-colours`,children:`Accent colours`}),`\n`,_jsxs(_components.p,{children:[`An accent is a `,_jsx(_components.code,{children:`color`}),` setting applied as CSS custom properties.`]}),`\n`,_jsx(_components.p,{children:`Store RGB channels, not hex:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`css`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`css`,children:_jsxs(_components.code,{language:`css`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D7BA7D`},children:`:root`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`--accent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`99`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 102`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 241`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D7BA7D`},children:`.btn`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`background`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`rgb`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`--accent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)); }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D7BA7D`},children:`.btn-ghost`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`background`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`rgb`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`--accent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) / `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); }`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`A hex value satisfies the first rule and produces invalid CSS in the second.\nEvery opacity modifier breaks, with no error reported.`})}),`\n`,_jsxs(_components.p,{children:[`Define `,_jsx(_components.code,{children:`window.__bsApplyAccent(name)`}),` to let the builder recolour the preview\nlive. Without it, a merchant’s colour change is not visible until reload. See\n`,_jsx(_components.a,{href:`/themes/builder`,children:`The builder`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`fonts`,children:`Fonts`}),`\n`,_jsx(_components.p,{children:`Request fonts through the platform, which serves them from the store’s own\norigin:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`slurp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`slurp`,children:_jsxs(_components.code,{language:`slurp`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`link`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` rel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"stylesheet\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` href`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'\"${ platform.fonts_css }?family=inter:400,500,700\"'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Do not link a font CDN. Doing so sends the buyer’s IP address to a third\nparty, which the merchant cannot consent to on the buyer’s behalf.`})}),`\n`,_jsxs(_components.p,{children:[`Families are restricted to an allowlist. Unlisted families and weights are\nignored rather than approximated. See\n`,_jsx(_components.a,{href:`/themes/reference/platform`,children:`Platform assets`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`dark-mode`,children:`Dark mode`}),`\n`,_jsx(_components.p,{children:`Dark mode is entirely the theme’s responsibility. A theme can be dark-only,\nlight-only, or provide a toggle backed by its own Alpine store.`}),`\n`,_jsx(Heading,{level:`2`,id:`static-assets`,children:`Static assets`}),`\n`,_jsx(_components.p,{children:`Any non-template file in the bundle is served as a static file. Assets\nreferenced from a marketplace listing resolve to content-addressed URLs with a\none-year immutable cache, so a changed file produces a changed URL.`}),`\n`,_jsx(_components.p,{children:`Merchant-uploaded images are not theme assets. They come through the media\npipeline and arrive in settings as URLs.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"languages":{"custom":["/languages/slurp.json"]}},"config":{},"pageMetadata":{"title":"Styling","description":"Stylesheet location, accent colours, and fonts.","href":"/themes/styling"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"The stylesheet","slug":"the-stylesheet","depth":2,"children":[]},{"title":"Accent colours","slug":"accent-colours","depth":2,"children":[]},{"title":"Fonts","slug":"fonts","depth":2,"children":[]},{"title":"Dark mode","slug":"dark-mode","depth":2,"children":[]},{"title":"Static assets","slug":"static-assets","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"bytesell","siteName":"ByteSell Docs","title":"Styling - ByteSell Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-06T10:22:06.576Z","originalFileLocation":"themes/styling.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Stylesheet location, accent colours, and fonts.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ByteSell Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bytesell/bbKfT7jU6kkaKSL-/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/bytesell/bbKfT7jU6kkaKSL-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bytesell/bbKfT7jU6kkaKSL-/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bytesell/bbKfT7jU6kkaKSL-/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bytesell/bbKfT7jU6kkaKSL-/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bytesell/bbKfT7jU6kkaKSL-/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bytesell/bbKfT7jU6kkaKSL-/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bytesell/bbKfT7jU6kkaKSL-/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bytesell/bbKfT7jU6kkaKSL-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Styling - ByteSell Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Stylesheet location, accent colours, and fonts.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ByteSell Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bytesell.io/themes/styling\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bytesell.mintlify.site/_mintlify/api/og/v2?division=Build\u0026amp;title=Styling\u0026amp;description=Stylesheet+location%2C+accent+colours%2C+and+fonts.\u0026amp;theme=d475aafcf56dac52526699df\u0026amp;signature=096a941cb8b332b3dbdeebd464292db0d1144754302dd76449b38e2bc4f1da28\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Styling - ByteSell Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Stylesheet location, accent colours, and fonts.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bytesell.mintlify.site/_mintlify/api/og/v2?division=Build\u0026amp;title=Styling\u0026amp;description=Stylesheet+location%2C+accent+colours%2C+and+fonts.\u0026amp;theme=d475aafcf56dac52526699df\u0026amp;signature=096a941cb8b332b3dbdeebd464292db0d1144754302dd76449b38e2bc4f1da28\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/bytesell/bbKfT7jU6kkaKSL-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ByteSell Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0a0a0a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bytesell.io/themes/styling\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/themes/styling.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bytesell.io/#organization\",\"name\":\"ByteSell Docs\",\"url\":\"https://docs.bytesell.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bytesell/rVLA86JSJIvnNB5R/logo/docs-light.svg?fit=max\u0026auto=format\u0026n=rVLA86JSJIvnNB5R\u0026q=85\u0026s=ccf1fe3ca0bb8cdbc28f552f9f27e002\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bytesell.io#website\",\"name\":\"ByteSell Docs\",\"url\":\"https://docs.bytesell.io\",\"publisher\":{\"@id\":\"https://docs.bytesell.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bytesell.io/themes/styling#webpage\",\"url\":\"https://docs.bytesell.io/themes/styling\",\"name\":\"Styling\",\"description\":\"Stylesheet location, accent colours, and fonts.\",\"dateModified\":\"2026-08-06T10:22:06.576Z\",\"isPartOf\":{\"@id\":\"https://docs.bytesell.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bytesell.io/themes/styling#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bytesell.io/themes/styling#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Build\",\"item\":\"https://docs.bytesell.io/themes/pages\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Styling\",\"item\":\"https://docs.bytesell.io/themes/styling\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.bytesell.io/themes/styling#article\",\"headline\":\"Styling\",\"name\":\"Styling\",\"description\":\"Stylesheet location, accent colours, and fonts.\",\"url\":\"https://docs.bytesell.io/themes/styling\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bytesell.io/themes/styling#webpage\"},\"dateModified\":\"2026-08-06T10:22:06.576Z\",\"publisher\":{\"@id\":\"https://docs.bytesell.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bytesell.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ByteSell Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ByteSell Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/themes/styling.md","siteName":"ByteSell Docs","nav":{"global":null,"tabs":[{"tab":"Slurp","icon":"code","pages":[{"title":"Slurp","href":"/slurp"}]},{"tab":"Themes","icon":"palette","groups":[{"group":"Get started","pages":[{"title":"Introduction","href":"/themes"},{"title":"Quickstart","href":"/themes/quickstart"},{"title":"Project structure","href":"/themes/structure"}]},{"group":"Build","pages":[{"title":"Pages and routing","href":"/themes/pages"},{"title":"Sections and blocks","href":"/themes/sections"},{"title":"Store data","description":"Template globals, the store config, and fetching products.","href":"/themes/data"},{"title":"Styling","href":"/themes/styling"},{"title":"JavaScript","description":"The ByteSell SDK, the cart store, and money helpers.","href":"/themes/javascript"},{"title":"The builder","href":"/themes/builder"}]},{"group":"Ship","pages":[{"title":"Publishing","href":"/themes/publishing"}]},{"group":"Reference","pages":[{"title":"theme.json","href":"/themes/reference/theme-json"},{"title":"Template globals","href":"/themes/reference/globals"},{"title":"Platform assets","href":"/themes/reference/platform"},{"title":"Limits","href":"/themes/reference/limits"}]}]}]},"basePath":"","title":"Styling - ByteSell Docs","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":[],"chunks":[]}