[{"data":1,"prerenderedAt":1526},["ShallowReactive",2],{"navigation_docs":3,"-guide-website-theme":613,"-guide-website-theme-surround":1523},[4,39,101,378,540,562,584,606],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Start","i-lucide-rocket","\u002Fstart","1.start",[10,14,18,22,26,30,34],{"title":11,"path":12,"stem":13},"Our approach","\u002Fstart\u002Four-approach","1.start\u002F0.our-approach",{"title":15,"path":16,"stem":17},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fstart\u002Fconcepts","1.start\u002F2.concepts",{"title":23,"path":24,"stem":25},"Glossary","\u002Fstart\u002Fglossary","1.start\u002F3.glossary",{"title":27,"path":28,"stem":29},"Try it locally","\u002Fstart\u002Ftry-it-locally","1.start\u002F4.try-it-locally",{"title":31,"path":32,"stem":33},"Features","\u002Fstart\u002Ffeatures","1.start\u002F5.features",{"title":35,"path":36,"stem":37},"Questions","\u002Fstart\u002Ffaq","1.start\u002F6.faq",false,{"title":40,"icon":41,"path":42,"stem":43,"children":44,"page":38},"Run SHADE","i-lucide-server","\u002Frun","2.run",[45,49,53,57,61,65,69,73,77,81,85,89,93,97],{"title":46,"path":47,"stem":48},"Setting up an instance (Coolify)","\u002Frun\u002Fcoolify","2.run\u002F1.coolify",{"title":50,"path":51,"stem":52},"Console commands","\u002Frun\u002Fconsole","2.run\u002F10.console",{"title":54,"path":55,"stem":56},"Rotating APP_SECRET","\u002Frun\u002Frotating-app-secret","2.run\u002F11.rotating-app-secret",{"title":58,"path":59,"stem":60},"Checking an instance","\u002Frun\u002Fdoctor","2.run\u002F12.doctor",{"title":62,"path":63,"stem":64},"Self-hosting by hand","\u002Frun\u002Fown-server-by-hand","2.run\u002F13.own-server-by-hand",{"title":66,"path":67,"stem":68},"NixOS (experimental)","\u002Frun\u002Fnixos","2.run\u002F14.nixos",{"title":70,"path":71,"stem":72},"Self-hosting without Coolify","\u002Frun\u002Fown-server","2.run\u002F2.own-server",{"title":74,"path":75,"stem":76},"Hosting the site on a static host","\u002Frun\u002Fstatic-hosts","2.run\u002F3.static-hosts",{"title":78,"path":79,"stem":80},"Licence","\u002Frun\u002Flicence","2.run\u002F4.licence",{"title":82,"path":83,"stem":84},"Updating and backups","\u002Frun\u002Fupdating-and-backups","2.run\u002F5.updating-and-backups",{"title":86,"path":87,"stem":88},"Troubleshooting","\u002Frun\u002Ftroubleshooting","2.run\u002F6.troubleshooting",{"title":90,"path":91,"stem":92},"Logs, request ids, traces and metrics","\u002Frun\u002Flogs","2.run\u002F7.logs",{"title":94,"path":95,"stem":96},"Maintenance mode","\u002Frun\u002Fmaintenance-mode","2.run\u002F8.maintenance-mode",{"title":98,"path":99,"stem":100},"Usage limits","\u002Frun\u002Fusage-limits","2.run\u002F9.usage-limits",{"title":102,"icon":103,"path":104,"stem":105,"children":106},"Guide","i-lucide-book-open","\u002Fguide","3.guide",[107,109,147,192,210,280,310,364],{"title":102,"path":104,"stem":108},"3.guide\u002Findex",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":38},"Content","i-lucide-file-text","\u002Fguide\u002Fcontent","3.guide\u002F1.content",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Collections and entries","\u002Fguide\u002Fcontent\u002Fcollections","3.guide\u002F1.content\u002F1.collections",{"title":120,"path":121,"stem":122},"Field types","\u002Fguide\u002Fcontent\u002Ffields","3.guide\u002F1.content\u002F2.fields",{"title":124,"path":125,"stem":126},"Drafts, publishing and version history","\u002Fguide\u002Fcontent\u002Fversions","3.guide\u002F1.content\u002F3.versions",{"title":128,"path":129,"stem":130},"Languages","\u002Fguide\u002Fcontent\u002Flanguages","3.guide\u002F1.content\u002F4.languages",{"title":132,"path":133,"stem":134},"Data sources","\u002Fguide\u002Fcontent\u002Fdata-sources","3.guide\u002F1.content\u002F5.data-sources",{"title":136,"path":137,"stem":138},"Media","\u002Fguide\u002Fcontent\u002Fmedia","3.guide\u002F1.content\u002F6.media",{"title":140,"path":141,"stem":142},"Search","\u002Fguide\u002Fcontent\u002Fsearch","3.guide\u002F1.content\u002F7.search",{"title":144,"path":145,"stem":146},"Trash","\u002Fguide\u002Fcontent\u002Ftrash","3.guide\u002F1.content\u002F8.trash",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":38},"Website","i-lucide-globe","\u002Fguide\u002Fwebsite","3.guide\u002F2.website",[153,156,160,164,168,172,176,180,184,188],{"title":148,"path":154,"stem":155},"\u002Fguide\u002Fwebsite\u002Fwebsite","3.guide\u002F2.website\u002F1.website",{"title":157,"path":158,"stem":159},"Scroll scenes","\u002Fguide\u002Fwebsite\u002Fscroll-scenes","3.guide\u002F2.website\u002F10.scroll-scenes",{"title":161,"path":162,"stem":163},"Pages and posts","\u002Fguide\u002Fwebsite\u002Fpages","3.guide\u002F2.website\u002F2.pages",{"title":165,"path":166,"stem":167},"The visual editor","\u002Fguide\u002Fwebsite\u002Fvisual-editor","3.guide\u002F2.website\u002F3.visual-editor",{"title":169,"path":170,"stem":171},"Roles and locks","\u002Fguide\u002Fwebsite\u002Froles-and-locks","3.guide\u002F2.website\u002F4.roles-and-locks",{"title":173,"path":174,"stem":175},"Header and footer","\u002Fguide\u002Fwebsite\u002Fheader-and-footer","3.guide\u002F2.website\u002F5.header-and-footer",{"title":177,"path":178,"stem":179},"Theme","\u002Fguide\u002Fwebsite\u002Ftheme","3.guide\u002F2.website\u002F6.theme",{"title":181,"path":182,"stem":183},"Redirects","\u002Fguide\u002Fwebsite\u002Fredirects","3.guide\u002F2.website\u002F7.redirects",{"title":185,"path":186,"stem":187},"Site settings","\u002Fguide\u002Fwebsite\u002Fsite-settings","3.guide\u002F2.website\u002F8.site-settings",{"title":189,"path":190,"stem":191},"The site","\u002Fguide\u002Fwebsite\u002Fthe-site","3.guide\u002F2.website\u002F9.the-site",{"title":193,"icon":194,"path":195,"stem":196,"children":197,"page":38},"Publishing","i-lucide-send","\u002Fguide\u002Fpublishing","3.guide\u002F3.publishing",[198,202,206],{"title":199,"path":200,"stem":201},"Publishing and preview","\u002Fguide\u002Fpublishing\u002Fpublishing","3.guide\u002F3.publishing\u002F1.publishing",{"title":203,"path":204,"stem":205},"Builds","\u002Fguide\u002Fpublishing\u002Fbuilds","3.guide\u002F3.publishing\u002F2.builds",{"title":207,"path":208,"stem":209},"CDN caches","\u002Fguide\u002Fpublishing\u002Fcaches","3.guide\u002F3.publishing\u002F3.caches",{"title":211,"icon":212,"path":213,"stem":214,"children":215,"page":38},"People, security and privacy","i-lucide-shield","\u002Fguide\u002Fpeople-and-security","3.guide\u002F4.people-and-security",[216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":217,"path":218,"stem":219},"People in SHADE","\u002Fguide\u002Fpeople-and-security\u002Fpeople-in-shade","3.guide\u002F4.people-and-security\u002F0.people-in-shade",{"title":221,"path":222,"stem":223},"Team and roles","\u002Fguide\u002Fpeople-and-security\u002Fteam","3.guide\u002F4.people-and-security\u002F1.team",{"title":225,"path":226,"stem":227},"Errors and security alerts","\u002Fguide\u002Fpeople-and-security\u002Ferrors","3.guide\u002F4.people-and-security\u002F10.errors",{"title":229,"path":230,"stem":231},"Exporting an instance","\u002Fguide\u002Fpeople-and-security\u002Fexporting","3.guide\u002F4.people-and-security\u002F11.exporting",{"title":233,"path":234,"stem":235},"Organisations","\u002Fguide\u002Fpeople-and-security\u002Forganisations","3.guide\u002F4.people-and-security\u002F12.organisations",{"title":237,"path":238,"stem":239},"Signing in through an identity provider (team)","\u002Fguide\u002Fpeople-and-security\u002Fidentity-providers","3.guide\u002F4.people-and-security\u002F13.identity-providers",{"title":241,"path":242,"stem":243},"System status","\u002Fguide\u002Fpeople-and-security\u002Fsystem-status","3.guide\u002F4.people-and-security\u002F14.system-status",{"title":245,"path":246,"stem":247},"Appearance","\u002Fguide\u002Fpeople-and-security\u002Fappearance","3.guide\u002F4.people-and-security\u002F15.appearance",{"title":249,"path":250,"stem":251},"Accounts and personal pages","\u002Fguide\u002Fpeople-and-security\u002Faccounts","3.guide\u002F4.people-and-security\u002F2.accounts",{"title":253,"path":254,"stem":255},"Signing in (team)","\u002Fguide\u002Fpeople-and-security\u002Fsign-in","3.guide\u002F4.people-and-security\u002F3.sign-in",{"title":257,"path":258,"stem":259},"API tokens","\u002Fguide\u002Fpeople-and-security\u002Fapi-tokens","3.guide\u002F4.people-and-security\u002F4.api-tokens",{"title":261,"path":262,"stem":263},"Audit log","\u002Fguide\u002Fpeople-and-security\u002Faudit","3.guide\u002F4.people-and-security\u002F5.audit",{"title":265,"path":266,"stem":267},"Request protection","\u002Fguide\u002Fpeople-and-security\u002Fprotection","3.guide\u002F4.people-and-security\u002F6.protection",{"title":269,"path":270,"stem":271},"Personal data per person","\u002Fguide\u002Fpeople-and-security\u002Fprivacy","3.guide\u002F4.people-and-security\u002F7.privacy",{"title":273,"path":274,"stem":275},"Data retention","\u002Fguide\u002Fpeople-and-security\u002Fretention","3.guide\u002F4.people-and-security\u002F8.retention",{"title":277,"path":278,"stem":279},"Consent banner","\u002Fguide\u002Fpeople-and-security\u002Fconsent","3.guide\u002F4.people-and-security\u002F9.consent",{"title":281,"icon":282,"path":283,"stem":284,"children":285,"page":38},"Services","i-lucide-plug","\u002Fguide\u002Fservices","3.guide\u002F5.services",[286,290,294,298,302,306],{"title":287,"path":288,"stem":289},"Email","\u002Fguide\u002Fservices\u002Femail","3.guide\u002F5.services\u002F1.email",{"title":291,"path":292,"stem":293},"Opening hours","\u002Fguide\u002Fservices\u002Fopening-hours","3.guide\u002F5.services\u002F4.opening-hours",{"title":295,"path":296,"stem":297},"Webhooks","\u002Fguide\u002Fservices\u002Fwebhooks","3.guide\u002F5.services\u002F5.webhooks",{"title":299,"path":300,"stem":301},"Locations","\u002Fguide\u002Fservices\u002Flocations","3.guide\u002F5.services\u002F6.locations",{"title":303,"path":304,"stem":305},"VAT rates","\u002Fguide\u002Fservices\u002Fvat-rates","3.guide\u002F5.services\u002F7.vat-rates",{"title":307,"path":308,"stem":309},"Channels","\u002Fguide\u002Fservices\u002Fchannels","3.guide\u002F5.services\u002F8.channels",{"title":311,"icon":312,"path":313,"stem":314,"children":315,"page":38},"InstalledModules","i-lucide-puzzle","\u002Fguide\u002Fmodules","3.guide\u002F6.modules",[316,320,324,328,332,336,340,344,348,352,356,360],{"title":317,"path":318,"stem":319},"Modules","\u002Fguide\u002Fmodules\u002Fmanaging","3.guide\u002F6.modules\u002F1.managing",{"title":321,"path":322,"stem":323},"Dutch services (module)","\u002Fguide\u002Fmodules\u002Fnl","3.guide\u002F6.modules\u002F10.nl",{"title":325,"path":326,"stem":327},"Editorial (module)","\u002Fguide\u002Fmodules\u002Feditorial","3.guide\u002F6.modules\u002F11.editorial",{"title":329,"path":330,"stem":331},"Appointments (module)","\u002Fguide\u002Fmodules\u002Fappointments","3.guide\u002F6.modules\u002F2.appointments",{"title":333,"path":334,"stem":335},"Shop (the commerce module)","\u002Fguide\u002Fmodules\u002Fshop","3.guide\u002F6.modules\u002F3.shop",{"title":337,"path":338,"stem":339},"Untrusted modules","\u002Fguide\u002Fmodules\u002Funtrusted","3.guide\u002F6.modules\u002F4.untrusted",{"title":341,"path":342,"stem":343},"Analytics (module)","\u002Fguide\u002Fmodules\u002Fanalytics","3.guide\u002F6.modules\u002F5.analytics",{"title":345,"path":346,"stem":347},"Error forwarding (module)","\u002Fguide\u002Fmodules\u002Ferror-forwarding","3.guide\u002F6.modules\u002F6.error-forwarding",{"title":349,"path":350,"stem":351},"Client programs","\u002Fguide\u002Fmodules\u002Fprograms","3.guide\u002F6.modules\u002F7.programs",{"title":353,"path":354,"stem":355},"Import and export (module)","\u002Fguide\u002Fmodules\u002Fimport","3.guide\u002F6.modules\u002F8.import",{"title":357,"path":358,"stem":359},"Payments (module)","\u002Fguide\u002Fmodules\u002Fpayments","3.guide\u002F6.modules\u002F8.payments",{"title":361,"path":362,"stem":363},"Forms (module)","\u002Fguide\u002Fmodules\u002Fforms","3.guide\u002F6.modules\u002F9.forms",{"title":365,"icon":366,"path":367,"stem":368,"children":369,"page":38},"AI assistants","i-lucide-bot","\u002Fguide\u002Fai","3.guide\u002F7.ai",[370,374],{"title":371,"path":372,"stem":373},"AI assistants (MCP)","\u002Fguide\u002Fai\u002Fassistants","3.guide\u002F7.ai\u002F1.assistants",{"title":375,"path":376,"stem":377},"Connecting an AI assistant","\u002Fguide\u002Fai\u002Fconnecting","3.guide\u002F7.ai\u002F2.connecting",{"title":379,"icon":380,"path":381,"stem":382,"children":383,"page":38},"Developers","i-lucide-code","\u002Fdevelopers","4.developers",[384,388,392,396,400,404,408,412,416,420,424,428,432,435,489,493,497,501,536],{"title":385,"path":386,"stem":387},"Architecture","\u002Fdevelopers\u002Farchitecture","4.developers\u002F1.architecture",{"title":389,"path":390,"stem":391},"Capabilities","\u002Fdevelopers\u002Fcapabilities","4.developers\u002F10.capabilities",{"title":393,"path":394,"stem":395},"Trust","\u002Fdevelopers\u002Ftrust","4.developers\u002F11.trust",{"title":397,"path":398,"stem":399},"Redis and the ports","\u002Fdevelopers\u002Fredis","4.developers\u002F12.redis",{"title":401,"path":402,"stem":403},"The worker container role","\u002Fdevelopers\u002Fworker","4.developers\u002F13.worker",{"title":405,"path":406,"stem":407},"kv: a module's own key-value storage","\u002Fdevelopers\u002Fkv","4.developers\u002F14.kv",{"title":409,"path":410,"stem":411},"Processes: long-running work on the worker","\u002Fdevelopers\u002Fprocesses","4.developers\u002F15.processes",{"title":413,"path":414,"stem":415},"Network: a module's outgoing calls","\u002Fdevelopers\u002Fnetwork","4.developers\u002F16.network",{"title":417,"path":418,"stem":419},"Realtime","\u002Fdevelopers\u002Frealtime","4.developers\u002F17.realtime",{"title":421,"path":422,"stem":423},"Private files","\u002Fdevelopers\u002Ffiles","4.developers\u002F18.files",{"title":425,"path":426,"stem":427},"Notify","\u002Fdevelopers\u002Fnotify","4.developers\u002F19.notify",{"title":429,"path":430,"stem":431},"Collections","\u002Fdevelopers\u002Fcollections","4.developers\u002F2.collections",{"title":337,"path":433,"stem":434},"\u002Fdevelopers\u002Funtrusted","4.developers\u002F20.untrusted",{"title":436,"icon":312,"path":437,"stem":438,"children":439},"Writing a plugin","\u002Fdevelopers\u002Fmodules","4.developers\u002F3.modules\u002Findex",[440,442,446,450,454,458,462,466,470,473,477,481,485],{"title":441,"path":437,"stem":438},"Writing a module",{"title":443,"path":444,"stem":445},"Module SDK and tooling","\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling","4.developers\u002F3.modules\u002F1.sdk-and-tooling",{"title":447,"path":448,"stem":449},"Connecting accounts with OAuth2","\u002Fdevelopers\u002Fmodules\u002Foauth","4.developers\u002F3.modules\u002F10.oauth",{"title":451,"path":452,"stem":453},"Calls between modules","\u002Fdevelopers\u002Fmodules\u002Fcalls-between-modules","4.developers\u002F3.modules\u002F11.calls-between-modules",{"title":455,"path":456,"stem":457},"Experimental parts","\u002Fdevelopers\u002Fmodules\u002Fexperimental-parts","4.developers\u002F3.modules\u002F12.experimental-parts",{"title":459,"path":460,"stem":461},"The manifest","\u002Fdevelopers\u002Fmodules\u002Fmanifest","4.developers\u002F3.modules\u002F2.manifest",{"title":463,"path":464,"stem":465},"Routes","\u002Fdevelopers\u002Fmodules\u002Froutes","4.developers\u002F3.modules\u002F3.routes",{"title":467,"path":468,"stem":469},"Admin screens and the site part","\u002Fdevelopers\u002Fmodules\u002Fadmin-and-site","4.developers\u002F3.modules\u002F4.admin-and-site",{"title":110,"path":471,"stem":472},"\u002Fdevelopers\u002Fmodules\u002Fcontent","4.developers\u002F3.modules\u002F5.content",{"title":474,"path":475,"stem":476},"Background work and services","\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services","4.developers\u002F3.modules\u002F6.background-and-services",{"title":478,"path":479,"stem":480},"SDK reference","\u002Fdevelopers\u002Fmodules\u002Fsdk-reference","4.developers\u002F3.modules\u002F7.sdk-reference",{"title":482,"path":483,"stem":484},"The website module's SDK","\u002Fdevelopers\u002Fmodules\u002Fwebsite-sdk","4.developers\u002F3.modules\u002F8.website-sdk",{"title":486,"path":487,"stem":488},"Incoming webhooks","\u002Fdevelopers\u002Fmodules\u002Fincoming-webhooks","4.developers\u002F3.modules\u002F9.incoming-webhooks",{"title":490,"path":491,"stem":492},"Core and the website module","\u002Fdevelopers\u002Fcore-and-website-module","4.developers\u002F4.core-and-website-module",{"title":494,"path":495,"stem":496},"The API","\u002Fdevelopers\u002Fapi","4.developers\u002F6.api",{"title":498,"path":499,"stem":500},"API reference","\u002Fdevelopers\u002Fapi-reference","4.developers\u002F6.api-reference",{"title":502,"icon":503,"path":504,"stem":505,"children":506},"Sites in other frameworks","i-lucide-layout-template","\u002Fdevelopers\u002Fframeworks","4.developers\u002F7.frameworks\u002Findex",[507,508,512,516,520,524,528,532],{"title":502,"path":504,"stem":505},{"title":509,"path":510,"stem":511},"Accounts: sign-in and modules' routes","\u002Fdevelopers\u002Fframeworks\u002Faccounts","4.developers\u002F7.frameworks\u002F1.accounts",{"title":513,"path":514,"stem":515},"`@shadestack\u002Ftree`","\u002Fdevelopers\u002Fframeworks\u002Ftree","4.developers\u002F7.frameworks\u002F2.tree",{"title":517,"path":518,"stem":519},"Expressions and styles","\u002Fdevelopers\u002Fframeworks\u002Fexpressions-and-styles","4.developers\u002F7.frameworks\u002F3.expressions-and-styles",{"title":521,"path":522,"stem":523},"`@shadestack\u002Frender`","\u002Fdevelopers\u002Fframeworks\u002Frender","4.developers\u002F7.frameworks\u002F4.render",{"title":525,"path":526,"stem":527},"`@shadestack\u002Finteractions`","\u002Fdevelopers\u002Fframeworks\u002Finteractions","4.developers\u002F7.frameworks\u002F5.interactions",{"title":529,"path":530,"stem":531},"`@shadestack\u002Fa11y`","\u002Fdevelopers\u002Fframeworks\u002Fa11y","4.developers\u002F7.frameworks\u002F6.a11y",{"title":533,"path":534,"stem":535},"Your own page for SHADE's links","\u002Fdevelopers\u002Fframeworks\u002Flinks","4.developers\u002F7.frameworks\u002F7.links",{"title":537,"path":538,"stem":539},"Build a client module","\u002Fdevelopers\u002Fclient-module","4.developers\u002F9.client-module",{"title":541,"icon":542,"path":543,"stem":544,"children":545,"page":38},"Security","i-lucide-shield-check","\u002Fsecurity","5.security",[546,550,554,558],{"title":547,"path":548,"stem":549},"Reporting a vulnerability","\u002Fsecurity\u002Freporting","5.security\u002F0.reporting",{"title":551,"path":552,"stem":553},"Security testing","\u002Fsecurity\u002Ftesting","5.security\u002F1.testing",{"title":555,"path":556,"stem":557},"Hardening a production instance","\u002Fsecurity\u002Fhardening","5.security\u002F2.hardening",{"title":559,"path":560,"stem":561},"Manual testing with Kali Linux","\u002Fsecurity\u002Fmanual-testing","5.security\u002F3.manual-testing",{"title":563,"icon":564,"path":565,"stem":566,"children":567,"page":38},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","6.contributing",[568,572,576,580],{"title":569,"path":570,"stem":571},"Reading the code","\u002Fcontributing\u002Freading-the-code","6.contributing\u002F1.reading-the-code",{"title":573,"path":574,"stem":575},"Docs site","\u002Fcontributing\u002Fdocs-site","6.contributing\u002F2.docs-site",{"title":577,"path":578,"stem":579},"Releases","\u002Fcontributing\u002Freleases","6.contributing\u002F3.releases",{"title":581,"path":582,"stem":583},"Load tests","\u002Fcontributing\u002Fload-tests","6.contributing\u002F4.load-tests",{"title":585,"icon":586,"path":587,"stem":588,"children":589,"page":38},"Project","i-lucide-map","\u002Fproject","7.project",[590,594,598,602],{"title":591,"path":592,"stem":593},"Roadmap","\u002Fproject\u002Froadmap","7.project\u002F1.roadmap",{"title":595,"path":596,"stem":597},"Known issues","\u002Fproject\u002Fknown-issues","7.project\u002F2.known-issues",{"title":599,"path":600,"stem":601},"Changelog","\u002Fproject\u002Fchangelog","7.project\u002F3.changelog",{"title":603,"path":604,"stem":605},"Decisions","\u002Fproject\u002Fdecisions","7.project\u002F4.decisions",{"title":607,"path":608,"stem":609,"children":610,"icon":612},"Community","\u002Fcommunity","8.community\u002Findex",[611],{"title":607,"path":608,"stem":609},"i-lucide-users",{"id":614,"title":177,"body":615,"description":1500,"extension":1517,"links":1518,"meta":1519,"navigation":1520,"path":178,"seo":1521,"stem":179,"__hash__":1522},"docs\u002F3.guide\u002F2.website\u002F6.theme.md",{"type":616,"value":617,"toc":1499},"minimark",[618,634,649,654,657,682,685,690,694,702,799,802,806,813,822,831,834,1032,1035,1042,1058,1106,1110,1113,1215,1229,1267,1271,1376,1403,1407,1413,1417,1434,1438,1441],[619,620,621,622,626,627,629,630,633],"p",{},"The theme is the site's design: its colours, fonts and sizes. Everything on the website takes its look from the\ntheme, so changing a colour once changes it everywhere. It is the ",[623,624,625],"a",{"href":154},"website module","'s,\nedited by admins. Saving keeps a draft that only the admin sees; the site shows the theme once it is published, as\nwith a page (",[623,628,199],{"href":200},"). The site's name, address, default SEO and languages are\nSHADE's ",[623,631,632],{"href":186},"site settings",". SHADE itself keeps no theme: a frontend on an instance without the website\nmodule gets none and brings its own styling.",[619,635,636,637,641,642,645,646,648],{},"The design is layered: the theme first, the site's styles on top. The theme's colours, fonts and sizes are the\nsite's first ",[638,639,640],"strong",{},"variables",", with the same names and values, and the classes made in the visual editor's ",[638,643,644],{},"Style","\npanel go on top of them (",[623,647,161],{"href":162},").",[650,651,653],"h2",{"id":652},"what-users-can-do","What users can do",[619,655,656],{},"Admins:",[658,659,660,664,667,670,673,676],"ul",{},[661,662,663],"li",{},"Change the theme: 9 colours, 3 font stacks, web fonts, the type scale, spacing unit, corner radius and container\nwidth.",[661,665,666],{},"Give the site dark colours (dark mode): the same 9 colours for visitors who prefer dark, and choose where a visitor\nstarts: their device's setting, or always light or always dark until they switch.",[661,668,669],{},"See the site's home page next to the form, following every unsaved change live, before saving.",[661,671,672],{},"Save the theme as a draft, publish it when it is ready, and look back through its history and restore an earlier\nversion.",[661,674,675],{},"With the editorial module on, schedule the theme to go live at a set time, or put it in a release with pages that\ngo live together with it, all or nothing. A schedule or release publishes the draft that was saved when it was set;\nlater changes to the draft wait for a publish of their own.",[661,677,678,679,648],{},"Reset the form to the default theme (nothing is saved until ",[638,680,681],{},"Save",[619,683,684],{},"Editors:",[658,686,687],{},[661,688,689],{},"Nothing on this screen. They can read the theme (the visual editor shows its draft), but not change or publish it.",[650,691,693],{"id":692},"who-may-do-it","Who may do it",[619,695,696,697,701],{},"The theme is the website module's ",[698,699,700],"code",{},"website-theme"," entry, so its permissions are that collection's own.",[703,704,705,721],"table",{},[706,707,708],"thead",{},[709,710,711,715,718],"tr",{},[712,713,714],"th",{},"Action",[712,716,717],{},"Permission",[712,719,720],{},"Roles",[722,723,724,738,751,763,775,787],"tbody",{},[709,725,726,730,735],{},[727,728,729],"td",{},"Read the theme",[727,731,732],{},[698,733,734],{},"collections.website-theme.read",[727,736,737],{},"admin, editor",[709,739,740,743,748],{},[727,741,742],{},"Save a draft of the theme",[727,744,745],{},[698,746,747],{},"collections.website-theme.update",[727,749,750],{},"admin",[709,752,753,756,761],{},[727,754,755],{},"Publish the theme",[727,757,758],{},[698,759,760],{},"collections.website-theme.publish",[727,762,750],{},[709,764,765,768,772],{},[727,766,767],{},"Get the theme editor's preview",[727,769,770],{},[698,771,734],{},[727,773,774],{},"admin, editor (only admins see the screen)",[709,776,777,780,785],{},[727,778,779],{},"See the site styles",[727,781,782],{},[698,783,784],{},"website.styles.read",[727,786,737],{},[709,788,789,792,797],{},[727,790,791],{},"Change the site styles",[727,793,794],{},[698,795,796],{},"website.styles.update",[727,798,750],{},[619,800,801],{},"AI assistants have no tool for the theme.",[650,803,805],{"id":804},"in-the-admin","In the admin",[619,807,808],{},[809,810],"img",{"alt":811,"src":812},"The Theme screen: colours, fonts and web fonts on the left, and the home page previewed with them on the right","\u002Fscreenshots\u002Ftheme.png",[814,815,817,818,821],"h3",{"id":816},"theme-moduleswebsitetheme","Theme (",[698,819,820],{},"\u002Fmodules\u002Fwebsite\u002Ftheme",")",[619,823,824,825,827,828,830],{},"Sidebar entry ",[638,826,177],{}," (palette icon) in the sidebar's ",[638,829,148],{}," section, shown to users who may change the theme.",[619,832,833],{},"A full-page editor: the form on the left, the site's home page on the right.",[658,835,836,855,877,891,931,949,955,987,1000,1010,1020,1029],{},[661,837,838,841,842,846,847,850,851,854],{},[638,839,840],{},"Colours",": Primary, Text on primary, Secondary, Accent, Background, Surface, Text, Muted text, Border. Each is\na hex text field with a swatch that opens a colour picker. Under them, the contrast of text on the background, of\nthe primary's own text on the primary, and of muted text on the background, each with its ratio and ",[843,844,845],"em",{},"AAA",", ",[843,848,849],{},"AA"," or\n",[843,852,853],{},"too low"," (4.5:1 is AA for text, 7:1 AAA).",[661,856,857,860,861,864,865,868,869,872,873,876],{},[638,858,859],{},"Dark mode",": ",[638,862,863],{},"Give the site dark colours"," adds the same 9 colours for dark mode, starting from SHADE's own dark\ncolours while the light ones are still the defaults, and otherwise from a dark set that follows the light colours (a\ngrey site gets grey, a slate one slate; a primary that wouldn't stand out on the dark ground is turned around), to\nchange to the site's own. Their contrast is shown as for the light ones, and\n",[638,866,867],{},"Light"," and ",[638,870,871],{},"Dark"," above the preview show the page in either. Visitors whose device is set to dark see them, and a ",[638,874,875],{},"Light and dark"," switch on a page\n(Add element → Interactive) lets anyone choose: one press shows the other mode, and their browser remembers it.\nFonts and sizes stay the same. Switched off, the site looks the same in both. The contrast checks look at both.",[661,878,879,882,883,886,887,890],{},[638,880,881],{},"Fonts",": Headings, Body, Monospace, as font stacks (for example ",[698,884,885],{},"Georgia, serif","). To use a web font, put its\nfamily name first: ",[698,888,889],{},"\"Inter\", system-ui, sans-serif",".",[661,892,893,896,897,900,901,904,905,908,909,912,913,916,917,920,921,908,923,926,927,930],{},[638,894,895],{},"Web fonts",": the theme's own fonts, at most 12. ",[843,898,899],{},"Add a web font"," opens the media library with WOFF2 files only\n(upload one there). Each font is one row: a ",[638,902,903],{},"Family"," (letters, digits, spaces and dashes; it starts as the file's name), a\n",[638,906,907],{},"Weight"," (",[843,910,911],{},"All weights"," = 100–900, for a variable font, ",[843,914,915],{},"Regular"," = 400, ",[843,918,919],{},"Bold"," = 700), a ",[638,922,644],{},[843,924,925],{},"Upright",",\n",[843,928,929],{},"Italic",") and a remove button, with the file's name under the family. Add a font twice under one family for its bold or italic file. The\ncard reminds editors to check that the font's licence allows use on a website.",[661,932,933,936,937,940,941,944,945,948],{},[638,934,935],{},"Import from Google Fonts",": type a family's name as Google Fonts lists it (",[698,938,939],{},"Open Sans","; letters, digits and\nspaces), tick ",[843,942,943],{},"With italics"," under it if you want them, and press ",[843,946,947],{},"Import",". See \"Importing a Google font\" below.",[661,950,951,954],{},[638,952,953],{},"Sizing",": Base font size, Type scale ratio, Spacing unit, Corner radius, Container width, as number fields\n(the arrow keys step them; pixels said in the field) with the limits below.",[661,956,957,958,961,962,965,966,868,968,971,972,975,976,978,979,982,983,986],{},"Header buttons: ",[638,959,960],{},"Reset to defaults"," (asks \"Reset the theme to its defaults?\"), ",[638,963,964],{},"History",", the editorial\nmodule's actions (schedule, add to a release) when it is on, ",[638,967,681],{},[638,969,970],{},"Publish",". Save is disabled until\nsomething changed; then ",[843,973,974],{},"Unsaved changes"," shows beside the buttons. After saving: \"Theme draft saved\"; the site\ndoesn't change yet. ",[638,977,970],{}," saves what is unsaved first and puts the draft on the site (\"Theme published\",\nwith \"The site will rebuild.\"). It reads ",[843,980,981],{},"Publish changes"," while the draft differs from the site and ",[843,984,985],{},"Published","\nwhen there is nothing to publish.",[661,988,989,991,992,995,996,999],{},[638,990,964],{}," lists the theme's versions with what changed in each (for example ",[843,993,994],{},"Primary colour"," ",[698,997,998],{},"#000000 → #2563eb",").\nRestoring one makes it the draft; publish it to put it on the site.",[661,1001,1002,1005,1006,1009],{},[638,1003,1004],{},"Two admins at once",": if someone else saved the theme since you opened the screen, your save is refused, so their\nchange isn't lost: \"Someone else changed the theme meanwhile\", with ",[638,1007,1008],{},"Reload the theme",", which shows the theme as\nit is now (your changes here go). Save and Publish stay off until then. A theme that, published at the same moment\nas the site's styles are saved, would make the consent banner hard to read is refused too.",[661,1011,1012,1015,1016,1019],{},[638,1013,1014],{},"Live preview",": the home page (or, if there is none, the most recently changed page) as the site draws it, at the\nmodule's ",[638,1017,1018],{},"Preview address",", in the default language, as in the website editor. Every change to the form shows\nin it a moment later, web fonts included, before saving; it waits until every value is valid (a half-typed colour\nwaits). An expired link or a site that fails says so in the panel. If the site has no pages yet, the panel shows\n\"No preview\" with \"Create a page first to preview the theme\". The preview is shown on large screens only; on small\nscreens the theme is edited without it.",[661,1021,1022,1025,1026,1028],{},[638,1023,1024],{},"Release preview",": the preview of a release that holds the theme shows the site's home page in the release's\ntheme version, at the module's ",[638,1027,1018],{},". A page's own preview keeps the published theme.",[661,1030,1031],{},"Users who may not change the theme get the form read-only, without the buttons.",[619,1033,1034],{},"The screen is in English and Dutch.",[814,1036,1038,1039,821],{"id":1037},"site-styles-moduleswebsitestyles","Site styles (",[698,1040,1041],{},"\u002Fmodules\u002Fwebsite\u002Fstyles",[619,1043,1044,1045,1047,1048,1050,1051,1054,1055,1057],{},"What the visual editor's ",[638,1046,644],{}," panel builds on, in the sidebar's ",[638,1049,148],{}," section as ",[638,1052,1053],{},"Site\nstyles",". Editors see it; admins change it. Changes are kept until ",[638,1056,681],{},", and go live when a page is next\npublished.",[658,1059,1060,1066,1072,1082,1096],{},[661,1061,1062,1065],{},[638,1063,1064],{},"Starting point:"," mobile first (breakpoints change styles for larger screens) or desktop first (for smaller\nones). A new site starts mobile first, with a tablet breakpoint at 768 pixels and a desktop one at 992. It can be\nswitched only while no style is set at a breakpoint, since switching turns what every breakpoint means around; the\ntwo buttons are then locked, and the screen says why.",[661,1067,1068,1071],{},[638,1069,1070],{},"Breakpoints:"," one row each, a name and a width in pixels, which can be changed; new ones are added below. The\nvisual editor offers each as a screen width to preview and style.",[661,1073,1074,1077,1078,1081],{},[638,1075,1076],{},"Container queries:"," styles that depend on the width of a box rather than the screen, each on a class that is a\ncontainer (made in the editor's Style panel), with a width from and to. While no class is a container, ",[638,1079,1080],{},"Open the\nvisual editor"," leads to the pages to make one.",[661,1083,1084,1087,1088,1091,1092,1095],{},[638,1085,1086],{},"Variables:"," the theme's colours, fonts and sizes come first, shown as they are, with a link to change them on the\nTheme screen. Other variables are kept in ",[638,1089,1090],{},"collections",", each with a dark mode or not; with one, each variable has\na light and a dark value. A collection is a table, one row per variable: its type (an icon: colour, size, font,\ncorner radius, shadow, number), its name, its name in CSS (",[698,1093,1094],{},"--brand-accent",") and its value in each mode side by\nside, which may refer to another variable. Renaming a variable's CSS name changes every style and variable that\nuses it.",[661,1097,1098,1101,1102,1105],{},[638,1099,1100],{},"Still used:"," removing a breakpoint, container query, variable or collection that styles still use is refused,\nand the screen lists where it is used (a class, an element's own styles on a page, another variable, a menu that\nfolds at the breakpoint), so nothing on the site changes by surprise. A breakpoint can't be called ",[698,1103,1104],{},"none",": that is\nwhat a menu set never to fold says.",[650,1107,1109],{"id":1108},"on-the-website","On the website",[619,1111,1112],{},"Every page carries the theme as variables, which the site's own styles and the Site styles use:",[658,1114,1115,1146,1158,1173,1207],{},[661,1116,1117,1118,846,1121,846,1124,846,1127,926,1130,846,1133,846,1136,846,1139,846,1142,1145],{},"colours: ",[698,1119,1120],{},"--color-primary",[698,1122,1123],{},"--color-primary-contrast",[698,1125,1126],{},"--color-secondary",[698,1128,1129],{},"--color-accent",[698,1131,1132],{},"--color-background",[698,1134,1135],{},"--color-surface",[698,1137,1138],{},"--color-text",[698,1140,1141],{},"--color-muted",[698,1143,1144],{},"--color-border",";",[661,1147,1148,1149,846,1152,846,1155,1145],{},"fonts: ",[698,1150,1151],{},"--font-heading",[698,1153,1154],{},"--font-body",[698,1156,1157],{},"--font-mono",[661,1159,1160,1161,1164,1165,1168,1169,1172],{},"type scale: ",[698,1162,1163],{},"--text-xs"," to ",[698,1166,1167],{},"--text-5xl"," (9 steps), each the base size times the ratio for each step up; ",[698,1170,1171],{},"--text-3xl","\nand larger shrink on small screens;",[661,1174,1175,1176,846,1179,846,1182,846,1185,846,1188,846,1191,846,1194,846,1197,846,1200,846,1203,1206],{},"spacing: ",[698,1177,1178],{},"--space-1",[698,1180,1181],{},"-2",[698,1183,1184],{},"-3",[698,1186,1187],{},"-4",[698,1189,1190],{},"-6",[698,1192,1193],{},"-8",[698,1195,1196],{},"-12",[698,1198,1199],{},"-16",[698,1201,1202],{},"-24",[698,1204,1205],{},"-32",", each that many spacing units;",[661,1208,1209,868,1212,890],{},[698,1210,1211],{},"--radius",[698,1213,1214],{},"--container",[619,1216,1217,1218,1220,1221,1224,1225,1228],{},"With dark colours, the colour variables take their dark values for a visitor whose device is set to dark, and for\nanyone who chose dark with a ",[638,1219,875],{}," switch (",[698,1222,1223],{},"data-shade-mode=\"dark\""," on the page, kept in their browser\nas ",[698,1226,1227],{},"shade-mode","). The page applies the choice before it draws, so it never flashes in the other mode.",[619,1230,1231,1234,1235,1237,1238,1241,1242,1244,1245,1247,1248,1251,1252,1254,1255,1258,1259,1262,1263,1266],{},[638,1232,1233],{},"Start in"," (under ",[638,1236,863],{},") says which mode a visitor sees first: ",[638,1239,1240],{},"Their device's setting","\n(the default), ",[638,1243,867],{}," or ",[638,1246,871],{},". With Light or Dark the page is written with ",[698,1249,1250],{},"data-shade-mode"," set to it, so it\nstarts there without a script and whatever the device says; a ",[638,1253,875],{}," switch still changes it, and the\nvisitor's choice, kept in their browser, wins over the default from then on. SHADE's own site starts in Dark. A\nfrontend of your own writes the attribute with ",[698,1256,1257],{},"startingMode(theme)"," from ",[698,1260,1261],{},"@shadestack\u002Fclient\u002Frender"," on ",[698,1264,1265],{},"\u003Chtml>",", as\nthe starters do.",[650,1268,1270],{"id":1269},"rules-and-limits","Rules and limits",[703,1272,1273,1286],{},[706,1274,1275],{},[709,1276,1277,1280,1283],{},[712,1278,1279],{},"Setting",[712,1281,1282],{},"Rule",[712,1284,1285],{},"Default",[722,1287,1288,1310,1321,1332,1343,1354,1365],{},[709,1289,1290,1293,1300],{},[727,1291,1292],{},"9 colours",[727,1294,1295,1296,1299],{},"Hex, 3 or 6 digits (",[698,1297,1298],{},"#1a2b3c","); no transparency, no colour names",[727,1301,1302,1303,1306,1307],{},"SHADE's own: black primary ",[698,1304,1305],{},"#000000",", white background, text ",[698,1308,1309],{},"#171717",[709,1311,1312,1315,1318],{},[727,1313,1314],{},"3 fonts",[727,1316,1317],{},"1–200 characters; letters, digits, spaces, commas, quotes, hyphens only",[727,1319,1320],{},"SHADE's Geist and Geist Mono, then the system's own fonts (the Geist files are not included: add them as web fonts)",[709,1322,1323,1326,1329],{},[727,1324,1325],{},"Base font size",[727,1327,1328],{},"12–24 px",[727,1330,1331],{},"16",[709,1333,1334,1337,1340],{},[727,1335,1336],{},"Type scale ratio",[727,1338,1339],{},"1.05–1.618 (steps of 0.005)",[727,1341,1342],{},"1.25",[709,1344,1345,1348,1351],{},[727,1346,1347],{},"Spacing unit",[727,1349,1350],{},"whole px, 2–16",[727,1352,1353],{},"4",[709,1355,1356,1359,1362],{},[727,1357,1358],{},"Corner radius",[727,1360,1361],{},"0–48 px",[727,1363,1364],{},"8",[709,1366,1367,1370,1373],{},[727,1368,1369],{},"Container width",[727,1371,1372],{},"whole px, 640–1920 (steps of 10)",[727,1374,1375],{},"1200",[658,1377,1378,1385,1390,1393,1400],{},[661,1379,1380,1381,1384],{},"The strict rules for colours and fonts keep the site safe: a value such as ",[698,1382,1383],{},"red;}body{"," is refused.",[661,1386,1387,1388,648],{},"A saved draft changes nothing on the site. Publishing rebuilds it, gathered with other changes into one rebuild\nwithin 30 seconds to 2 minutes (",[623,1389,203],{"href":204},[661,1391,1392],{},"Until the theme is first published, the site uses the default theme.",[661,1394,1395,1396,926,1398,648],{},"The audit log records saves and publishes as the entry's own actions (",[698,1397,747],{},[698,1399,760],{},[661,1401,1402],{},"A web font of the theme's draft, of its published version or of a version waiting to be published counts as in use\n(\"Theme\") in the media library, so it cannot be deleted.",[650,1404,1406],{"id":1405},"for-developers","For developers",[619,1408,1409,1410,890],{},"The code and its tests: the README of ",[698,1411,1412],{},"shade-plugin-website",[650,1414,1416],{"id":1415},"web-fonts-on-the-site","Web fonts on the site",[658,1418,1419,1422,1425,1428,1431],{},[661,1420,1421],{},"Saving and publishing check that every web font is a WOFF2 file in the media library (\"Choose a WOFF2 font file\nfrom the media library\").",[661,1423,1424],{},"While a web font loads, text shows at once in the next font of the stack.",[661,1426,1427],{},"The site's build copies the font files into the site like images, so visitors never load anything from SHADE or\nfrom a font service: no third-party requests, nothing to mention in a cookie or privacy notice.",[661,1429,1430],{},"The theme's live preview shows a font added on the screen before saving, and the visual editor shows the fonts of\nthe theme's draft.",[661,1432,1433],{},"The site preloads the first three web font files in every page's head, so text does not wait for the CSS before\nthe files are fetched.",[650,1435,1437],{"id":1436},"importing-a-google-font","Importing a Google font",[619,1439,1440],{},"A Google font is imported, never linked: SHADE downloads its files once into the media library, and from then on it\nis a web font like any other. Visitors never contact Google.",[658,1442,1443,1453,1465,1468,1471,1474,1484],{},[661,1444,1445,1446,1449,1450,1452],{},"SHADE asks Google Fonts for the family's CSS and downloads its WOFF2 files for Latin script (the ",[698,1447,1448],{},"latin"," subset).\nIt takes every weight as one variable file where the family has one, else Regular and Bold, else the family's only\nweight; with ",[843,1451,943],{},", the italic files too.",[661,1454,1455,1456,1458,1459,1461,1462,890],{},"The files land in the media library as \"Lora (Google Fonts).woff2\", \"Lora Italic (Google Fonts).woff2\" and so on,\nand the matching rows appear under ",[638,1457,895],{},". Nothing is saved until you press ",[843,1460,681],{},". Then use the family in\na font stack above: ",[698,1463,1464],{},"\"Lora\", Georgia, serif",[661,1466,1467],{},"Importing a family again uses the files already in the media library: nothing is downloaded twice.",[661,1469,1470],{},"A name Google Fonts does not have is refused (\"Google Fonts has no font by that name\").",[661,1472,1473],{},"Google Fonts are free to use on a website (SIL Open Font License or Apache License).",[661,1475,1476,1477,1479,1480,1483],{},"Who may: whoever may change the theme (",[698,1478,747],{},") and upload media (",[698,1481,1482],{},"media.upload",");\nadmins.",[661,1485,1486,1487,1490,1491,1494,1495,1498],{},"The download goes through the website module's ",[698,1488,1489],{},"network"," capability, which names ",[698,1492,1493],{},"fonts.googleapis.com"," and\n",[698,1496,1497],{},"fonts.gstatic.com",": the Modules page and the consent screen show both hosts. No other host is called.",{"title":1500,"searchDepth":1501,"depth":1501,"links":1502},"",2,[1503,1504,1505,1512,1513,1514,1515,1516],{"id":652,"depth":1501,"text":653},{"id":692,"depth":1501,"text":693},{"id":804,"depth":1501,"text":805,"children":1506},[1507,1510],{"id":816,"depth":1508,"text":1509},3,"Theme (\u002Fmodules\u002Fwebsite\u002Ftheme)",{"id":1037,"depth":1508,"text":1511},"Site styles (\u002Fmodules\u002Fwebsite\u002Fstyles)",{"id":1108,"depth":1501,"text":1109},{"id":1269,"depth":1501,"text":1270},{"id":1405,"depth":1501,"text":1406},{"id":1415,"depth":1501,"text":1416},{"id":1436,"depth":1501,"text":1437},"md",null,{},true,{"title":177,"description":1500},"cLcn7iByZFgAcv84bQbXA5eJdiDRvg6O0Z7PkoHq2Bw",[1524,1525],{"title":173,"path":174,"stem":175,"description":1500,"children":-1},{"title":181,"path":182,"stem":183,"description":1500,"children":-1},1796500158911]