1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1403],{38700:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>h,frontMatter:()=>a,metadata:()=>o,toc:()=>d});var n=r(85893),s=r(11151);const a={sidebar_position:6,description:"Touying aqua theme.",toc_max_heading_level:2},i="aqua-theme",o={id:"reference/themes/aqua/aqua-theme",title:"aqua-theme",description:"Touying aqua theme.",source:"@site/docs/reference/themes/aqua/aqua-theme.mdx",sourceDirName:"reference/themes/aqua",slug:"/reference/themes/aqua/aqua-theme",permalink:"/docs/reference/themes/aqua/aqua-theme",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6,description:"Touying aqua theme.",toc_max_heading_level:2},sidebar:"tutorialSidebar",previous:{title:"focus-slide",permalink:"/docs/reference/themes/aqua/focus-slide"},next:{title:"Dewdrop",permalink:"/docs/category/dewdrop"}},c={},d=[{value:"aspect-ratio : <TypeLink></TypeLink> <Default><code>"16-9"</code></Default>",id:"aspect-ratio",level:3},{value:"header : <TypeLink></TypeLink>",id:"header",level:3},{value:"footer : <TypeLink></TypeLink> <Default><code>context utils.slide-counter.display()</code></Default>",id:"footer",level:3}];function l(e){const t={a:"a",code:"code",h1:"h1",h3:"h3",p:"p",pre:"pre",...(0,s.a)(),...e.components},{Default:r,Param:a,Parameters:i,Signature:o,SignatureName:c,SignatureParam:d,SourceLink:l,TypeLink:h}=t;return r||u("Default",!0),a||u("Param",!0),i||u("Parameters",!0),o||u("Signature",!0),c||u("SignatureName",!0),d||u("SignatureParam",!0),l||u("SourceLink",!0),h||u("TypeLink",!0),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"aqua-theme",children:"aqua-theme"}),"\n",(0,n.jsx)(o,{children:(0,n.jsxs)("code",{children:[(0,n.jsx)(c,{children:"aqua-theme"}),"(",(0,n.jsxs)(d,{children:[(0,n.jsx)(t.a,{href:"#aspect-ratio",children:'aspect-ratio: "16-9"'}),", "]}),(0,n.jsxs)(d,{children:[(0,n.jsx)(t.a,{href:"#header",children:"header"}),", "]}),(0,n.jsxs)(d,{children:[(0,n.jsx)(t.a,{href:"#footer",children:"footer: context utils.slide-counter.display()"}),", "]}),(0,n.jsxs)(d,{children:[(0,n.jsx)(t.a,{href:"#args",children:"..args"}),", "]}),(0,n.jsx)(d,{children:(0,n.jsx)(t.a,{href:"#body",children:"body"})}),")",(0,n.jsx)(l,{href:"https://github.com/touying-typ/touying/blob/main/themes/aqua.typ#L307"})]})}),"\n",(0,n.jsx)(t.p,{children:"Touying aqua theme."}),"\n",(0,n.jsx)(t.p,{children:"Example:"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-typst",children:'#show: aqua-theme.with(aspect-ratio: "16-9", config-colors(primary: blue))\n'})}),"\n",(0,n.jsx)(t.p,{children:"Consider using:"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-typst",children:'#set text(font: "Fira Sans", weight: "light", size: 20pt)\n#show math.equation: set text(font: "Fira Math")\n#set strong(delta: 100)\n#set par(justify: true)\n'})}),"\n",(0,n.jsx)(t.p,{children:"The default colors:"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-typst",children:'config-colors(\n primary: rgb("#003F88"),\n primary-light: rgb("#2159A5"),\n primary-lightest: rgb("#F2F4F8"),\n neutral-lightest: rgb("#FFFFFF")\n)\n'})}),"\n",(0,n.jsxs)(i,{children:[(0,n.jsxs)(t.h3,{id:"aspect-ratio",children:["aspect-ratio : ",(0,n.jsx)(h,{type:"ratio"})," ",(0,n.jsx)(r,{children:(0,n.jsx)(t.code,{children:'"16-9"'})})]}),(0,n.jsx)(a,{children:(0,n.jsxs)(t.p,{children:["The aspect ratio of the slides. Default is ",(0,n.jsx)(t.code,{children:"16-9"}),"."]})}),(0,n.jsxs)(t.h3,{id:"header",children:["header : ",(0,n.jsx)(h,{type:"content"})]}),(0,n.jsx)(a,{children:(0,n.jsxs)(t.p,{children:["The header of the slides. Default is ",(0,n.jsx)(t.code,{children:"self => utils.display-current-heading(depth: self.slide-level)"}),"."]})}),(0,n.jsxs)(t.h3,{id:"footer",children:["footer : ",(0,n.jsx)(h,{type:"content"})," ",(0,n.jsx)(r,{children:(0,n.jsx)(t.code,{children:"context utils.slide-counter.display()"})})]}),(0,n.jsx)(a,{children:(0,n.jsxs)(t.p,{children:["The footer of the slides. Default is ",(0,n.jsx)(t.code,{children:"context utils.slide-counter.display()"}),"."]})})]})]})}function h(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}function u(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},11151:(e,t,r)=>{r.d(t,{Z:()=>o,a:()=>i});var n=r(67294);const s={},a=n.createContext(s);function i(e){const t=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.