[{"data":1,"prerenderedAt":1417,"buildId":1418},["ShallowReactive",2],{"-en-docs-guide-theme-description":3,"docs--en-docs-guide-theme":16,"docs-navigation-en":1078,"mdc--tctnej-key":1405,"surround--en-docs-guide-theme":1414},{"data":4,"body":5},{},{"type":6,"children":7},"root",[8],{"type":9,"tag":10,"props":11,"children":12},"element","p",{},[13],{"type":14,"value":15},"text","Customize the palette and heading fonts, add a CJK serif font, and configure visitor theme and motion preferences.",{"id":17,"title":18,"body":19,"category":1066,"description":15,"difficulty":1067,"extension":1068,"index":1069,"keywords":1067,"links":1067,"meta":1070,"navigation":1071,"path":1073,"requires":1067,"seo":1074,"sitemap":1075,"stem":1076,"__hash__":1077},"docs_en\u002Fen\u002Fdocs\u002F2.guide\u002F2.theme.md","Theme & Fonts",{"type":20,"value":21,"toc":1053},"minimark",[22,32,37,40,123,143,148,155,237,253,320,358,374,378,385,463,567,571,574,633,640,650,653,657,664,729,749,762,848,852,855,908,912,924,1003,1007,1010,1016,1038,1042,1049],[23,24],"u-color-mode-image",{"alt":25,"className":26,"dark":30,"light":31},"A docs page in the default theme",[27,28,29],"rounded-md","border","border-default","\u002Fscreenshots\u002Ftheme-overview-dark.png","\u002Fscreenshots\u002Ftheme-overview-light.png",[33,34,36],"h2",{"id":35},"default-colors","Default colors",[10,38,39],{},"The layer ships two custom color scales and sets them as the Nuxt UI defaults:",[41,42,43,59],"table",{},[44,45,46],"thead",{},[47,48,49,53,56],"tr",{},[50,51,52],"th",{},"Role",[50,54,55],{},"Scale",[50,57,58],{},"Notes",[60,61,62,94],"tbody",{},[47,63,64,71,76],{},[65,66,67],"td",{},[68,69,70],"code",{},"primary",[65,72,73],{},[68,74,75],{},"vermilion",[65,77,78,79,82,83,86,87,90,91],{},"Vermilion red, ",[68,80,81],{},"500"," is ",[68,84,85],{},"#d64b34",". Light mode uses ",[68,88,89],{},"600",", dark mode uses ",[68,92,93],{},"400",[47,95,96,101,106],{},[65,97,98],{},[68,99,100],{},"neutral",[65,102,103],{},[68,104,105],{},"paper",[65,107,108,109,82,112,115,116,82,119,122],{},"Low-chroma warm gray, ",[68,110,111],{},"50",[68,113,114],{},"#faf9f5"," (light background), ",[68,117,118],{},"950",[68,120,121],{},"#141413"," (dark background)",[10,124,125,126,128,129,131,132,135,136,138,139,142],{},"Background, text and border colors are all derived from the current ",[68,127,100],{}," scale: light mode uses ",[68,130,111],{}," for the background and ",[68,133,134],{},"900"," for text, dark mode uses ",[68,137,118],{}," and ",[68,140,141],{},"200",". Any neutral you pick keeps the same paper-and-ink contrast.",[144,145,147],"h3",{"id":146},"changing-colors","Changing colors",[10,149,150,151,154],{},"Set any Tailwind CSS color name or custom scale in ",[68,152,153],{},"app.config.ts",":",[156,157,163],"pre",{"className":158,"code":159,"filename":160,"language":161,"meta":162,"style":162},"language-ts shiki shiki-themes github-light github-light github-dark","export default defineAppConfig({\n  ui: {\n    colors: {\n      primary: 'emerald',\n      neutral: 'zinc'\n    }\n  }\n})\n","app\u002Fapp.config.ts","ts","",[68,164,165,185,191,197,210,219,225,231],{"__ignoreMap":162},[166,167,170,174,177,181],"span",{"class":168,"line":169},"line",1,[166,171,173],{"class":172},"s8jYJ","export",[166,175,176],{"class":172}," default",[166,178,180],{"class":179},"snPdu"," defineAppConfig",[166,182,184],{"class":183},"sxrX7","({\n",[166,186,188],{"class":168,"line":187},2,[166,189,190],{"class":183},"  ui: {\n",[166,192,194],{"class":168,"line":193},3,[166,195,196],{"class":183},"    colors: {\n",[166,198,200,203,207],{"class":168,"line":199},4,[166,201,202],{"class":183},"      primary: ",[166,204,206],{"class":205},"sIIMD","'emerald'",[166,208,209],{"class":183},",\n",[166,211,213,216],{"class":168,"line":212},5,[166,214,215],{"class":183},"      neutral: ",[166,217,218],{"class":205},"'zinc'\n",[166,220,222],{"class":168,"line":221},6,[166,223,224],{"class":183},"    }\n",[166,226,228],{"class":168,"line":227},7,[166,229,230],{"class":183},"  }\n",[166,232,234],{"class":168,"line":233},8,[166,235,236],{"class":183},"})\n",[10,238,239,240,242,243,245,246,249,250,154],{},"A custom scale must declare all shades from ",[68,241,111],{}," to ",[68,244,118],{}," with ",[68,247,248],{},"@theme"," in ",[68,251,252],{},"app\u002Fassets\u002Fcss\u002Fmain.css",[156,254,258],{"className":255,"code":256,"filename":252,"language":257,"meta":162,"style":162},"language-css shiki shiki-themes github-light github-light github-dark","@theme static {\n  --color-brand-50: #eef6ff;\n  --color-brand-100: #d9eaff;\n  \u002F* ... *\u002F\n  --color-brand-950: #0b1d3a;\n}\n","css",[68,259,260,267,283,296,302,315],{"__ignoreMap":162},[166,261,262,264],{"class":168,"line":169},[166,263,248],{"class":172},[166,265,266],{"class":183}," static {\n",[166,268,269,273,276,280],{"class":168,"line":187},[166,270,272],{"class":271},"sP4rz","  --color-brand-50",[166,274,275],{"class":183},": ",[166,277,279],{"class":278},"shiki-color-highlight slr5t","#eef6ff",[166,281,282],{"class":183},";\n",[166,284,285,288,290,294],{"class":168,"line":193},[166,286,287],{"class":271},"  --color-brand-100",[166,289,275],{"class":183},[166,291,293],{"class":292},"shiki-color-highlight sBFhn","#d9eaff",[166,295,282],{"class":183},[166,297,298],{"class":168,"line":199},[166,299,301],{"class":300},"sCsY4","  \u002F* ... *\u002F\n",[166,303,304,307,309,313],{"class":168,"line":212},[166,305,306],{"class":271},"  --color-brand-950",[166,308,275],{"class":183},[166,310,312],{"class":311},"shiki-color-highlight sE-MN","#0b1d3a",[166,314,282],{"class":183},[166,316,317],{"class":168,"line":221},[166,318,319],{"class":183},"}\n",[156,321,323],{"className":158,"code":322,"filename":160,"language":161,"meta":162,"style":162},"export default defineAppConfig({\n  ui: {\n    colors: { primary: 'brand' }\n  }\n})\n",[68,324,325,335,339,350,354],{"__ignoreMap":162},[166,326,327,329,331,333],{"class":168,"line":169},[166,328,173],{"class":172},[166,330,176],{"class":172},[166,332,180],{"class":179},[166,334,184],{"class":183},[166,336,337],{"class":168,"line":187},[166,338,190],{"class":183},[166,340,341,344,347],{"class":168,"line":193},[166,342,343],{"class":183},"    colors: { primary: ",[166,345,346],{"class":205},"'brand'",[166,348,349],{"class":183}," }\n",[166,351,352],{"class":168,"line":199},[166,353,230],{"class":183},[166,355,356],{"class":168,"line":212},[166,357,236],{"class":183},[359,360,361,362,364,365,369,370,373],"warning",{},"The layer merges ",[68,363,252],{}," into its own Tailwind root. Do ",[366,367,368],"strong",{},"not"," add ",[68,371,372],{},"@import \"tailwindcss\""," there: it creates a second copy of the utilities that overrides the layer's responsive styles, and the build prints a warning.",[33,375,377],{"id":376},"theme-options","Theme options",[10,379,380,381,384],{},"The ",[68,382,383],{},"theme"," group controls the layer's own visual options:",[156,386,388],{"className":158,"code":387,"filename":160,"language":161,"meta":162,"style":162},"export default defineAppConfig({\n  theme: {\n    radius: 0.25,\n    blackAsPrimary: false,\n    icons: 'lucide',\n    font: 'editorial',\n    grain: false\n  }\n})\n",[68,389,390,400,405,416,426,436,446,454,458],{"__ignoreMap":162},[166,391,392,394,396,398],{"class":168,"line":169},[166,393,173],{"class":172},[166,395,176],{"class":172},[166,397,180],{"class":179},[166,399,184],{"class":183},[166,401,402],{"class":168,"line":187},[166,403,404],{"class":183},"  theme: {\n",[166,406,407,410,414],{"class":168,"line":193},[166,408,409],{"class":183},"    radius: ",[166,411,413],{"class":412},"sBjJW","0.25",[166,415,209],{"class":183},[166,417,418,421,424],{"class":168,"line":199},[166,419,420],{"class":183},"    blackAsPrimary: ",[166,422,423],{"class":412},"false",[166,425,209],{"class":183},[166,427,428,431,434],{"class":168,"line":212},[166,429,430],{"class":183},"    icons: ",[166,432,433],{"class":205},"'lucide'",[166,435,209],{"class":183},[166,437,438,441,444],{"class":168,"line":221},[166,439,440],{"class":183},"    font: ",[166,442,443],{"class":205},"'editorial'",[166,445,209],{"class":183},[166,447,448,451],{"class":168,"line":227},[166,449,450],{"class":183},"    grain: ",[166,452,453],{"class":412},"false\n",[166,455,456],{"class":168,"line":233},[166,457,230],{"class":183},[166,459,461],{"class":168,"line":460},9,[166,462,236],{"class":183},[41,464,465,478],{},[44,466,467],{},[47,468,469,472,475],{},[50,470,471],{},"Field",[50,473,474],{},"Default",[50,476,477],{},"Description",[60,479,480,494,508,532,553],{},[47,481,482,487,491],{},[65,483,484],{},[68,485,486],{},"radius",[65,488,489],{},[68,490,413],{},[65,492,493],{},"Global border radius in rem",[47,495,496,501,505],{},[65,497,498],{},[68,499,500],{},"blackAsPrimary",[65,502,503],{},[68,504,423],{},[65,506,507],{},"Use black (white in dark mode) as the primary color",[47,509,510,515,519],{},[65,511,512],{},[68,513,514],{},"icons",[65,516,517],{},[68,518,433],{},[65,520,521,522,525,526,138,529],{},"UI icon set; the theme picker can switch between ",[68,523,524],{},"lucide",", ",[68,527,528],{},"phosphor",[68,530,531],{},"tabler",[47,533,534,539,543],{},[65,535,536],{},[68,537,538],{},"font",[65,540,541],{},[68,542,443],{},[65,544,545,548,549,552],{},[68,546,547],{},"editorial"," uses serif headings; ",[68,550,551],{},"sans"," uses sans-serif everywhere, with Inter for headings",[47,554,555,560,564],{},[65,556,557],{},[68,558,559],{},"grain",[65,561,562],{},[68,563,423],{},[65,565,566],{},"Overlay a paper grain texture on the background only, never on text or code blocks",[33,568,570],{"id":569},"fonts","Fonts",[10,572,573],{},"The layer self-hosts three variable fonts through Fontsource, Latin subsets only:",[41,575,576,589],{},[44,577,578],{},[47,579,580,583,586],{},[50,581,582],{},"Usage",[50,584,585],{},"Font",[50,587,588],{},"CSS variable",[60,590,591,604,620],{},[47,592,593,596,599],{},[65,594,595],{},"Body",[65,597,598],{},"Inter",[65,600,601],{},[68,602,603],{},"--font-sans",[47,605,606,609,612],{},[65,607,608],{},"Headings",[65,610,611],{},"Fraunces",[65,613,614,525,617],{},[68,615,616],{},"--font-serif",[68,618,619],{},"--font-display",[47,621,622,625,628],{},[65,623,624],{},"Code and metadata",[65,626,627],{},"JetBrains Mono",[65,629,630],{},[68,631,632],{},"--font-mono",[10,634,635,636,639],{},"The layer disables the ",[68,637,638],{},"@nuxt\u002Ffonts"," integration of Nuxt UI, so no other fonts are downloaded at build time. CJK characters follow the font stacks:",[641,642,643,647],"ul",{},[644,645,646],"li",{},"Sans-serif: Alibaba PuHuiTi (loaded by you) → PingFang SC → Hiragino Sans GB → Microsoft YaHei → Noto Sans CJK SC",[644,648,649],{},"Serif: Noto Serif SC → Source Han Serif SC → Noto Serif CJK SC, falling back to bold sans-serif when none is installed",[10,651,652],{},"System Song fonts often lack a bold weight, so they are not part of the serif stack.",[144,654,656],{"id":655},"adding-a-chinese-serif-font","Adding a Chinese serif font",[10,658,659,660,663],{},"For serif Chinese headings, load Noto Serif SC yourself. The Fontsource package is split by ",[68,661,662],{},"unicode-range",", so pages only download the characters they use:",[665,666,668,686,701,715],"code-group",{"sync":667},"package-manager",[156,669,674],{"className":670,"code":671,"filename":672,"language":673,"meta":162,"style":162},"language-bash shiki shiki-themes github-light github-light github-dark","pnpm add @fontsource\u002Fnoto-serif-sc\n","pnpm","bash",[68,675,676],{"__ignoreMap":162},[166,677,678,680,683],{"class":168,"line":169},[166,679,672],{"class":179},[166,681,682],{"class":205}," add",[166,684,685],{"class":205}," @fontsource\u002Fnoto-serif-sc\n",[156,687,690],{"className":670,"code":688,"filename":689,"language":673,"meta":162,"style":162},"npm install @fontsource\u002Fnoto-serif-sc\n","npm",[68,691,692],{"__ignoreMap":162},[166,693,694,696,699],{"class":168,"line":169},[166,695,689],{"class":179},[166,697,698],{"class":205}," install",[166,700,685],{"class":205},[156,702,705],{"className":670,"code":703,"filename":704,"language":673,"meta":162,"style":162},"yarn add @fontsource\u002Fnoto-serif-sc\n","yarn",[68,706,707],{"__ignoreMap":162},[166,708,709,711,713],{"class":168,"line":169},[166,710,704],{"class":179},[166,712,682],{"class":205},[166,714,685],{"class":205},[156,716,719],{"className":670,"code":717,"filename":718,"language":673,"meta":162,"style":162},"bun add @fontsource\u002Fnoto-serif-sc\n","bun",[68,720,721],{"__ignoreMap":162},[166,722,723,725,727],{"class":168,"line":169},[166,724,718],{"class":179},[166,726,682],{"class":205},[166,728,685],{"class":205},[156,730,732],{"className":255,"code":731,"filename":252,"language":257,"meta":162,"style":162},"\u002F* Headings only use the bold weight *\u002F\n@import \"@fontsource\u002Fnoto-serif-sc\u002F700.css\";\n",[68,733,734,739],{"__ignoreMap":162},[166,735,736],{"class":168,"line":169},[166,737,738],{"class":300},"\u002F* Headings only use the bold weight *\u002F\n",[166,740,741,744,747],{"class":168,"line":187},[166,742,743],{"class":172},"@import",[166,745,746],{"class":205}," \"@fontsource\u002Fnoto-serif-sc\u002F700.css\"",[166,748,282],{"class":183},[10,750,751,752,249,755,758,759,154],{},"To use Alibaba PuHuiTi for Chinese body text, load a stylesheet that hosts it from ",[68,753,754],{},"app.head",[68,756,757],{},"nuxt.config.ts",". The font family must be named ",[68,760,761],{},"Alibaba PuHuiTi",[156,763,765],{"className":158,"code":764,"filename":757,"language":161,"meta":162,"style":162},"export default defineNuxtConfig({\n  app: {\n    head: {\n      link: [\n        { rel: 'preconnect', href: 'https:\u002F\u002Fcdn.example.com', crossorigin: '' },\n        { rel: 'stylesheet', href: 'https:\u002F\u002Fcdn.example.com\u002Ffonts\u002Falibaba-puhuiti.css' }\n      ]\n    }\n  }\n})\n",[68,766,767,778,783,788,793,816,830,835,839,843],{"__ignoreMap":162},[166,768,769,771,773,776],{"class":168,"line":169},[166,770,173],{"class":172},[166,772,176],{"class":172},[166,774,775],{"class":179}," defineNuxtConfig",[166,777,184],{"class":183},[166,779,780],{"class":168,"line":187},[166,781,782],{"class":183},"  app: {\n",[166,784,785],{"class":168,"line":193},[166,786,787],{"class":183},"    head: {\n",[166,789,790],{"class":168,"line":199},[166,791,792],{"class":183},"      link: [\n",[166,794,795,798,801,804,807,810,813],{"class":168,"line":212},[166,796,797],{"class":183},"        { rel: ",[166,799,800],{"class":205},"'preconnect'",[166,802,803],{"class":183},", href: ",[166,805,806],{"class":205},"'https:\u002F\u002Fcdn.example.com'",[166,808,809],{"class":183},", crossorigin: ",[166,811,812],{"class":205},"''",[166,814,815],{"class":183}," },\n",[166,817,818,820,823,825,828],{"class":168,"line":221},[166,819,797],{"class":183},[166,821,822],{"class":205},"'stylesheet'",[166,824,803],{"class":183},[166,826,827],{"class":205},"'https:\u002F\u002Fcdn.example.com\u002Ffonts\u002Falibaba-puhuiti.css'",[166,829,349],{"class":183},[166,831,832],{"class":168,"line":227},[166,833,834],{"class":183},"      ]\n",[166,836,837],{"class":168,"line":233},[166,838,224],{"class":183},[166,840,841],{"class":168,"line":460},[166,842,230],{"class":183},[166,844,846],{"class":168,"line":845},10,[166,847,236],{"class":183},[144,849,851],{"id":850},"replacing-a-font","Replacing a font",[10,853,854],{},"Override the CSS variable to replace a whole font family:",[156,856,858],{"className":255,"code":857,"filename":252,"language":257,"meta":162,"style":162},"@import \"@fontsource-variable\u002Fsource-serif-4\u002Findex.css\";\n\n@theme {\n  --font-serif: 'Source Serif 4 Variable', 'Noto Serif SC', serif;\n}\n",[68,859,860,869,875,882,904],{"__ignoreMap":162},[166,861,862,864,867],{"class":168,"line":169},[166,863,743],{"class":172},[166,865,866],{"class":205}," \"@fontsource-variable\u002Fsource-serif-4\u002Findex.css\"",[166,868,282],{"class":183},[166,870,871],{"class":168,"line":187},[166,872,874],{"emptyLinePlaceholder":873},true,"\n",[166,876,877,879],{"class":168,"line":193},[166,878,248],{"class":172},[166,880,881],{"class":183}," {\n",[166,883,884,887,889,892,894,897,899,902],{"class":168,"line":199},[166,885,886],{"class":271},"  --font-serif",[166,888,275],{"class":183},[166,890,891],{"class":205},"'Source Serif 4 Variable'",[166,893,525],{"class":183},[166,895,896],{"class":205},"'Noto Serif SC'",[166,898,525],{"class":183},[166,900,901],{"class":412},"serif",[166,903,282],{"class":183},[166,905,906],{"class":168,"line":212},[166,907,319],{"class":183},[33,909,911],{"id":910},"syntax-highlighting","Syntax highlighting",[10,913,914,915,138,918,921,922,154],{},"Code blocks use the Shiki themes ",[68,916,917],{},"github-light",[68,919,920],{},"github-dark",", switching with the color mode. Override them in ",[68,923,757],{},[156,925,927],{"className":158,"code":926,"filename":757,"language":161,"meta":162,"style":162},"export default defineNuxtConfig({\n  content: {\n    build: {\n      markdown: {\n        highlight: {\n          theme: { default: 'vitesse-light', light: 'vitesse-light', dark: 'vitesse-dark' }\n        }\n      }\n    }\n  }\n})\n",[68,928,929,939,944,949,954,959,980,985,990,994,998],{"__ignoreMap":162},[166,930,931,933,935,937],{"class":168,"line":169},[166,932,173],{"class":172},[166,934,176],{"class":172},[166,936,775],{"class":179},[166,938,184],{"class":183},[166,940,941],{"class":168,"line":187},[166,942,943],{"class":183},"  content: {\n",[166,945,946],{"class":168,"line":193},[166,947,948],{"class":183},"    build: {\n",[166,950,951],{"class":168,"line":199},[166,952,953],{"class":183},"      markdown: {\n",[166,955,956],{"class":168,"line":212},[166,957,958],{"class":183},"        highlight: {\n",[166,960,961,964,967,970,972,975,978],{"class":168,"line":221},[166,962,963],{"class":183},"          theme: { default: ",[166,965,966],{"class":205},"'vitesse-light'",[166,968,969],{"class":183},", light: ",[166,971,966],{"class":205},[166,973,974],{"class":183},", dark: ",[166,976,977],{"class":205},"'vitesse-dark'",[166,979,349],{"class":183},[166,981,982],{"class":168,"line":227},[166,983,984],{"class":183},"        }\n",[166,986,987],{"class":168,"line":233},[166,988,989],{"class":183},"      }\n",[166,991,992],{"class":168,"line":460},[166,993,224],{"class":183},[166,995,996],{"class":168,"line":845},[166,997,230],{"class":183},[166,999,1001],{"class":168,"line":1000},11,[166,1002,236],{"class":183},[33,1004,1006],{"id":1005},"theme-picker","Theme picker",[10,1008,1009],{},"The swatch button in the header opens the theme picker, where visitors can adjust the primary color, neutral color, radius, icon set and color mode.",[23,1011],{"alt":1012,"className":1013,"dark":1014,"light":1015},"The theme picker",[27,28,29],"\u002Fscreenshots\u002Ftheme-picker-dark.png","\u002Fscreenshots\u002Ftheme-picker-light.png",[641,1017,1018,1025,1032],{},[644,1019,1020,1021,1024],{},"Choices are stored in the visitor's ",[68,1022,1023],{},"localStorage"," and only affect that visitor",[644,1026,1027,1028,1031],{},"The picker compares against your ",[68,1029,1030],{},"app.config",", so \"Reset\" restores your site configuration, not the layer defaults",[644,1033,1034,1035,1037],{},"\"Export\" copies the matching CSS variables or an ",[68,1036,153],{}," snippet, so you can write a tuned palette back into your site config",[33,1039,1041],{"id":1040},"motion","Motion",[10,1043,1044,1045,1048],{},"Page navigation uses View Transitions: the title morphs between pages while the header and sidebar stay still. When the visitor's system enables reduced motion (",[68,1046,1047],{},"prefers-reduced-motion: reduce","), View Transitions, the sliding sidebar indicator and other transitions are all turned off.",[1050,1051,1052],"style",{},"html pre.shiki code .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .snPdu, html code.shiki .snPdu{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sxrX7, html code.shiki .sxrX7{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sP4rz, html code.shiki .sP4rz{--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .slr5t, html code.shiki .slr5t{background-color:#eef6ff;color:#000000;display:inline-block;padding:0 0.15em;margin:0 -0.15em;border-radius:0.2em}html pre.shiki code .sBFhn, html code.shiki .sBFhn{background-color:#d9eaff;color:#000000;display:inline-block;padding:0 0.15em;margin:0 -0.15em;border-radius:0.2em}html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sE-MN, html code.shiki .sE-MN{background-color:#0b1d3a;color:#ffffff;display:inline-block;padding:0 0.15em;margin:0 -0.15em;border-radius:0.2em}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}",{"title":162,"searchDepth":187,"depth":187,"links":1054},[1055,1058,1059,1063,1064,1065],{"id":35,"depth":187,"text":36,"children":1056},[1057],{"id":146,"depth":193,"text":147},{"id":376,"depth":187,"text":377},{"id":569,"depth":187,"text":570,"children":1060},[1061,1062],{"id":655,"depth":193,"text":656},{"id":850,"depth":193,"text":851},{"id":910,"depth":187,"text":911},{"id":1005,"depth":187,"text":1006},{"id":1040,"depth":187,"text":1041},"basics",null,"md",false,{},{"icon":1072},"i-lucide-palette","\u002Fen\u002Fdocs\u002Fguide\u002Ftheme",{"title":18,"description":15},{"loc":1073},"en\u002Fdocs\u002F2.guide\u002F2.theme","gOb9MqExtdWpWwSwrofoCT_hmQwUCDQ5F1aup_YhTrM",[1079],{"title":1080,"path":1081,"stem":1082,"children":1083,"page":1069},"Docs","\u002Fen\u002Fdocs","en\u002Fdocs",[1084,1112,1181,1217,1258,1306],{"title":1085,"path":1086,"stem":1087,"children":1088,"category":1067,"description":1067,"icon":1111},"Get Started","\u002Fen\u002Fdocs\u002Fgetting-started","en\u002Fdocs\u002F1.getting-started\u002F1.index",[1089,1093,1099,1105],{"title":1090,"path":1086,"stem":1087,"category":1067,"description":1091,"icon":1092},"Introduction","Build a Nuxt documentation site with built-in typography, navigation, search, SEO, and AI features.","i-lucide-book-open",{"title":1094,"path":1095,"stem":1096,"category":1067,"description":1097,"icon":1098},"Installation","\u002Fen\u002Fdocs\u002Fgetting-started\u002Finstallation","en\u002Fdocs\u002F1.getting-started\u002F2.installation","Start from an official template or add the layer to an existing Nuxt project. Compare setups and requirements.","i-lucide-download",{"title":1100,"path":1101,"stem":1102,"category":1067,"description":1103,"icon":1104},"Project Structure","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fproject-structure","en\u002Fdocs\u002F1.getting-started\u002F3.project-structure","See where content lives, how it becomes routes, and what each configuration file controls.","i-lucide-folder-tree",{"title":1106,"path":1107,"stem":1108,"category":1067,"description":1109,"icon":1110},"Migrating from v2","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fmigration","en\u002Fdocs\u002F1.getting-started\u002F4.migration","Upgrade from v2 to v3 with side-by-side examples for dependencies, content, configuration, and component overrides.","i-lucide-arrow-right-left","i-lucide-square-play",{"title":1113,"category":1067,"description":1067,"icon":1114,"path":1115,"stem":1116,"children":1117,"page":1069},"Guide","i-lucide-compass","\u002Fen\u002Fdocs\u002Fguide","en\u002Fdocs\u002F2.guide",[1118,1124,1131,1137,1138,1144,1150,1157,1163,1169,1175],{"title":1119,"path":1120,"stem":1121,"category":1066,"description":1122,"icon":1123},"Configuration Overview","\u002Fen\u002Fdocs\u002Fguide\u002Fconfiguration","en\u002Fdocs\u002F2.guide\u002F1.configuration","Use nuxt.config.ts for build-time features and app.config.ts for UI, copy, and navigation.","i-lucide-settings",{"title":1125,"path":1126,"stem":1127,"category":1128,"description":1129,"icon":1130},"Troubleshooting","\u002Fen\u002Fdocs\u002Fguide\u002Ftroubleshooting","en\u002Fdocs\u002F2.guide\u002F10.troubleshooting","shipping","Troubleshoot missing dependencies, docs 404s, i18n, AI Chat, and other build or runtime errors.","i-lucide-life-buoy",{"title":1132,"path":1133,"stem":1134,"category":1128,"description":1135,"icon":1136},"FAQ","\u002Fen\u002Fdocs\u002Fguide\u002Ffaq","en\u002Fdocs\u002F2.guide\u002F11.faq","Find answers about runtime requirements, GitHub integration, AI providers, upgrades, and static hosting.","i-lucide-circle-help",{"title":18,"path":1073,"stem":1076,"category":1066,"description":15,"icon":1072},{"title":1139,"path":1140,"stem":1141,"category":1066,"description":1142,"icon":1143},"Navigation & Categories","\u002Fen\u002Fdocs\u002Fguide\u002Fnavigation","en\u002Fdocs\u002F2.guide\u002F3.navigation","Configure header links, mobile menus, and sidebar groups, with localized links, navigation filtering, and search.","i-lucide-map",{"title":1145,"path":1146,"stem":1147,"category":1066,"description":1148,"icon":1149},"Feature Flags","\u002Fen\u002Fdocs\u002Fguide\u002Ffeatures","en\u002Fdocs\u002F2.guide\u002F4.features","Check which optional features are enabled by default, what they require, and what happens when you turn them off.","i-lucide-toggle-right",{"title":1151,"path":1152,"stem":1153,"category":1154,"description":1155,"icon":1156},"Customization","\u002Fen\u002Fdocs\u002Fguide\u002Fcustomization","en\u002Fdocs\u002F2.guide\u002F5.customization","customization","Override the header, sidebars, and footer with same-named Vue components. See supported overrides and examples.","i-lucide-paintbrush",{"title":1158,"path":1159,"stem":1160,"category":1154,"description":1161,"icon":1162},"Pages & Layouts","\u002Fen\u002Fdocs\u002Fguide\u002Fpages","en\u002Fdocs\u002F2.guide\u002F6.pages","Generate landing, releases, and showcase pages from content, or create custom pages and layouts in app\u002Fpages.","i-lucide-layout-panel-top",{"title":1164,"path":1165,"stem":1166,"category":1154,"description":1167,"icon":1168},"Internationalization","\u002Fen\u002Fdocs\u002Fguide\u002Fi18n","en\u002Fdocs\u002F2.guide\u002F7.i18n","Use @nuxtjs\u002Fi18n to organize translated docs, override UI strings, and generate hreflang links.","i-lucide-languages",{"title":1170,"path":1171,"stem":1172,"category":1154,"description":1173,"icon":1174},"OG Images","\u002Fen\u002Fdocs\u002Fguide\u002Fog-image","en\u002Fdocs\u002F2.guide\u002F8.og-image","Generate social sharing images for your docs and configure the built-in template, CJK fonts, or custom cards.","i-lucide-image",{"title":1176,"path":1177,"stem":1178,"category":1128,"description":1179,"icon":1180},"Deployment","\u002Fen\u002Fdocs\u002Fguide\u002Fdeployment","en\u002Fdocs\u002F2.guide\u002F9.deployment","Deploy to Cloudflare, Vercel, Netlify, or Node.js, or generate a static site. Check build settings and hosting limits.","i-lucide-rocket",{"title":1182,"category":1067,"description":1067,"icon":1183,"path":1184,"stem":1185,"children":1186,"page":1069},"AI","i-lucide-sparkles","\u002Fen\u002Fdocs\u002Fai","en\u002Fdocs\u002F3.ai",[1187,1193,1199,1205,1211],{"title":1188,"path":1189,"stem":1190,"category":1067,"description":1191,"icon":1192},"AI Chat","\u002Fen\u002Fdocs\u002Fai\u002Fai-chat","en\u002Fdocs\u002F3.ai\u002F1.ai-chat","Enable the built-in docs assistant and configure its models, endpoints, and providers.","i-lucide-bot",{"title":1194,"path":1195,"stem":1196,"category":1067,"description":1197,"icon":1198},"MCP Server","\u002Fen\u002Fdocs\u002Fai\u002Fmcp","en\u002Fdocs\u002F3.ai\u002F2.mcp","Connect to the docs tools, resources, and prompts at \u002Fmcp, then configure or extend the server.","i-lucide-plug",{"title":1200,"path":1201,"stem":1202,"category":1067,"description":1203,"icon":1204},"Agent Skills","\u002Fen\u002Fdocs\u002Fai\u002Fskills","en\u002Fdocs\u002F3.ai\u002F3.skills","Publish Agent Skills from skills\u002F so readers can install them in supported AI assistants.","i-lucide-wand-sparkles",{"title":1206,"path":1207,"stem":1208,"category":1067,"description":1209,"icon":1210},"llms.txt","\u002Fen\u002Fdocs\u002Fai\u002Fllms-txt","en\u002Fdocs\u002F3.ai\u002F4.llms-txt","Organize the docs index in llms.txt and publish the full Markdown content in llms-full.txt.","i-lucide-file-text",{"title":1212,"path":1213,"stem":1214,"category":1067,"description":1215,"icon":1216},"Agent Discovery","\u002Fen\u002Fdocs\u002Fai\u002Fagent-discovery","en\u002Fdocs\u002F3.ai\u002F5.agent-discovery","Help AI agents discover and read the docs through Markdown, a sitemap, and \u002F.well-known endpoints.","i-lucide-radar",{"title":1218,"category":1067,"description":1067,"icon":1219,"path":1220,"stem":1221,"children":1222,"page":1069},"Writing","i-lucide-square-pilcrow","\u002Fen\u002Fdocs\u002Fwriting","en\u002Fdocs\u002F4.writing",[1223,1229,1235,1241,1246,1252],{"title":1224,"path":1225,"stem":1226,"category":1067,"description":1227,"icon":1228},"Markdown Syntax","\u002Fen\u002Fdocs\u002Fwriting\u002Fmarkdown-syntax","en\u002Fdocs\u002F4.writing\u002F1.markdown-syntax","See how Markdown headings, links, lists, tables, and blockquotes render in the docs.","i-lucide-heading",{"title":1230,"path":1231,"stem":1232,"category":1067,"description":1233,"icon":1234},"Code Blocks","\u002Fen\u002Fdocs\u002Fwriting\u002Fcode-blocks","en\u002Fdocs\u002F4.writing\u002F2.code-blocks","Label and highlight code blocks, then organize multi-file and package-manager examples.","i-lucide-square-code",{"title":1236,"path":1237,"stem":1238,"category":1067,"description":1239,"icon":1240},"MDC Components","\u002Fen\u002Fdocs\u002Fwriting\u002Fmdc-components","en\u002Fdocs\u002F4.writing\u002F3.mdc-components","Use MDC to add Nuxt UI callouts, cards, tabs, and other prose components to Markdown.","i-lucide-puzzle",{"title":1242,"path":1243,"stem":1244,"category":1067,"description":1245,"icon":1174},"Images and Video","\u002Fen\u002Fdocs\u002Fwriting\u002Fmedia","en\u002Fdocs\u002F4.writing\u002F4.media","Embed images and videos, provide light and dark screenshots, and write descriptive alt text.",{"title":1247,"path":1248,"stem":1249,"category":1067,"description":1250,"icon":1251},"Mermaid Diagrams","\u002Fen\u002Fdocs\u002Fwriting\u002Fmermaid","en\u002Fdocs\u002F4.writing\u002F5.mermaid","Enable Mermaid to render theme-aware flowcharts, sequence diagrams, and class diagrams from Markdown.","i-lucide-workflow",{"title":1253,"path":1254,"stem":1255,"category":1067,"description":1256,"icon":1257},"Content Components","\u002Fen\u002Fdocs\u002Fwriting\u002Fcontent-components","en\u002Fdocs\u002F4.writing\u002F6.content-components","Use the layer's content components to add animations, backgrounds, and landing sections in Markdown.","i-lucide-sparkle",{"title":1259,"category":1067,"description":1067,"icon":1260,"path":1261,"stem":1262,"children":1263,"page":1069},"Components","i-lucide-component","\u002Fen\u002Fdocs\u002Fcomponents","en\u002Fdocs\u002F5.components",[1264,1270,1276,1282,1288,1294,1300],{"title":1265,"path":1266,"stem":1267,"category":1067,"description":1268,"icon":1269},"ComponentProps","\u002Fen\u002Fdocs\u002Fcomponents\u002Fcomponent-props","en\u002Fdocs\u002F5.components\u002F1.component-props","Generate a Vue props table with `:component-props`, using types, defaults, and descriptions from component metadata.","i-lucide-list",{"title":1271,"path":1272,"stem":1273,"category":1067,"description":1274,"icon":1275},"ComponentSlots","\u002Fen\u002Fdocs\u002Fcomponents\u002Fcomponent-slots","en\u002Fdocs\u002F5.components\u002F2.component-slots","Use `:component-slots` to list slot names, scoped parameter types, and descriptions from `defineSlots`.","i-lucide-layout-panel-left",{"title":1277,"path":1278,"stem":1279,"category":1067,"description":1280,"icon":1281},"ComponentEmits","\u002Fen\u002Fdocs\u002Fcomponents\u002Fcomponent-emits","en\u002Fdocs\u002F5.components\u002F3.component-emits","Use `:component-emits` to list event names, parameters, and descriptions from `defineEmits`.","i-lucide-radio-tower",{"title":1283,"path":1284,"stem":1285,"category":1067,"description":1286,"icon":1287},"ComponentExample","\u002Fen\u002Fdocs\u002Fcomponents\u002Fcomponent-example","en\u002Fdocs\u002F5.components\u002F4.component-example","Show a live Vue example and its highlighted source together with `:component-example`.","i-lucide-app-window",{"title":1289,"path":1290,"stem":1291,"category":1067,"description":1292,"icon":1293},"ComponentCode","\u002Fen\u002Fdocs\u002Fcomponents\u002Fcomponent-code","en\u002Fdocs\u002F5.components\u002F5.component-code","Use `::component-code` to adjust component props and generate a matching Vue snippet you can copy.","i-lucide-sliders-horizontal",{"title":1295,"path":1296,"stem":1297,"category":1067,"description":1298,"icon":1299},"CommitChangelog","\u002Fen\u002Fdocs\u002Fcomponents\u002Fcommit-changelog","en\u002Fdocs\u002F5.components\u002F6.commit-changelog","Use `:commit-changelog` to display GitHub commits for a component or file, grouped by release.","i-lucide-git-commit-horizontal",{"title":1301,"path":1302,"stem":1303,"category":1067,"description":1304,"icon":1305},"PageLastCommit","\u002Fen\u002Fdocs\u002Fcomponents\u002Fpage-last-commit","en\u002Fdocs\u002F5.components\u002F7.page-last-commit","Show the date, author, and message of the latest commit to a docs page's Markdown file.","i-lucide-history",{"title":1307,"category":1067,"description":1067,"icon":1308,"path":1309,"stem":1310,"children":1311,"page":1069},"Reference","i-lucide-book-marked","\u002Fen\u002Fdocs\u002Freference","en\u002Fdocs\u002F6.reference",[1312,1318,1324,1399],{"title":1313,"path":1314,"stem":1315,"category":1067,"description":1316,"icon":1317},"app.config Reference","\u002Fen\u002Fdocs\u002Freference\u002Fapp-config","en\u002Fdocs\u002F6.reference\u002F1.app-config","Look up app.config.ts fields, types, and defaults, with links to the relevant guides.","i-lucide-file-cog",{"title":1319,"path":1320,"stem":1321,"category":1067,"description":1322,"icon":1323},"nuxt.config Options","\u002Fen\u002Fdocs\u002Freference\u002Fnuxt-config","en\u002Fdocs\u002F6.reference\u002F2.nuxt-config","Look up the nuxt.config options and environment variables the layer reads at build time.","i-lucide-settings-2",{"title":1325,"category":1067,"description":1067,"icon":1326,"path":1327,"stem":1328,"children":1329,"page":1069},"Composables","i-lucide-square-function","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables","en\u002Fdocs\u002F6.reference\u002F3.composables",[1330,1335,1341,1347,1353,1359,1365,1371,1377,1382,1388,1394],{"title":1331,"path":1332,"stem":1333,"category":1067,"description":1334,"icon":1168},"useMovkI18n","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-movk-i18n","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F1.use-movk-i18n","Read the current locale, translate UI strings, generate localized links, and find the active content collection.",{"title":1336,"path":1337,"stem":1338,"category":1067,"description":1339,"icon":1340},"useLocaleSeo","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-locale-seo","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F10.use-locale-seo","Generate hreflang, x-default, and og:locale tags for localized pages.","i-lucide-globe",{"title":1342,"path":1343,"stem":1344,"category":1067,"description":1345,"icon":1346},"useFetchComponentMeta","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-fetch-component-meta","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F11.use-fetch-component-meta","Read prop, slot, and event types and descriptions when component docs are enabled.","i-lucide-braces",{"title":1348,"path":1349,"stem":1350,"category":1067,"description":1351,"icon":1352},"useFetchComponentExample","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-fetch-component-example","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F12.use-fetch-component-example","Read the source, file path, and name of a Vue example when component docs are enabled.","i-lucide-file-code",{"title":1354,"path":1355,"stem":1356,"category":1067,"description":1357,"icon":1358},"useDocsNavigation","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-docs-navigation","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F2.use-docs-navigation","Reuse the docs navigation tree loaded by the site shell in your own navigation components.","i-lucide-list-tree",{"title":1360,"path":1361,"stem":1362,"category":1067,"description":1363,"icon":1364},"useNavigation","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-navigation","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F3.use-navigation","Build section lists, grouped sidebars, and breadcrumbs from the docs navigation tree.","i-lucide-panel-left",{"title":1366,"path":1367,"stem":1368,"category":1067,"description":1369,"icon":1370},"useHeader","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-header","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F4.use-header","Read desktop and mobile header links or override the composable for dynamic navigation.","i-lucide-panel-top",{"title":1372,"path":1373,"stem":1374,"category":1067,"description":1375,"icon":1376},"useCategory","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-category","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F5.use-category","Read the category definitions that group and order pages in the sidebar.","i-lucide-folders",{"title":1378,"path":1379,"stem":1380,"category":1067,"description":1381,"icon":1072},"useTheme","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-theme","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F6.use-theme","Manage colors, radius, icons, and color mode, persist visitor preferences, and export theme settings.",{"title":1383,"path":1384,"stem":1385,"category":1067,"description":1386,"icon":1387},"useDocsRoute","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-docs-route","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F7.use-docs-route","Check whether the current route is a docs page, including routes with locale prefixes.","i-lucide-route",{"title":1389,"path":1390,"stem":1391,"category":1067,"description":1392,"icon":1393},"useDocsFilterConfig","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-docs-filter-config","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F8.use-docs-filter-config","Read sidebar filter settings, check visibility, and reuse the default filtering behavior.","i-lucide-list-filter",{"title":1395,"path":1396,"stem":1397,"category":1067,"description":1398,"icon":1287},"useDocsShell","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-docs-shell","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F9.use-docs-shell","Load locale-specific navigation and search data, and set the document language and direction.",{"title":1400,"path":1401,"stem":1402,"category":1067,"description":1403,"icon":1404},"A–Z Index","\u002Fen\u002Fdocs\u002Freference\u002Fa-z","en\u002Fdocs\u002F6.reference\u002F9.a-z","Find docs by their English titles, grouped by first letter.","i-lucide-list-ordered",{"data":1406,"body":1407},{},{"type":6,"children":1408},[1409],{"type":9,"tag":10,"props":1410,"children":1411},{},[1412],{"type":14,"value":1413},"Copyright © 2024 - 2026",[1415,1416],{"title":1132,"path":1133,"stem":1134,"description":1135,"icon":1136,"children":-1},{"title":1139,"path":1140,"stem":1141,"description":1142,"icon":1143,"children":-1},1796367095264,"2ce86a3d-28e5-414a-a0bc-737c9421d4b3"]