[{"data":1,"prerenderedAt":1502,"buildId":1503},["ShallowReactive",2],{"-en-docs-reference-composables-use-theme-description":3,"docs--en-docs-reference-composables-use-theme":16,"docs-navigation-en":1163,"mdc--tctnej-key":1490,"surround--en-docs-reference-composables-use-theme":1499},{"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","Manage colors, radius, icons, and color mode, persist visitor preferences, and export theme settings.",{"id":17,"title":18,"body":19,"category":1147,"description":15,"difficulty":1147,"extension":1148,"index":1149,"keywords":1147,"links":1150,"meta":1155,"navigation":1156,"path":1158,"requires":1147,"seo":1159,"sitemap":1160,"stem":1161,"__hash__":1162},"docs_en\u002Fen\u002Fdocs\u002F6.reference\u002F3.composables\u002F6.use-theme.md","useTheme",{"type":20,"value":21,"toc":1140},"minimark",[22,41,46,264,268,674,678,1083,1087,1129,1133,1137],[10,23,24,28,29,32,33,36,37,40],{},[25,26,27],"code",{},"useTheme()"," drives the ",[25,30,31],{},"ThemePicker"," in the header. The theme configured in ",[25,34,35],{},"app.config"," is the baseline; visitor changes in the picker override it and persist to localStorage under keys prefixed with the site name (",[25,38,39],{},"site.name"," in kebab-case).",[42,43,45],"h2",{"id":44},"usage","Usage",[47,48,53],"pre",{"className":49,"code":50,"language":51,"meta":52,"style":52},"language-vue shiki shiki-themes github-light github-light github-dark","\u003Cscript setup lang=\"ts\">\nconst { primary, neutral, mode, resetTheme } = useTheme()\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CUButton label=\"Blue\" @click=\"primary = 'blue'\" \u002F>\n  \u003CUButton label=\"Dark\" @click=\"mode = 'dark'\" \u002F>\n  \u003CUButton label=\"Reset\" @click=\"resetTheme()\" \u002F>\n\u003C\u002Ftemplate>\n","vue","",[25,54,55,85,126,136,143,153,192,224,255],{"__ignoreMap":52},[56,57,60,64,68,72,75,78,82],"span",{"class":58,"line":59},"line",1,[56,61,63],{"class":62},"sxrX7","\u003C",[56,65,67],{"class":66},"sovSZ","script",[56,69,71],{"class":70},"snPdu"," setup",[56,73,74],{"class":70}," lang",[56,76,77],{"class":62},"=",[56,79,81],{"class":80},"sIIMD","\"ts\"",[56,83,84],{"class":62},">\n",[56,86,88,92,95,99,102,105,107,110,112,115,118,120,123],{"class":58,"line":87},2,[56,89,91],{"class":90},"s8jYJ","const",[56,93,94],{"class":62}," { ",[56,96,98],{"class":97},"sBjJW","primary",[56,100,101],{"class":62},", ",[56,103,104],{"class":97},"neutral",[56,106,101],{"class":62},[56,108,109],{"class":97},"mode",[56,111,101],{"class":62},[56,113,114],{"class":97},"resetTheme",[56,116,117],{"class":62}," } ",[56,119,77],{"class":90},[56,121,122],{"class":70}," useTheme",[56,124,125],{"class":62},"()\n",[56,127,129,132,134],{"class":58,"line":128},3,[56,130,131],{"class":62},"\u003C\u002F",[56,133,67],{"class":66},[56,135,84],{"class":62},[56,137,139],{"class":58,"line":138},4,[56,140,142],{"emptyLinePlaceholder":141},true,"\n",[56,144,146,148,151],{"class":58,"line":145},5,[56,147,63],{"class":62},[56,149,150],{"class":66},"template",[56,152,84],{"class":62},[56,154,156,159,162,165,167,170,173,176,178,181,184,186,189],{"class":58,"line":155},6,[56,157,158],{"class":62},"  \u003C",[56,160,161],{"class":66},"UButton",[56,163,164],{"class":70}," label",[56,166,77],{"class":62},[56,168,169],{"class":80},"\"Blue\"",[56,171,172],{"class":62}," @",[56,174,175],{"class":70},"click",[56,177,77],{"class":62},[56,179,180],{"class":80},"\"",[56,182,183],{"class":62},"primary ",[56,185,77],{"class":90},[56,187,188],{"class":80}," 'blue'\"",[56,190,191],{"class":62}," \u002F>\n",[56,193,195,197,199,201,203,206,208,210,212,214,217,219,222],{"class":58,"line":194},7,[56,196,158],{"class":62},[56,198,161],{"class":66},[56,200,164],{"class":70},[56,202,77],{"class":62},[56,204,205],{"class":80},"\"Dark\"",[56,207,172],{"class":62},[56,209,175],{"class":70},[56,211,77],{"class":62},[56,213,180],{"class":80},[56,215,216],{"class":62},"mode ",[56,218,77],{"class":90},[56,220,221],{"class":80}," 'dark'\"",[56,223,191],{"class":62},[56,225,227,229,231,233,235,238,240,242,244,246,248,251,253],{"class":58,"line":226},8,[56,228,158],{"class":62},[56,230,161],{"class":66},[56,232,164],{"class":70},[56,234,77],{"class":62},[56,236,237],{"class":80},"\"Reset\"",[56,239,172],{"class":62},[56,241,175],{"class":70},[56,243,77],{"class":62},[56,245,180],{"class":80},[56,247,114],{"class":70},[56,249,250],{"class":62},"()",[56,252,180],{"class":80},[56,254,191],{"class":62},[56,256,258,260,262],{"class":58,"line":257},9,[56,259,131],{"class":62},[56,261,150],{"class":66},[56,263,84],{"class":62},[42,265,267],{"id":266},"signature","Signature",[47,269,273],{"className":270,"code":271,"language":272,"meta":52,"style":52},"language-ts shiki shiki-themes github-light github-light github-dark","function useTheme(): {\n  primary: WritableComputedRef\u003Cstring>\n  primaryColors: string[]\n  neutral: WritableComputedRef\u003Cstring>\n  neutralColors: string[]\n  radius: WritableComputedRef\u003Cnumber>\n  radiuses: number[]\n  icon: WritableComputedRef\u003Cstring>\n  icons: { label: string, icon: string, value: string }[]\n  mode: WritableComputedRef\u003Cstring>\n  modes: ComputedRef\u003C{ label: string, icon: string }[]>\n  blackAsPrimary: ComputedRef\u003Cboolean>\n  setBlackAsPrimary: (value: boolean) => void\n  color: ComputedRef\u003Cstring | undefined>\n  style: { innerHTML: ComputedRef\u003Cstring>, id: string, tagPriority: number }[]\n  hasCSSChanges: ComputedRef\u003Cboolean>\n  hasConfigChanges: ComputedRef\u003Cboolean>\n  configLabel: string\n  exportCSS: () => string\n  exportConfig: () => string\n  resetTheme: () => void\n}\n","ts",[25,274,275,290,308,321,336,347,363,375,390,427,443,474,491,518,540,582,598,614,625,640,654,668],{"__ignoreMap":52},[56,276,277,280,282,284,287],{"class":58,"line":59},[56,278,279],{"class":90},"function",[56,281,122],{"class":70},[56,283,250],{"class":62},[56,285,286],{"class":90},":",[56,288,289],{"class":62}," {\n",[56,291,292,296,298,301,303,306],{"class":58,"line":87},[56,293,295],{"class":294},"sP4rz","  primary",[56,297,286],{"class":90},[56,299,300],{"class":70}," WritableComputedRef",[56,302,63],{"class":62},[56,304,305],{"class":97},"string",[56,307,84],{"class":62},[56,309,310,313,315,318],{"class":58,"line":128},[56,311,312],{"class":294},"  primaryColors",[56,314,286],{"class":90},[56,316,317],{"class":97}," string",[56,319,320],{"class":62},"[]\n",[56,322,323,326,328,330,332,334],{"class":58,"line":138},[56,324,325],{"class":294},"  neutral",[56,327,286],{"class":90},[56,329,300],{"class":70},[56,331,63],{"class":62},[56,333,305],{"class":97},[56,335,84],{"class":62},[56,337,338,341,343,345],{"class":58,"line":145},[56,339,340],{"class":294},"  neutralColors",[56,342,286],{"class":90},[56,344,317],{"class":97},[56,346,320],{"class":62},[56,348,349,352,354,356,358,361],{"class":58,"line":155},[56,350,351],{"class":294},"  radius",[56,353,286],{"class":90},[56,355,300],{"class":70},[56,357,63],{"class":62},[56,359,360],{"class":97},"number",[56,362,84],{"class":62},[56,364,365,368,370,373],{"class":58,"line":194},[56,366,367],{"class":294},"  radiuses",[56,369,286],{"class":90},[56,371,372],{"class":97}," number",[56,374,320],{"class":62},[56,376,377,380,382,384,386,388],{"class":58,"line":226},[56,378,379],{"class":294},"  icon",[56,381,286],{"class":90},[56,383,300],{"class":70},[56,385,63],{"class":62},[56,387,305],{"class":97},[56,389,84],{"class":62},[56,391,392,395,397,399,402,404,406,408,411,413,415,417,420,422,424],{"class":58,"line":257},[56,393,394],{"class":294},"  icons",[56,396,286],{"class":90},[56,398,94],{"class":62},[56,400,401],{"class":294},"label",[56,403,286],{"class":90},[56,405,317],{"class":97},[56,407,101],{"class":62},[56,409,410],{"class":294},"icon",[56,412,286],{"class":90},[56,414,317],{"class":97},[56,416,101],{"class":62},[56,418,419],{"class":294},"value",[56,421,286],{"class":90},[56,423,317],{"class":97},[56,425,426],{"class":62}," }[]\n",[56,428,430,433,435,437,439,441],{"class":58,"line":429},10,[56,431,432],{"class":294},"  mode",[56,434,286],{"class":90},[56,436,300],{"class":70},[56,438,63],{"class":62},[56,440,305],{"class":97},[56,442,84],{"class":62},[56,444,446,449,451,454,457,459,461,463,465,467,469,471],{"class":58,"line":445},11,[56,447,448],{"class":294},"  modes",[56,450,286],{"class":90},[56,452,453],{"class":70}," ComputedRef",[56,455,456],{"class":62},"\u003C{ ",[56,458,401],{"class":294},[56,460,286],{"class":90},[56,462,317],{"class":97},[56,464,101],{"class":62},[56,466,410],{"class":294},[56,468,286],{"class":90},[56,470,317],{"class":97},[56,472,473],{"class":62}," }[]>\n",[56,475,477,480,482,484,486,489],{"class":58,"line":476},12,[56,478,479],{"class":294},"  blackAsPrimary",[56,481,286],{"class":90},[56,483,453],{"class":70},[56,485,63],{"class":62},[56,487,488],{"class":97},"boolean",[56,490,84],{"class":62},[56,492,494,497,499,502,504,506,509,512,515],{"class":58,"line":493},13,[56,495,496],{"class":70},"  setBlackAsPrimary",[56,498,286],{"class":90},[56,500,501],{"class":62}," (",[56,503,419],{"class":294},[56,505,286],{"class":90},[56,507,508],{"class":97}," boolean",[56,510,511],{"class":62},") ",[56,513,514],{"class":90},"=>",[56,516,517],{"class":97}," void\n",[56,519,521,524,526,528,530,532,535,538],{"class":58,"line":520},14,[56,522,523],{"class":294},"  color",[56,525,286],{"class":90},[56,527,453],{"class":70},[56,529,63],{"class":62},[56,531,305],{"class":97},[56,533,534],{"class":90}," |",[56,536,537],{"class":97}," undefined",[56,539,84],{"class":62},[56,541,543,546,548,550,553,555,557,559,561,564,567,569,571,573,576,578,580],{"class":58,"line":542},15,[56,544,545],{"class":294},"  style",[56,547,286],{"class":90},[56,549,94],{"class":62},[56,551,552],{"class":294},"innerHTML",[56,554,286],{"class":90},[56,556,453],{"class":70},[56,558,63],{"class":62},[56,560,305],{"class":97},[56,562,563],{"class":62},">, ",[56,565,566],{"class":294},"id",[56,568,286],{"class":90},[56,570,317],{"class":97},[56,572,101],{"class":62},[56,574,575],{"class":294},"tagPriority",[56,577,286],{"class":90},[56,579,372],{"class":97},[56,581,426],{"class":62},[56,583,585,588,590,592,594,596],{"class":58,"line":584},16,[56,586,587],{"class":294},"  hasCSSChanges",[56,589,286],{"class":90},[56,591,453],{"class":70},[56,593,63],{"class":62},[56,595,488],{"class":97},[56,597,84],{"class":62},[56,599,601,604,606,608,610,612],{"class":58,"line":600},17,[56,602,603],{"class":294},"  hasConfigChanges",[56,605,286],{"class":90},[56,607,453],{"class":70},[56,609,63],{"class":62},[56,611,488],{"class":97},[56,613,84],{"class":62},[56,615,617,620,622],{"class":58,"line":616},18,[56,618,619],{"class":294},"  configLabel",[56,621,286],{"class":90},[56,623,624],{"class":97}," string\n",[56,626,628,631,633,636,638],{"class":58,"line":627},19,[56,629,630],{"class":70},"  exportCSS",[56,632,286],{"class":90},[56,634,635],{"class":62}," () ",[56,637,514],{"class":90},[56,639,624],{"class":97},[56,641,643,646,648,650,652],{"class":58,"line":642},20,[56,644,645],{"class":70},"  exportConfig",[56,647,286],{"class":90},[56,649,635],{"class":62},[56,651,514],{"class":90},[56,653,624],{"class":97},[56,655,657,660,662,664,666],{"class":58,"line":656},21,[56,658,659],{"class":70},"  resetTheme",[56,661,286],{"class":90},[56,663,635],{"class":62},[56,665,514],{"class":90},[56,667,517],{"class":97},[56,669,671],{"class":58,"line":670},22,[56,672,673],{"class":62},"}\n",[42,675,677],{"id":676},"return-value","Return Value",[679,680,681,697],"table",{},[682,683,684],"thead",{},[685,686,687,691,694],"tr",{},[688,689,690],"th",{},"Name",[688,692,693],{},"Type",[688,695,696],{},"Description",[698,699,700,719,738,754,797,812,842,858,882,898,922,937,952,970,988,1002,1016,1033,1048,1066],"tbody",{},[685,701,702,707,712],{},[703,704,705],"td",{},[25,706,98],{},[703,708,709],{},[25,710,711],{},"WritableComputedRef\u003Cstring>",[703,713,714,715,718],{},"Primary color, written to ",[25,716,717],{},"appConfig.ui.colors.primary","; setting it turns off black as primary",[685,720,721,726,731],{},[703,722,723],{},[25,724,725],{},"primaryColors",[703,727,728],{},[25,729,730],{},"string[]",[703,732,733,734,737],{},"Available primary colors: ",[25,735,736],{},"vermilion"," plus the chromatic Tailwind palettes",[685,739,740,744,748],{},[703,741,742],{},[25,743,104],{},[703,745,746],{},[25,747,711],{},[703,749,750,751],{},"Neutral color, written to ",[25,752,753],{},"appConfig.ui.colors.neutral",[685,755,756,761,765],{},[703,757,758],{},[25,759,760],{},"neutralColors",[703,762,763],{},[25,764,730],{},[703,766,767,768,101,771,101,774,101,777,101,780,101,782,101,785,101,788,101,791,101,794],{},"Available neutrals: ",[25,769,770],{},"paper",[25,772,773],{},"slate",[25,775,776],{},"gray",[25,778,779],{},"zinc",[25,781,104],{},[25,783,784],{},"stone",[25,786,787],{},"taupe",[25,789,790],{},"mauve",[25,792,793],{},"mist",[25,795,796],{},"olive",[685,798,799,804,809],{},[703,800,801],{},[25,802,803],{},"radius",[703,805,806],{},[25,807,808],{},"WritableComputedRef\u003Cnumber>",[703,810,811],{},"Border radius in rem",[685,813,814,819,824],{},[703,815,816],{},[25,817,818],{},"radiuses",[703,820,821],{},[25,822,823],{},"number[]",[703,825,826,827,101,830,101,833,101,836,101,839],{},"Available radii: ",[25,828,829],{},"0",[25,831,832],{},"0.125",[25,834,835],{},"0.25",[25,837,838],{},"0.375",[25,840,841],{},"0.5",[685,843,844,848,852],{},[703,845,846],{},[25,847,410],{},[703,849,850],{},[25,851,711],{},[703,853,854,855],{},"Icon set; writing it also replaces ",[25,856,857],{},"appConfig.ui.icons",[685,859,860,865,870],{},[703,861,862],{},[25,863,864],{},"icons",[703,866,867],{},[25,868,869],{},"{ label, icon, value }[]",[703,871,872,873,101,876,101,879],{},"Available icon sets: ",[25,874,875],{},"lucide",[25,877,878],{},"phosphor",[25,880,881],{},"tabler",[685,883,884,888,892],{},[703,885,886],{},[25,887,109],{},[703,889,890],{},[25,891,711],{},[703,893,894,895],{},"Color mode, written to ",[25,896,897],{},"colorMode.preference",[685,899,900,905,910],{},[703,901,902],{},[25,903,904],{},"modes",[703,906,907],{},[25,908,909],{},"ComputedRef\u003C{ label, icon }[]>",[703,911,912,101,915,918,919],{},[25,913,914],{},"light",[25,916,917],{},"dark"," and ",[25,920,921],{},"system",[685,923,924,929,934],{},[703,925,926],{},[25,927,928],{},"blackAsPrimary",[703,930,931],{},[25,932,933],{},"ComputedRef\u003Cboolean>",[703,935,936],{},"Whether black (white in dark mode) is used as the primary color",[685,938,939,944,949],{},[703,940,941],{},[25,942,943],{},"setBlackAsPrimary",[703,945,946],{},[25,947,948],{},"(value: boolean) => void",[703,950,951],{},"Toggle black as primary",[685,953,954,959,964],{},[703,955,956],{},[25,957,958],{},"color",[703,960,961],{},[25,962,963],{},"ComputedRef\u003Cstring | undefined>",[703,965,966,967],{},"The neutral 50 \u002F 950 shade for the current mode, used for ",[25,968,969],{},"theme-color",[685,971,972,977,982],{},[703,973,974],{},[25,975,976],{},"style",[703,978,979],{},[25,980,981],{},"object[]",[703,983,984,987],{},[25,985,986],{},"\u003Cstyle>"," tags for radius and black as primary, injected into head by the shell",[685,989,990,995,999],{},[703,991,992],{},[25,993,994],{},"hasCSSChanges",[703,996,997],{},[25,998,933],{},[703,1000,1001],{},"Whether radius or black as primary differs from the baseline",[685,1003,1004,1009,1013],{},[703,1005,1006],{},[25,1007,1008],{},"hasConfigChanges",[703,1010,1011],{},[25,1012,933],{},[703,1014,1015],{},"Whether primary, neutral or icon set differs from the baseline",[685,1017,1018,1023,1027],{},[703,1019,1020],{},[25,1021,1022],{},"configLabel",[703,1024,1025],{},[25,1026,305],{},[703,1028,1029,1030],{},"File name of the exported config, always ",[25,1031,1032],{},"app.config.ts",[685,1034,1035,1040,1045],{},[703,1036,1037],{},[25,1038,1039],{},"exportCSS",[703,1041,1042],{},[25,1043,1044],{},"() => string",[703,1046,1047],{},"Export CSS variables that differ from the baseline",[685,1049,1050,1055,1059],{},[703,1051,1052],{},[25,1053,1054],{},"exportConfig",[703,1056,1057],{},[25,1058,1044],{},[703,1060,1061,1062,1065],{},"Export ",[25,1063,1064],{},"defineAppConfig(...)"," code for values that differ from the baseline",[685,1067,1068,1072,1077],{},[703,1069,1070],{},[25,1071,114],{},[703,1073,1074],{},[25,1075,1076],{},"() => void",[703,1078,1079,1080,1082],{},"Clear visitor preferences and restore the ",[25,1081,35],{}," baseline",[42,1084,1086],{"id":1085},"baseline","Baseline",[10,1088,1089,1090,1092,1093,101,1096,1099,1100,1103,1104,1106,1107,1103,1110,1112,1113,1103,1116,1119,1120,1122,1123,1128],{},"The baseline is read from ",[25,1091,35],{}," on first call: ",[25,1094,1095],{},"ui.colors.primary",[25,1097,1098],{},"ui.colors.neutral",", plus ",[25,1101,1102],{},"theme.radius"," (default ",[25,1105,835],{},"), ",[25,1108,1109],{},"theme.icons",[25,1111,875],{},") and ",[25,1114,1115],{},"theme.blackAsPrimary",[25,1117,1118],{},"false","). To change the site's default theme, edit ",[25,1121,35],{}," rather than writing these refs in code, see ",[1124,1125,1127],"a",{"href":1126},"\u002Fen\u002Fdocs\u002Fguide\u002Ftheme","Theme and Fonts",".",[42,1130,1132],{"id":1131},"changelog","Changelog",[1134,1135],"commit-changelog",{"commit-path":1136,"suffix":272},"layer\u002Fapp\u002Fcomposables",[976,1138,1139],{},"html pre.shiki code .sxrX7, html code.shiki .sxrX7{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sovSZ, html code.shiki .sovSZ{--shiki-light:#22863A;--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .snPdu, html code.shiki .snPdu{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}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}",{"title":52,"searchDepth":87,"depth":87,"links":1141},[1142,1143,1144,1145,1146],{"id":44,"depth":87,"text":45},{"id":266,"depth":87,"text":267},{"id":676,"depth":87,"text":677},{"id":1085,"depth":87,"text":1086},{"id":1131,"depth":87,"text":1132},null,"md",false,[1151],{"label":1152,"icon":1153,"to":1154},"GitHub","i-simple-icons-github","https:\u002F\u002Fgithub.com\u002Fmhaibaraai\u002Fmovk-nuxt-docs\u002Fblob\u002Fmain\u002Flayer\u002Fapp\u002Fcomposables\u002FuseTheme.ts",{},{"icon":1157},"i-lucide-palette","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-theme",{"title":18,"description":15},{"loc":1158},"en\u002Fdocs\u002F6.reference\u002F3.composables\u002F6.use-theme","VJScr7dFqQyox26gMuTe2WPf_hNncTgH8nRhGr4tKsw",[1164],{"title":1165,"path":1166,"stem":1167,"children":1168,"page":1149},"Docs","\u002Fen\u002Fdocs","en\u002Fdocs",[1169,1197,1270,1306,1347,1395],{"title":1170,"path":1171,"stem":1172,"children":1173,"category":1147,"description":1147,"icon":1196},"Get Started","\u002Fen\u002Fdocs\u002Fgetting-started","en\u002Fdocs\u002F1.getting-started\u002F1.index",[1174,1178,1184,1190],{"title":1175,"path":1171,"stem":1172,"category":1147,"description":1176,"icon":1177},"Introduction","Build a Nuxt documentation site with built-in typography, navigation, search, SEO, and AI features.","i-lucide-book-open",{"title":1179,"path":1180,"stem":1181,"category":1147,"description":1182,"icon":1183},"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":1185,"path":1186,"stem":1187,"category":1147,"description":1188,"icon":1189},"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":1191,"path":1192,"stem":1193,"category":1147,"description":1194,"icon":1195},"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":1198,"category":1147,"description":1147,"icon":1199,"path":1200,"stem":1201,"children":1202,"page":1149},"Guide","i-lucide-compass","\u002Fen\u002Fdocs\u002Fguide","en\u002Fdocs\u002F2.guide",[1203,1210,1217,1223,1227,1233,1239,1246,1252,1258,1264],{"title":1204,"path":1205,"stem":1206,"category":1207,"description":1208,"icon":1209},"Configuration Overview","\u002Fen\u002Fdocs\u002Fguide\u002Fconfiguration","en\u002Fdocs\u002F2.guide\u002F1.configuration","basics","Use nuxt.config.ts for build-time features and app.config.ts for UI, copy, and navigation.","i-lucide-settings",{"title":1211,"path":1212,"stem":1213,"category":1214,"description":1215,"icon":1216},"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":1218,"path":1219,"stem":1220,"category":1214,"description":1221,"icon":1222},"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":1224,"path":1126,"stem":1225,"category":1207,"description":1226,"icon":1157},"Theme & Fonts","en\u002Fdocs\u002F2.guide\u002F2.theme","Customize the palette and heading fonts, add a CJK serif font, and configure visitor theme and motion preferences.",{"title":1228,"path":1229,"stem":1230,"category":1207,"description":1231,"icon":1232},"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":1234,"path":1235,"stem":1236,"category":1207,"description":1237,"icon":1238},"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":1240,"path":1241,"stem":1242,"category":1243,"description":1244,"icon":1245},"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":1247,"path":1248,"stem":1249,"category":1243,"description":1250,"icon":1251},"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":1253,"path":1254,"stem":1255,"category":1243,"description":1256,"icon":1257},"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":1259,"path":1260,"stem":1261,"category":1243,"description":1262,"icon":1263},"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":1265,"path":1266,"stem":1267,"category":1214,"description":1268,"icon":1269},"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":1271,"category":1147,"description":1147,"icon":1272,"path":1273,"stem":1274,"children":1275,"page":1149},"AI","i-lucide-sparkles","\u002Fen\u002Fdocs\u002Fai","en\u002Fdocs\u002F3.ai",[1276,1282,1288,1294,1300],{"title":1277,"path":1278,"stem":1279,"category":1147,"description":1280,"icon":1281},"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":1283,"path":1284,"stem":1285,"category":1147,"description":1286,"icon":1287},"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":1289,"path":1290,"stem":1291,"category":1147,"description":1292,"icon":1293},"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":1295,"path":1296,"stem":1297,"category":1147,"description":1298,"icon":1299},"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":1301,"path":1302,"stem":1303,"category":1147,"description":1304,"icon":1305},"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":1307,"category":1147,"description":1147,"icon":1308,"path":1309,"stem":1310,"children":1311,"page":1149},"Writing","i-lucide-square-pilcrow","\u002Fen\u002Fdocs\u002Fwriting","en\u002Fdocs\u002F4.writing",[1312,1318,1324,1330,1335,1341],{"title":1313,"path":1314,"stem":1315,"category":1147,"description":1316,"icon":1317},"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":1319,"path":1320,"stem":1321,"category":1147,"description":1322,"icon":1323},"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":1325,"path":1326,"stem":1327,"category":1147,"description":1328,"icon":1329},"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":1331,"path":1332,"stem":1333,"category":1147,"description":1334,"icon":1263},"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":1336,"path":1337,"stem":1338,"category":1147,"description":1339,"icon":1340},"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":1342,"path":1343,"stem":1344,"category":1147,"description":1345,"icon":1346},"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":1348,"category":1147,"description":1147,"icon":1349,"path":1350,"stem":1351,"children":1352,"page":1149},"Components","i-lucide-component","\u002Fen\u002Fdocs\u002Fcomponents","en\u002Fdocs\u002F5.components",[1353,1359,1365,1371,1377,1383,1389],{"title":1354,"path":1355,"stem":1356,"category":1147,"description":1357,"icon":1358},"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":1360,"path":1361,"stem":1362,"category":1147,"description":1363,"icon":1364},"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":1366,"path":1367,"stem":1368,"category":1147,"description":1369,"icon":1370},"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":1372,"path":1373,"stem":1374,"category":1147,"description":1375,"icon":1376},"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":1378,"path":1379,"stem":1380,"category":1147,"description":1381,"icon":1382},"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":1384,"path":1385,"stem":1386,"category":1147,"description":1387,"icon":1388},"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":1390,"path":1391,"stem":1392,"category":1147,"description":1393,"icon":1394},"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":1396,"category":1147,"description":1147,"icon":1397,"path":1398,"stem":1399,"children":1400,"page":1149},"Reference","i-lucide-book-marked","\u002Fen\u002Fdocs\u002Freference","en\u002Fdocs\u002F6.reference",[1401,1407,1413,1484],{"title":1402,"path":1403,"stem":1404,"category":1147,"description":1405,"icon":1406},"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":1408,"path":1409,"stem":1410,"category":1147,"description":1411,"icon":1412},"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":1414,"category":1147,"description":1147,"icon":1415,"path":1416,"stem":1417,"children":1418,"page":1149},"Composables","i-lucide-square-function","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables","en\u002Fdocs\u002F6.reference\u002F3.composables",[1419,1424,1430,1436,1442,1448,1454,1460,1466,1467,1473,1479],{"title":1420,"path":1421,"stem":1422,"category":1147,"description":1423,"icon":1257},"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":1425,"path":1426,"stem":1427,"category":1147,"description":1428,"icon":1429},"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":1431,"path":1432,"stem":1433,"category":1147,"description":1434,"icon":1435},"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":1437,"path":1438,"stem":1439,"category":1147,"description":1440,"icon":1441},"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":1443,"path":1444,"stem":1445,"category":1147,"description":1446,"icon":1447},"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":1449,"path":1450,"stem":1451,"category":1147,"description":1452,"icon":1453},"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":1455,"path":1456,"stem":1457,"category":1147,"description":1458,"icon":1459},"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":1461,"path":1462,"stem":1463,"category":1147,"description":1464,"icon":1465},"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":18,"path":1158,"stem":1161,"category":1147,"description":15,"icon":1157},{"title":1468,"path":1469,"stem":1470,"category":1147,"description":1471,"icon":1472},"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":1474,"path":1475,"stem":1476,"category":1147,"description":1477,"icon":1478},"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":1480,"path":1481,"stem":1482,"category":1147,"description":1483,"icon":1376},"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":1485,"path":1486,"stem":1487,"category":1147,"description":1488,"icon":1489},"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":1491,"body":1492},{},{"type":6,"children":1493},[1494],{"type":9,"tag":10,"props":1495,"children":1496},{},[1497],{"type":14,"value":1498},"Copyright © 2024 - 2026",[1500,1501],{"title":1461,"path":1462,"stem":1463,"description":1464,"icon":1465,"children":-1},{"title":1468,"path":1469,"stem":1470,"description":1471,"icon":1472,"children":-1},1796367097423,"2ce86a3d-28e5-414a-a0bc-737c9421d4b3"]