[{"data":1,"prerenderedAt":391},["ShallowReactive",2],{"sanity-LevEgKvCUg3Ul3GKyhTsfZIfaGswLQ-qsmdjo9-lWe4":3,"sanity-IEDxPz7FdMQmzOBvIe4aIFx8jNTCZu1QZYnr3FHkZME":84,"shiki-block-v-0-0-0-0-0-2-0-0":389,"shiki-block-v-0-0-0-0-0-2-0-1":390},{"data":4},{"_createdAt":5,"_id":6,"_rev":7,"_system":8,"_type":6,"_updatedAt":11,"acceptAllLink":12,"acceptNecessaryLink":40,"bannerColorSource":50,"bannerDescription":51,"bannerTitle":52,"categories":53,"declineAllLink":54,"managePreferencesLink":63,"modalColorSource":50,"modalTitle":72,"preferencesIconColorSource":50,"provider":73,"savePreferencesLink":74,"thirdPartyEmbedCode":53,"title":83},"2026-07-28T12:06:44Z","cookieSettings","ci4zAxlS92c5lxcUZgKERY",{"base":9},{"id":6,"rev":10},"4areb77bueJ0iGsV9TVGmy","2026-09-03T17:08:03Z",{"_type":13,"newTab":14,"style":15,"title":38,"type":39},"link",false,{"_type":16,"design":17,"icon":30,"iconPosition":34,"stylePreset":35},"link.style",{"_type":18,"colorSource":19,"gradient":20,"hover":25,"shape":29,"style":29},"link.style.design","manual",{"_type":21,"colorSource":19,"direction":22,"gradientType":23,"radialPosition":24},"gradient","to-r","linear","at-center",{"_type":26,"colorSource":27,"gradient":28},"link.style.hover","none",{"_type":21,"colorSource":19,"direction":22,"gradientType":23,"radialPosition":24},"default",{"_type":31,"name":32,"type":33},"icon.config","pi-compass","noicon","start",{"_ref":36,"_type":37},"0a45d6ae-0177-47f2-ab3e-2dd19191fca6","reference","Accept all","button",{"_type":13,"newTab":14,"style":41,"title":49,"type":39},{"_type":16,"design":42,"icon":46,"iconPosition":34,"stylePreset":47},{"_type":18,"colorSource":19,"gradient":43,"hover":44,"shape":29,"style":29},{"_type":21,"colorSource":19,"direction":22,"gradientType":23,"radialPosition":24},{"_type":26,"colorSource":27,"gradient":45},{"_type":21,"colorSource":19,"direction":22,"gradientType":23,"radialPosition":24},{"_type":31,"name":32,"type":33},{"_ref":48,"_type":37},"1b28bc78-22fc-4f39-ab55-441e2a601f6e","Accept necessary","inherit","We use cookies to enhance your browsing experience and analyse our traffic. Please choose your cookie preferences below.","We use cookies",null,{"_type":13,"newTab":14,"style":55,"title":62,"type":39},{"_type":16,"design":56,"icon":60,"iconPosition":34,"stylePreset":61},{"_type":18,"colorSource":19,"gradient":57,"hover":58,"shape":29,"style":29},{"_type":21,"colorSource":19,"direction":22,"gradientType":23,"radialPosition":24},{"_type":26,"colorSource":27,"gradient":59},{"_type":21,"colorSource":19,"direction":22,"gradientType":23,"radialPosition":24},{"_type":31,"name":32,"type":33},{"_ref":48,"_type":37},"Decline all",{"_type":13,"newTab":14,"style":64,"title":71,"type":39},{"_type":16,"design":65,"icon":69,"iconPosition":34,"stylePreset":70},{"_type":18,"colorSource":19,"gradient":66,"hover":67,"shape":29,"style":29},{"_type":21,"colorSource":19,"direction":22,"gradientType":23,"radialPosition":24},{"_type":26,"colorSource":27,"gradient":68},{"_type":21,"colorSource":19,"direction":22,"gradientType":23,"radialPosition":24},{"_type":31,"name":32,"type":33},{"_ref":48,"_type":37},"Manage preferences","Cookie Preferences","custom",{"_type":13,"newTab":14,"style":75,"title":82,"type":39},{"_type":16,"design":76,"icon":80,"iconPosition":34,"stylePreset":81},{"_type":18,"colorSource":19,"gradient":77,"hover":78,"shape":29,"style":29},{"_type":21,"colorSource":19,"direction":22,"gradientType":23,"radialPosition":24},{"_type":26,"colorSource":27,"gradient":79},{"_type":21,"colorSource":19,"direction":22,"gradientType":23,"radialPosition":24},{"_type":31,"name":32,"type":33},{"_ref":36,"_type":37},"Save preferences","Cookie Settings",{"data":85,"sourceMap":-1},{"_createdAt":86,"_id":87,"_rev":88,"_type":89,"_updatedAt":90,"components":91,"fontOptions":313,"footer":53,"intro":316,"isPublished":274,"layout":317,"navigation":53,"path":318,"routeOptions":319,"seo":324,"showFooter":274,"showNav":274,"sidebar":330,"slug":323,"title":367},"2026-08-14T18:23:18Z","c518286f-0bc6-465e-b498-53e65bdc0548","yP8kuGLgTlEjnh0hQ0xso2","page","2026-08-14T18:39:48Z",[92,129,200,235,268],{"_key":93,"_type":94,"alignment":95,"content":96,"options":123,"width":128},"1384d82f9ecd","text-block","mx-auto",[97,108,116],{"_key":98,"_type":99,"children":100,"markDefs":106,"style":107},"6f5bd073f8b8","block",[101],{"_key":102,"_type":103,"marks":104,"text":105},"7cc9e72513ad","span",[],"Colours are documents",[],"h2",{"_key":109,"_type":99,"children":110,"markDefs":114,"style":115},"8f1a8a07df83",[111],{"_key":102,"_type":103,"marks":112,"text":113},[],"A colour theme is a Sanity document with a background, a text colour, and an optional accent. A build step reads those documents and writes a CSS variable file; components reference variable names. There are no hex codes in Vue files.",[],"normal",{"_key":117,"_type":99,"children":118,"markDefs":122,"style":115},"961e97385506",[119],{"_key":102,"_type":103,"marks":120,"text":121},[],"The consequence is the point: a client rebrand is content editing, not a refactor. Change the theme document, rebuild, done. Pages can carry their own theme, and individual sections can override it.",[],{"_type":124,"colorSource":50,"container":125,"hideSection":14,"mediaOpacity":126,"slideEffect":127,"sticky":14,"tocLabel":105},"section.options","contained",0,"fade","max-w-5xl",{"_key":130,"_type":131,"accentSource":50,"heading":132,"options":133,"steps":135},"894b3cb7f351","docs.steps","Changing the brand",{"_type":124,"colorSource":50,"container":125,"hideSection":14,"mediaOpacity":126,"slideEffect":127,"sticky":14,"tocLabel":134},"Rebranding a site",[136,149,176],{"_key":137,"_type":138,"content":139,"title":148},"4f754da0feb7","docs.step",[140],{"_key":141,"_type":99,"children":142,"markDefs":147,"style":115},"16fc38679f39",[143],{"_key":144,"_type":103,"marks":145,"text":146},"e90a5f085c8d",[],"Website → Colours. Set the background, text and accent. Optionally setdark-scheme counterparts — an empty dark slot reuses the light colour, so atheme with no dark colours looks the same in both schemes.",[],"Edit the colour theme in the Studio",{"_key":150,"_type":138,"content":151,"title":175},"07310ac1e060",[152,159],{"_key":153,"_type":154,"colorSource":50,"snippet":155},"a7d727732e11","code.block",{"_type":156,"code":157,"language":158},"code","npm run cssvars:generate","bash",{"_key":160,"_type":99,"children":161,"markDefs":174,"style":115},"5a1077b77323",[162,166,170],{"_key":163,"_type":103,"marks":164,"text":165},"a0e04e1eefad",[],"This runs automatically on ",{"_key":167,"_type":103,"marks":168,"text":169},"56021d3065b8",[156],"npm run dev",{"_key":171,"_type":103,"marks":172,"text":173},"8d124c764a2b",[]," and as part of the build, so in practice you only run it by hand after editing colours in a running session.",[],"Regenerate the variables",{"_key":177,"_type":138,"content":178,"title":199},"fa8d5c2a6689",[179,195],{"_key":180,"_type":99,"children":181,"markDefs":194,"style":115},"be42b696648c",[182,186,190],{"_key":183,"_type":103,"marks":184,"text":185},"7184a45287c7",[],"Fonts are declared in ",{"_key":187,"_type":103,"marks":188,"text":189},"b1983fbdcfc4",[156],"fonts.js",{"_key":191,"_type":103,"marks":192,"text":193},"093abd6976e5",[]," and compiled in the same way.",[],{"_key":196,"_type":154,"colorSource":50,"snippet":197},"21902c9755ce",{"_type":156,"code":198,"language":158},"npm run fonts:generate","Set the fonts",{"_key":201,"_type":202,"content":203,"options":229,"title":233,"tone":234},"b5e1d0854b3e","docs.callout",[204,217],{"_key":205,"_type":99,"children":206,"markDefs":216,"style":115},"cd29d5c13177",[207,212],{"_key":208,"_type":103,"marks":209,"text":211},"d1007a09c0dd",[210],"strong","No hex codes in Vue files.",{"_key":213,"_type":103,"marks":214,"text":215},"6f9b4c36ca2e",[]," A colour written into a component is a colour the CMS cannot change.",[],{"_key":218,"_type":99,"children":219,"markDefs":228,"style":115},"12cf8faba619",[220,224],{"_key":221,"_type":103,"marks":222,"text":223},"ee9f1a542835",[210],"One owner for theme application. ",{"_key":225,"_type":103,"marks":226,"text":227},"36ac077cd295",[],"Theme and font variables are set in exactly one place, above the layout. Layouts are purely structural, which is why adding a new layout inherits both without copying a line.",[],{"_type":124,"colorSource":50,"container":125,"hideSection":14,"mediaOpacity":126,"padding":230,"slideEffect":127,"sticky":14},{"_type":231,"bottom":232,"top":232},"padding.options",30,"Two rules that keep this working","warning",{"_key":236,"_type":94,"alignment":95,"content":237,"options":267,"width":128},"5d1b5847d67e",[238,246,253,260],{"_key":239,"_type":99,"children":240,"markDefs":245,"style":107},"488d2e2c332f",[241],{"_key":242,"_type":103,"marks":243,"text":244},"536547493ce0",[],"Light and dark",[],{"_key":247,"_type":99,"children":248,"markDefs":252,"style":115},"91586a34b4a3",[249],{"_key":242,"_type":103,"marks":250,"text":251},[],"The colour scheme is resolved at _build_ time, not render time. The generator emits every scheme-dependent value under the same variable names in each scheme's block, so switching schemes is a plain CSS cascade override, and no component needs changing.",[],{"_key":254,"_type":99,"children":255,"markDefs":259,"style":115},"12efab82ee6f",[256],{"_key":242,"_type":103,"marks":257,"text":258},[],"This matters more than it sounds on a prerendered site. The server cannot know a visitor's colour scheme, so anything scheme-dependent in rendered markup — a class, an attribute, an inline style — hydrates differently than it rendered. Keeping the decision in CSS is what makes the feature safe.",[],{"_key":261,"_type":99,"children":262,"markDefs":266,"style":115},"f846260cf71b",[263],{"_key":242,"_type":103,"marks":264,"text":265},[],"Derived colours are derived at build time too: accent hover states, outline borders, elevated surfaces, gradient stops. Adding a new scheme-dependent colour means adding a variable to the generator, not a branch in a component.",[],{"_type":124,"colorSource":50,"container":125,"hideSection":14,"mediaOpacity":126,"slideEffect":127,"sticky":14,"tocLabel":244},{"_key":269,"_type":270,"columns":271,"monoFirstColumn":274,"options":275,"rows":276},"1a7019e039b2","docs.table",[272,273],"Surface","Controlled by",true,{"_type":124,"colorSource":50,"container":125,"hideSection":14,"mediaOpacity":126,"slideEffect":127,"sticky":14},[277,283,288,293,298,303,308],{"_key":278,"_type":279,"cells":280},"20b7eda77ac0","docs.table.row",[281,282],"Site default","Site settings → theme",{"_key":284,"_type":279,"cells":285},"f08bdae98993",[286,287],"A page","The page's own colour options",{"_key":289,"_type":279,"cells":290},"81bd5f43faf8",[291,292],"A section","Section options → theme",{"_key":294,"_type":279,"cells":295},"24ab9a251161",[296,297],"Navigation bar","Navigation config, with a per-page override",{"_key":299,"_type":279,"cells":300},"96dd8cd5c6d7",[301,302],"Footer","Footer config, with a per-page override",{"_key":304,"_type":279,"cells":305},"6c60c8713027",[306,307],"Form inputs","Form block's input theme, defaulting to the page theme",{"_key":309,"_type":279,"cells":310},"70c0bd5ab6f0",[311,312],"Code blocks","Inherit the page theme, or use Shiki's palette",{"_type":314,"bodyFont":315,"primaryFont":315},"font.options","","Colours and fonts are content. Rebranding a site is editing, not refactoring.","documentation","\u002Ftheming-and-fonts",{"_type":320,"includeInSitemap":274,"slug":321},"page.routing.options",{"_type":322,"current":323},"slug","theming-and-fonts",{"_type":325,"favicon":326,"image":53,"schema":327,"socialImages":329},"seo",{"mimeType":53,"url":53},{"organizationType":328},"Organization",{"facebook":53,"linkedin":53,"twitter":53},{"_id":331,"_type":332,"groups":333,"title":388},"59fde457-2b98-4571-9d63-57f3f505f4c4","docs.navigation",[334,353,374],{"_key":335,"items":336,"title":352},"b1d02b598607",[337,342,347],{"_id":338,"_type":89,"slug":339,"title":340,"url":341},"c6fe71b8-698e-4891-bc01-13bff89ed46c","docs","Introduction","\u002Fdocs",{"_id":343,"_type":89,"slug":344,"title":345,"url":346},"9e45c218-c8d2-405d-be9a-4d07deb63510","docs\u002Fquick-start","Quick start","\u002Fdocs\u002Fquick-start",{"_id":348,"_type":89,"slug":349,"title":350,"url":351},"be1523b9-037b-438f-8753-f8149456ed44","docs\u002Fproject-structure","Project structure","\u002Fdocs\u002Fproject-structure","Get started",{"_key":354,"items":355,"title":373},"1fb624003506",[356,361,366,368],{"_id":357,"_type":89,"slug":358,"title":359,"url":360},"afcfec8e-fad2-4ed3-88dc-6506a8c82df6","docs\u002Fpage-builder","The page builder","\u002Fdocs\u002Fpage-builder",{"_id":362,"_type":89,"slug":363,"title":364,"url":365},"d09e9c43-5d71-4fb4-bf42-2682568d5b0a","docs\u002Fblock-library","Block library","\u002Fdocs\u002Fblock-library",{"_id":87,"_type":89,"slug":323,"title":367,"url":318},"Theming & fonts",{"_id":369,"_type":89,"slug":370,"title":371,"url":372},"8a285811-c9d0-4f3a-94a8-be92f25d0311","docs\u002Fforms","Forms","\u002Fdocs\u002Fforms","Building pages",{"_key":375,"items":376,"title":387},"c7a7dc892511",[377,382],{"_id":378,"_type":89,"slug":379,"title":380,"url":381},"eb75dbb1-d328-44cf-a075-52a8d0d884ba","docs\u002Fdeployment","Deployment","\u002Fdocs\u002Fdeployment",{"_id":383,"_type":89,"slug":384,"title":385,"url":386},"d1bc093a-f8b7-4dc8-aac8-5f92fffcf2c3","docs\u002Fseo-and-redirects","SEO & Redirects","\u002Fdocs\u002Fseo-and-redirects","Deploying","Documentation sidebar","\u003Cpre class=\"shiki shiki-themes github-light github-dark nuxion-code__pre\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">defineField\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">({\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">    name: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'heading'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">    title: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'Heading'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">    type: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'string'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">    validation\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: (\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#E36209;--shiki-dark:#FFAB70\">rule\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">) \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">=>\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> rule.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">required\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">(),\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">    group: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'general'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">}),\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>","\u003Cpre class=\"shiki shiki-themes github-light github-dark nuxion-code__pre\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">script\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\"> setup\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\"> lang\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"ts\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> type\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> { CustomHero, ComponentProps } \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> '~~\u002Ftypes'\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">interface\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\"> Props\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> extends\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\"> ComponentProps\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">CustomHero\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">> {}\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> props\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\"> defineProps\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">Props\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>()\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#22863A;--shiki-dark:#85E89D\">script\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",1789667184578]