1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5345],{57957:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>t,default:()=>u,frontMatter:()=>r,metadata:()=>c,toc:()=>l});var o=i(85893),s=i(11151);const r={sidebar_position:4,description:"Focus on some content.",toc_max_heading_level:2},t="focus-slide",c={id:"reference/themes/university/focus-slide",title:"focus-slide",description:"Focus on some content.",source:"@site/docs/reference/themes/university/focus-slide.mdx",sourceDirName:"reference/themes/university",slug:"/reference/themes/university/focus-slide",permalink:"/docs/reference/themes/university/focus-slide",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4,description:"Focus on some content.",toc_max_heading_level:2},sidebar:"tutorialSidebar",previous:{title:"new-section-slide",permalink:"/docs/reference/themes/university/new-section-slide"},next:{title:"matrix-slide",permalink:"/docs/reference/themes/university/matrix-slide"}},d={},l=[{value:"config : <TypeLink></TypeLink> <Default><code>(:)</code></Default>",id:"config",level:3},{value:"background-color : <TypeLink></TypeLink> | <TypeLink></TypeLink> <Default><code>none</code></Default>",id:"background-color",level:3},{value:"background-img : <TypeLink></TypeLink> | <TypeLink></TypeLink> <Default><code>none</code></Default>",id:"background-img",level:3}];function a(e){const n={a:"a",code:"code",h1:"h1",h3:"h3",p:"p",...(0,s.a)(),...e.components},{Default:i,Param:r,Parameters:t,Signature:c,SignatureName:d,SignatureParam:l,SourceLink:a,TypeLink:u}=n;return i||h("Default",!0),r||h("Param",!0),t||h("Parameters",!0),c||h("Signature",!0),d||h("SignatureName",!0),l||h("SignatureParam",!0),a||h("SourceLink",!0),u||h("TypeLink",!0),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"focus-slide",children:"focus-slide"}),"\n",(0,o.jsx)(c,{children:(0,o.jsxs)("code",{children:[(0,o.jsx)(d,{children:"focus-slide"}),"(",(0,o.jsxs)(l,{children:[(0,o.jsx)(n.a,{href:"#config",children:"config: (:)"}),", "]}),(0,o.jsxs)(l,{children:[(0,o.jsx)(n.a,{href:"#background-color",children:"background-color: none"}),", "]}),(0,o.jsxs)(l,{children:[(0,o.jsx)(n.a,{href:"#background-img",children:"background-img: none"}),", "]}),(0,o.jsx)(l,{children:(0,o.jsx)(n.a,{href:"#body",children:"body"})}),")",(0,o.jsx)(a,{href:"https://github.com/touying-typ/touying/blob/main/themes/university.typ#L267"})]})}),"\n",(0,o.jsx)(n.p,{children:"Focus on some content."}),"\n",(0,o.jsxs)(n.p,{children:["Example: ",(0,o.jsx)(n.code,{children:"#focus-slide[Wake up!]"})]}),"\n",(0,o.jsxs)(t,{children:[(0,o.jsxs)(n.h3,{id:"config",children:["config : ",(0,o.jsx)(u,{type:"dictionary"})," ",(0,o.jsx)(i,{children:(0,o.jsx)(n.code,{children:"(:)"})})]}),(0,o.jsx)(r,{children:(0,o.jsxs)(n.p,{children:["is the configuration of the slide. Use ",(0,o.jsx)(n.code,{children:"config-xxx"})," to set individual configurations for the slide. To apply multiple configurations, use ",(0,o.jsx)(n.code,{children:"utils.merge-dicts"})," to combine them."]})}),(0,o.jsxs)(n.h3,{id:"background-color",children:["background-color : ",(0,o.jsx)(u,{type:"color"})," | ",(0,o.jsx)(u,{type:"none"})," ",(0,o.jsx)(i,{children:(0,o.jsx)(n.code,{children:"none"})})]}),(0,o.jsx)(r,{children:(0,o.jsx)(n.p,{children:"is the background color of the slide. Default is the primary color."})}),(0,o.jsxs)(n.h3,{id:"background-img",children:["background-img : ",(0,o.jsx)(u,{type:"string"})," | ",(0,o.jsx)(u,{type:"none"})," ",(0,o.jsx)(i,{children:(0,o.jsx)(n.code,{children:"none"})})]}),(0,o.jsx)(r,{children:(0,o.jsx)(n.p,{children:"is the background image of the slide. Default is none."})})]})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}function h(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},11151:(e,n,i)=>{i.d(n,{Z:()=>c,a:()=>t});var o=i(67294);const s={},r=o.createContext(s);function t(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:t(e.components),o.createElement(r.Provider,{value:n},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.