[{"data":1,"prerenderedAt":1415},["ShallowReactive",2],{"navigation_docs":3,"-components-theme-select":357,"-components-theme-select-surround":641,"component-example-themeSelectBasicExample":646,"component-example-themeSelectUseThemeExample":649,"component-meta-MtThemeSelect":652,"component-example-ast-themeSelectBasicExample":692,"component-example-ast-themeSelectUseThemeExample":998},[4,110,302],{"title":5,"path":6,"stem":7,"children":8,"page":34},"Documentation","\u002Fdocumentation","1.documentation",[9,35,56,89],{"title":10,"path":11,"stem":12,"children":13,"page":34},"Getting Started","\u002Fdocumentation\u002Fgetting-started","1.documentation\u002F1.getting-started",[14,18,22,26,30],{"title":15,"path":16,"stem":17},"Installation","\u002Fdocumentation\u002Fgetting-started\u002Finstallation","1.documentation\u002F1.getting-started\u002F1.installation",{"title":19,"path":20,"stem":21},"Agents","\u002Fdocumentation\u002Fgetting-started\u002Fagents","1.documentation\u002F1.getting-started\u002F2.agents",{"title":23,"path":24,"stem":25},"Migration","\u002Fdocumentation\u002Fgetting-started\u002Fmigration","1.documentation\u002F1.getting-started\u002F3.migration",{"title":27,"path":28,"stem":29},"Contributing","\u002Fdocumentation\u002Fgetting-started\u002Fcontributing","1.documentation\u002F1.getting-started\u002F4.contributing",{"title":31,"path":32,"stem":33},"What's new","\u002Fdocumentation\u002Fgetting-started\u002Fwhats-new","1.documentation\u002F1.getting-started\u002F5.whats-new",false,{"title":36,"path":37,"stem":38,"children":39,"page":34},"Guidelines","\u002Fdocumentation\u002Fguidelines","1.documentation\u002F2.guidelines",[40,44,48,52],{"title":41,"path":42,"stem":43},"Design Principles","\u002Fdocumentation\u002Fguidelines\u002Fdesign-principles","1.documentation\u002F2.guidelines\u002F1.design-principles",{"title":45,"path":46,"stem":47},"Accessibility","\u002Fdocumentation\u002Fguidelines\u002Faccessibility","1.documentation\u002F2.guidelines\u002F2.accessibility",{"title":49,"path":50,"stem":51},"Interactions","\u002Fdocumentation\u002Fguidelines\u002Finteractions","1.documentation\u002F2.guidelines\u002F3.interactions",{"title":53,"path":54,"stem":55},"Components","\u002Fdocumentation\u002Fguidelines\u002Fcomponents","1.documentation\u002F2.guidelines\u002F4.components",{"title":57,"path":58,"stem":59,"children":60,"page":34},"Design","\u002Fdocumentation\u002Fdesign","1.documentation\u002F3.design",[61,65,69,73,77,81,85],{"title":62,"path":63,"stem":64},"Tokens","\u002Fdocumentation\u002Fdesign\u002Ftokens","1.documentation\u002F3.design\u002F1.tokens",{"title":66,"path":67,"stem":68},"Color Palette","\u002Fdocumentation\u002Fdesign\u002Fcolor-palette","1.documentation\u002F3.design\u002F2.color-palette",{"title":70,"path":71,"stem":72},"Elevation","\u002Fdocumentation\u002Fdesign\u002Felevation","1.documentation\u002F3.design\u002F3.elevation",{"title":74,"path":75,"stem":76},"Spacing","\u002Fdocumentation\u002Fdesign\u002Fspacing","1.documentation\u002F3.design\u002F4.spacing",{"title":78,"path":79,"stem":80},"Border Radius","\u002Fdocumentation\u002Fdesign\u002Fborder-radius","1.documentation\u002F3.design\u002F5.border-radius",{"title":82,"path":83,"stem":84},"Typography","\u002Fdocumentation\u002Fdesign\u002Ftypography","1.documentation\u002F3.design\u002F6.typography",{"title":86,"path":87,"stem":88},"Icons","\u002Fdocumentation\u002Fdesign\u002Ficons","1.documentation\u002F3.design\u002F7.icons",{"title":90,"path":91,"stem":92,"children":93,"page":34},"Content","\u002Fdocumentation\u002Fcontent","1.documentation\u002F4.content",[94,98,102,106],{"title":95,"path":96,"stem":97},"Wording","\u002Fdocumentation\u002Fcontent\u002Fwording","1.documentation\u002F4.content\u002F1.wording",{"title":99,"path":100,"stem":101},"Messaging","\u002Fdocumentation\u002Fcontent\u002Fmessaging","1.documentation\u002F4.content\u002F2.messaging",{"title":103,"path":104,"stem":105},"Glossary","\u002Fdocumentation\u002Fcontent\u002Fglossary","1.documentation\u002F4.content\u002F3.glossary",{"title":107,"path":108,"stem":109},"Artificial Intelligence","\u002Fdocumentation\u002Fcontent\u002Fartificial-intelligence","1.documentation\u002F4.content\u002F4.artificial-intelligence",{"title":53,"path":111,"stem":112,"children":113,"page":34},"\u002Fcomponents","2.components",[114,118,122,126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,194,198,202,206,210,214,218,222,226,230,234,238,242,246,250,254,258,262,266,270,274,278,282,286,290,294,298],{"title":115,"path":116,"stem":117},"Action Menu","\u002Fcomponents\u002Faction-menu","2.components\u002Faction-menu",{"title":119,"path":120,"stem":121},"Avatar","\u002Fcomponents\u002Favatar","2.components\u002Favatar",{"title":123,"path":124,"stem":125},"Badge","\u002Fcomponents\u002Fbadge","2.components\u002Fbadge",{"title":127,"path":128,"stem":129},"Banner","\u002Fcomponents\u002Fbanner","2.components\u002Fbanner",{"title":131,"path":132,"stem":133},"Breadcrumb","\u002Fcomponents\u002Fbreadcrumb","2.components\u002Fbreadcrumb",{"title":135,"path":136,"stem":137},"Button","\u002Fcomponents\u002Fbutton","2.components\u002Fbutton",{"title":139,"path":140,"stem":141},"Card","\u002Fcomponents\u002Fcard","2.components\u002Fcard",{"title":143,"path":144,"stem":145},"Chart","\u002Fcomponents\u002Fchart","2.components\u002Fchart",{"title":147,"path":148,"stem":149},"Checkbox","\u002Fcomponents\u002Fcheckbox","2.components\u002Fcheckbox",{"title":151,"path":152,"stem":153},"Collapsible","\u002Fcomponents\u002Fcollapsible","2.components\u002Fcollapsible",{"title":155,"path":156,"stem":157},"Colorpicker","\u002Fcomponents\u002Fcolorpicker","2.components\u002Fcolorpicker",{"title":159,"path":160,"stem":161},"Data Table","\u002Fcomponents\u002Fdata-table","2.components\u002Fdata-table",{"title":163,"path":164,"stem":165},"Datepicker","\u002Fcomponents\u002Fdatepicker","2.components\u002Fdatepicker",{"title":167,"path":168,"stem":169},"Email Field","\u002Fcomponents\u002Femail-field","2.components\u002Femail-field",{"title":171,"path":172,"stem":173},"Empty State","\u002Fcomponents\u002Fempty-state","2.components\u002Fempty-state",{"title":175,"path":176,"stem":177},"Entity Data Table","\u002Fcomponents\u002Fentity-data-table","2.components\u002Fentity-data-table",{"title":179,"path":180,"stem":181},"Entity Select","\u002Fcomponents\u002Fentity-select","2.components\u002Fentity-select",{"title":183,"path":184,"stem":185},"Floating UI","\u002Fcomponents\u002Ffloating-ui","2.components\u002Ffloating-ui",{"title":187,"path":188,"stem":189},"Help Text","\u002Fcomponents\u002Fhelp-text","2.components\u002Fhelp-text",{"title":191,"path":192,"stem":193},"Icon","\u002Fcomponents\u002Ficon","2.components\u002Ficon",{"title":195,"path":196,"stem":197},"Link","\u002Fcomponents\u002Flink","2.components\u002Flink",{"title":199,"path":200,"stem":201},"Loader","\u002Fcomponents\u002Floader","2.components\u002Floader",{"title":203,"path":204,"stem":205},"Modal","\u002Fcomponents\u002Fmodal","2.components\u002Fmodal",{"title":207,"path":208,"stem":209},"Number Field","\u002Fcomponents\u002Fnumber-field","2.components\u002Fnumber-field",{"title":211,"path":212,"stem":213},"Pagination","\u002Fcomponents\u002Fpagination","2.components\u002Fpagination",{"title":215,"path":216,"stem":217},"Password Field","\u002Fcomponents\u002Fpassword-field","2.components\u002Fpassword-field",{"title":219,"path":220,"stem":221},"Popover","\u002Fcomponents\u002Fpopover","2.components\u002Fpopover",{"title":223,"path":224,"stem":225},"Progress Bar","\u002Fcomponents\u002Fprogress-bar","2.components\u002Fprogress-bar",{"title":227,"path":228,"stem":229},"Promo Badge","\u002Fcomponents\u002Fpromo-badge","2.components\u002Fpromo-badge",{"title":231,"path":232,"stem":233},"Radio Group","\u002Fcomponents\u002Fradio-group","2.components\u002Fradio-group",{"title":235,"path":236,"stem":237},"Search","\u002Fcomponents\u002Fsearch","2.components\u002Fsearch",{"title":239,"path":240,"stem":241},"Select","\u002Fcomponents\u002Fselect","2.components\u002Fselect",{"title":243,"path":244,"stem":245},"Skeleton Bar","\u002Fcomponents\u002Fskeleton-bar","2.components\u002Fskeleton-bar",{"title":247,"path":248,"stem":249},"Slider","\u002Fcomponents\u002Fslider","2.components\u002Fslider",{"title":251,"path":252,"stem":253},"Snackbar","\u002Fcomponents\u002Fsnackbar","2.components\u002Fsnackbar",{"title":255,"path":256,"stem":257},"Status Dot","\u002Fcomponents\u002Fstatus-dot","2.components\u002Fstatus-dot",{"title":259,"path":260,"stem":261},"Switch","\u002Fcomponents\u002Fswitch","2.components\u002Fswitch",{"title":263,"path":264,"stem":265},"Tabs","\u002Fcomponents\u002Ftabs","2.components\u002Ftabs",{"title":267,"path":268,"stem":269},"Text","\u002Fcomponents\u002Ftext","2.components\u002Ftext",{"title":271,"path":272,"stem":273},"Text Editor","\u002Fcomponents\u002Ftext-editor","2.components\u002Ftext-editor",{"title":275,"path":276,"stem":277},"Text Field","\u002Fcomponents\u002Ftext-field","2.components\u002Ftext-field",{"title":279,"path":280,"stem":281},"Textarea","\u002Fcomponents\u002Ftextarea","2.components\u002Ftextarea",{"title":283,"path":284,"stem":285},"Theme Select","\u002Fcomponents\u002Ftheme-select","2.components\u002Ftheme-select",{"title":287,"path":288,"stem":289},"Toast","\u002Fcomponents\u002Ftoast","2.components\u002Ftoast",{"title":291,"path":292,"stem":293},"Tooltip","\u002Fcomponents\u002Ftooltip","2.components\u002Ftooltip",{"title":295,"path":296,"stem":297},"Unit Field","\u002Fcomponents\u002Funit-field","2.components\u002Funit-field",{"title":299,"path":300,"stem":301},"URL Field","\u002Fcomponents\u002Furl-field","2.components\u002Furl-field",{"title":303,"path":304,"stem":305,"children":306,"page":34},"Utilities","\u002Futilities","3.utilities",[307,319,340,348],{"title":53,"path":308,"stem":309,"children":310,"page":34},"\u002Futilities\u002Fcomponents","3.utilities\u002Fcomponents",[311,315],{"title":312,"path":313,"stem":314},"Inset","\u002Futilities\u002Fcomponents\u002Finset","3.utilities\u002Fcomponents\u002Finset",{"title":316,"path":317,"stem":318},"Theme Provider","\u002Futilities\u002Fcomponents\u002Ftheme-provider","3.utilities\u002Fcomponents\u002Ftheme-provider",{"title":320,"path":321,"stem":322,"children":323,"page":34},"Composables","\u002Futilities\u002Fcomposables","3.utilities\u002Fcomposables",[324,328,332,336],{"title":325,"path":326,"stem":327},"useFutureFlags","\u002Futilities\u002Fcomposables\u002Fuse-future-flags","3.utilities\u002Fcomposables\u002Fuse-future-flags",{"title":329,"path":330,"stem":331},"useServicePermission","\u002Futilities\u002Fcomposables\u002Fuse-service-permission","3.utilities\u002Fcomposables\u002Fuse-service-permission",{"title":333,"path":334,"stem":335},"useSnackbar","\u002Futilities\u002Fcomposables\u002Fuse-snackbar","3.utilities\u002Fcomposables\u002Fuse-snackbar",{"title":337,"path":338,"stem":339},"useTheme","\u002Futilities\u002Fcomposables\u002Fuse-theme","3.utilities\u002Fcomposables\u002Fuse-theme",{"title":341,"path":342,"stem":343,"children":344,"page":34},"Directives","\u002Futilities\u002Fdirectives","3.utilities\u002Fdirectives",[345],{"title":291,"path":346,"stem":347},"\u002Futilities\u002Fdirectives\u002Ftooltip","3.utilities\u002Fdirectives\u002Ftooltip",{"title":349,"path":350,"stem":351,"children":352,"page":34},"Plugins","\u002Futilities\u002Fplugins","3.utilities\u002Fplugins",[353],{"title":354,"path":355,"stem":356},"Device helper","\u002Futilities\u002Fplugins\u002Fdevice-helper","3.utilities\u002Fplugins\u002Fdevice-helper",{"id":358,"title":283,"body":359,"description":634,"extension":635,"links":636,"meta":637,"navigation":638,"path":284,"seo":639,"stem":285,"__hash__":640},"docs\u002F2.components\u002Ftheme-select.md",{"type":360,"value":361,"toc":621},"minimark",[362,367,372,384,416,420,425,450,453,457,460,464,513,517,574,577,597,601,617],[363,364],"component-example",{":full-width":365,"name":366},"true","theme-select-basic-example",[368,369,371],"h2",{"id":370},"usage","Usage",[373,374,375,378,379,383],"p",{},[376,377,283],"strong",{}," lets users choose the application color theme: light, dark, or following the operating system preference. Use it in settings screens, profile pages, or anywhere a theme preference belongs. It is a controlled component: it only reports the chosen theme through ",[380,381,382],"code",{},"v-model"," and does not apply or persist the theme itself, which keeps the host application in charge of how the choice takes effect.",[385,386,391],"pre",{"className":387,"code":388,"language":389,"meta":390,"style":390},"language-ts shiki shiki-themes github-light github-dark-default github-dark-default","import { MtThemeSelect } from \"@shopware-ag\u002Fmeteor-component-library\";\n","ts","",[380,392,393],{"__ignoreMap":390},[394,395,398,402,406,409,413],"span",{"class":396,"line":397},"line",1,[394,399,401],{"class":400},"sLfaJ","import",[394,403,405],{"class":404},"sSgjj"," { MtThemeSelect } ",[394,407,408],{"class":400},"from",[394,410,412],{"class":411},"sL1yV"," \"@shopware-ag\u002Fmeteor-component-library\"",[394,414,415],{"class":404},";\n",[368,417,419],{"id":418},"examples","Examples",[421,422,424],"h3",{"id":423},"pairing-with-usetheme","Pairing with useTheme",[373,426,427,428,433,434,437,438,441,442,445,446,449],{},"The ",[429,430,431],"a",{"href":338},[376,432,337],{}," composable resolves the ",[380,435,436],{},"system"," option against ",[380,439,440],{},"prefers-color-scheme",", applies the resolved value as ",[380,443,444],{},"data-theme",", and persists the choice. Binding its ",[380,447,448],{},"theme"," ref to the select is all a typical app needs.",[363,451],{":full-width":365,"name":452},"theme-select-use-theme-example",[368,454,456],{"id":455},"api-reference","API reference",[458,459],"component-api",{},[368,461,463],{"id":462},"best-practices","Best practices",[465,466,467,499],"do-dont",{":vertical":365},[468,469,470],"template",{"v-slot:do":390},[471,472,473,480,488],"ul",{},[474,475,476,477,479],"li",{},"Default to ",[380,478,436],{}," so the application respects the operating system preference.",[474,481,482,483,487],{},"Pair the select with ",[429,484,485],{"href":338},[376,486,337],{}," so the choice is applied and persisted consistently.",[474,489,490,491,494,495,498],{},"Give the field a label that describes the setting, such as ",[380,492,493],{},"Color theme"," or ",[380,496,497],{},"Appearance",".",[468,500,501,507],{"v-slot:dont":390},[474,502,503,504,506],{},"Do not use ",[376,505,283],{}," for unrelated multi-option settings; it is purpose-built for color themes.",[474,508,509,510,512],{},"Do not apply the theme from multiple places at once. Keep one owner for the ",[380,511,444],{}," attribute.",[368,514,516],{"id":515},"behavior","Behavior",[471,518,519,542,556,559],{},[474,520,521,523,524,527,528,531,532,535,536,539,540,498],{},[376,522,283],{}," accepts and emits one of three values through ",[380,525,526],{},"modelValue",": ",[380,529,530],{},"\"light\"",", ",[380,533,534],{},"\"dark\"",", or ",[380,537,538],{},"\"system\"",", and defaults to ",[380,541,538],{},[474,543,544,545,547,548,550,551,555],{},"The component is purely presentational. Resolving ",[380,546,436],{},", writing ",[380,549,444],{},", and persisting the choice is the host's responsibility, which ",[429,552,553],{"href":338},[376,554,337],{}," handles out of the box.",[474,557,558],{},"Option labels are localized (English and German) through the library's i18n setup.",[474,560,561,562,566,567,494,570,573],{},"Additional ",[429,563,564],{"href":240},[376,565,239],{}," props such as ",[380,568,569],{},"small",[380,571,572],{},"error"," fall through to the underlying select.",[368,575,45],{"id":576},"accessibility",[471,578,579,587,590],{},[474,580,581,582,586],{},"Keyboard and screen reader behavior follow the underlying ",[429,583,584],{"href":240},[376,585,239],{}," component.",[474,588,589],{},"Each option is labelled with text, so the choice never relies on color or iconography.",[474,591,592,593,596],{},"Provide a visible ",[380,594,595],{},"label"," so the setting is announced with its purpose.",[368,598,600],{"id":599},"related-components","Related components",[471,602,603,610],{},[474,604,605,609],{},[429,606,607],{"href":240},[376,608,239],{},": the general-purpose select this component builds on, for arbitrary option sets.",[474,611,612,616],{},[429,613,614],{"href":338},[376,615,337],{},": the composable that resolves, applies, and persists the theme this component selects.",[618,619,620],"style",{},"html pre.shiki code .sLfaJ, html code.shiki .sLfaJ{--shiki-light:#D73A49;--shiki-default:#FF7B72;--shiki-dark:#FF7B72}html pre.shiki code .sSgjj, html code.shiki .sSgjj{--shiki-light:#24292E;--shiki-default:#E6EDF3;--shiki-dark:#E6EDF3}html pre.shiki code .sL1yV, html code.shiki .sL1yV{--shiki-light:#032F62;--shiki-default:#A5D6FF;--shiki-dark:#A5D6FF}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);}",{"title":390,"searchDepth":622,"depth":622,"links":623},2,[624,625,629,630,631,632,633],{"id":370,"depth":622,"text":371},{"id":418,"depth":622,"text":419,"children":626},[627],{"id":423,"depth":628,"text":424},3,{"id":455,"depth":622,"text":456},{"id":462,"depth":622,"text":463},{"id":515,"depth":622,"text":516},{"id":576,"depth":622,"text":45},{"id":599,"depth":622,"text":600},"A select control for choosing the application color theme, either light, dark, or following the system preference.","md",null,{},true,{"title":283,"description":634},"Jvvywt2Ctvw6tHFyqdN0EF3Le4ert4E0l5mUWLSAx9M",[642,644],{"title":279,"path":280,"stem":281,"description":643,"children":-1},"A multi-line input for longer free-form text in a form.",{"title":287,"path":288,"stem":289,"description":645,"children":-1},"Short-lived, action-bound feedback that appears briefly to confirm or report the result of something the user just did.",{"code":647,"pascalName":648},"\u003Cscript setup lang=\"ts\">\nimport { ref } from \"vue\";\nimport MtThemeSelect from \"@shopware-ag\u002Fmeteor-component-library\u002FMtThemeSelect\";\nimport type { Theme } from \"@shopware-ag\u002Fmeteor-component-library\";\n\nconst theme = ref\u003CTheme>(\"system\");\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cmt-theme-select v-model=\"theme\" label=\"Color theme\" \u002F>\n\u003C\u002Ftemplate>\n","ThemeSelectBasicExample",{"code":650,"pascalName":651},"\u003Cscript setup lang=\"ts\">\nimport MtThemeSelect from \"@shopware-ag\u002Fmeteor-component-library\u002FMtThemeSelect\";\nimport MtText from \"@shopware-ag\u002Fmeteor-component-library\u002FMtText\";\n\u002F\u002F useTheme has no subpath export, so it is imported from the barrel.\nimport { useTheme } from \"@shopware-ag\u002Fmeteor-component-library\";\n\n\u002F\u002F Persistence and global application are disabled so the docs page itself\n\u002F\u002F stays untouched. Omit these options in your app.\nconst { theme, resolvedTheme } = useTheme({\n  storageKey: null,\n  applyToTarget: false,\n});\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cdiv style=\"display: flex; flex-direction: column; gap: 16px\">\n    \u003Cmt-theme-select v-model=\"theme\" label=\"Color theme\" \u002F>\n\n    \u003Cmt-text>Resolved theme: {{ resolvedTheme }}\u003C\u002Fmt-text>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n","ThemeSelectUseThemeExample",{"pascalName":653,"kebabName":654,"filePath":655,"meta":656},"MtThemeSelect","mt-theme-select","..\u002F..\u002Fpackages\u002Fcomponent-library\u002Fsrc\u002Fcomponents\u002Fmt-theme-select\u002Fmt-theme-select.vue",{"type":397,"props":657,"slots":678,"events":679,"exposed":690,"hash":691},[658,667,675],{"name":595,"global":34,"description":659,"tags":660,"required":34,"type":661,"schema":662},"The label for the select field itself.",[],"string | undefined",{"kind":663,"type":661,"schema":664},"enum",{"0":665,"1":666},"undefined","string",{"name":668,"global":34,"description":669,"tags":670,"required":34,"type":671,"schema":672},"disabled","Disables the select field.",[],"boolean | undefined",{"kind":663,"type":671,"schema":673},{"0":665,"1":674,"2":365},"false",{"name":526,"global":34,"default":538,"description":390,"tags":676,"required":34,"type":677,"schema":677},[],"any",[],[680],{"name":681,"description":390,"tags":682,"type":683,"signature":684,"schema":685},"update:modelValue",[],"[value: Theme]","(event: \"update:modelValue\", value: Theme): void",[686],{"kind":687,"type":688,"schema":689},"array","Theme",[],[],"TW4HXihgfaBWbqOEAiMdmUiVKUBm1jB5u3logR4L9zY",{"data":693,"body":694,"toc":996},{"title":390,"description":390},{"type":695,"children":696},"root",[697,991],{"type":698,"tag":385,"props":699,"children":702},"element",{"className":700,"code":647,"language":701,"meta":390,"style":390},"language-vue shiki shiki-themes github-light github-dark-default github-dark-default","vue",[703],{"type":698,"tag":380,"props":704,"children":705},{"__ignoreMap":390},[706,749,775,800,830,839,888,905,913,929,975],{"type":698,"tag":394,"props":707,"children":708},{"class":396,"line":397},[709,716,722,728,733,738,744],{"type":698,"tag":394,"props":710,"children":712},{"style":711},"--shiki-light:#24292E;--shiki-default:#E6EDF3;--shiki-dark:#E6EDF3",[713],{"type":714,"value":715},"text","\u003C",{"type":698,"tag":394,"props":717,"children":719},{"style":718},"--shiki-light:#22863A;--shiki-default:#7EE787;--shiki-dark:#7EE787",[720],{"type":714,"value":721},"script",{"type":698,"tag":394,"props":723,"children":725},{"style":724},"--shiki-light:#6F42C1;--shiki-default:#79C0FF;--shiki-dark:#79C0FF",[726],{"type":714,"value":727}," setup",{"type":698,"tag":394,"props":729,"children":730},{"style":724},[731],{"type":714,"value":732}," lang",{"type":698,"tag":394,"props":734,"children":735},{"style":711},[736],{"type":714,"value":737},"=",{"type":698,"tag":394,"props":739,"children":741},{"style":740},"--shiki-light:#032F62;--shiki-default:#A5D6FF;--shiki-dark:#A5D6FF",[742],{"type":714,"value":743},"\"ts\"",{"type":698,"tag":394,"props":745,"children":746},{"style":711},[747],{"type":714,"value":748},">\n",{"type":698,"tag":394,"props":750,"children":751},{"class":396,"line":622},[752,757,762,766,771],{"type":698,"tag":394,"props":753,"children":755},{"style":754},"--shiki-light:#D73A49;--shiki-default:#FF7B72;--shiki-dark:#FF7B72",[756],{"type":714,"value":401},{"type":698,"tag":394,"props":758,"children":759},{"style":711},[760],{"type":714,"value":761}," { ref } ",{"type":698,"tag":394,"props":763,"children":764},{"style":754},[765],{"type":714,"value":408},{"type":698,"tag":394,"props":767,"children":768},{"style":740},[769],{"type":714,"value":770}," \"vue\"",{"type":698,"tag":394,"props":772,"children":773},{"style":711},[774],{"type":714,"value":415},{"type":698,"tag":394,"props":776,"children":777},{"class":396,"line":628},[778,782,787,791,796],{"type":698,"tag":394,"props":779,"children":780},{"style":754},[781],{"type":714,"value":401},{"type":698,"tag":394,"props":783,"children":784},{"style":711},[785],{"type":714,"value":786}," MtThemeSelect ",{"type":698,"tag":394,"props":788,"children":789},{"style":754},[790],{"type":714,"value":408},{"type":698,"tag":394,"props":792,"children":793},{"style":740},[794],{"type":714,"value":795}," \"@shopware-ag\u002Fmeteor-component-library\u002FMtThemeSelect\"",{"type":698,"tag":394,"props":797,"children":798},{"style":711},[799],{"type":714,"value":415},{"type":698,"tag":394,"props":801,"children":803},{"class":396,"line":802},4,[804,808,813,818,822,826],{"type":698,"tag":394,"props":805,"children":806},{"style":754},[807],{"type":714,"value":401},{"type":698,"tag":394,"props":809,"children":810},{"style":754},[811],{"type":714,"value":812}," type",{"type":698,"tag":394,"props":814,"children":815},{"style":711},[816],{"type":714,"value":817}," { Theme } ",{"type":698,"tag":394,"props":819,"children":820},{"style":754},[821],{"type":714,"value":408},{"type":698,"tag":394,"props":823,"children":824},{"style":740},[825],{"type":714,"value":412},{"type":698,"tag":394,"props":827,"children":828},{"style":711},[829],{"type":714,"value":415},{"type":698,"tag":394,"props":831,"children":833},{"class":396,"line":832},5,[834],{"type":698,"tag":394,"props":835,"children":836},{"emptyLinePlaceholder":638},[837],{"type":714,"value":838},"\n",{"type":698,"tag":394,"props":840,"children":842},{"class":396,"line":841},6,[843,848,854,859,865,869,874,879,883],{"type":698,"tag":394,"props":844,"children":845},{"style":754},[846],{"type":714,"value":847},"const",{"type":698,"tag":394,"props":849,"children":851},{"style":850},"--shiki-light:#005CC5;--shiki-default:#79C0FF;--shiki-dark:#79C0FF",[852],{"type":714,"value":853}," theme",{"type":698,"tag":394,"props":855,"children":856},{"style":754},[857],{"type":714,"value":858}," =",{"type":698,"tag":394,"props":860,"children":862},{"style":861},"--shiki-light:#6F42C1;--shiki-default:#D2A8FF;--shiki-dark:#D2A8FF",[863],{"type":714,"value":864}," ref",{"type":698,"tag":394,"props":866,"children":867},{"style":711},[868],{"type":714,"value":715},{"type":698,"tag":394,"props":870,"children":872},{"style":871},"--shiki-light:#6F42C1;--shiki-default:#FFA657;--shiki-dark:#FFA657",[873],{"type":714,"value":688},{"type":698,"tag":394,"props":875,"children":876},{"style":711},[877],{"type":714,"value":878},">(",{"type":698,"tag":394,"props":880,"children":881},{"style":740},[882],{"type":714,"value":538},{"type":698,"tag":394,"props":884,"children":885},{"style":711},[886],{"type":714,"value":887},");\n",{"type":698,"tag":394,"props":889,"children":891},{"class":396,"line":890},7,[892,897,901],{"type":698,"tag":394,"props":893,"children":894},{"style":711},[895],{"type":714,"value":896},"\u003C\u002F",{"type":698,"tag":394,"props":898,"children":899},{"style":718},[900],{"type":714,"value":721},{"type":698,"tag":394,"props":902,"children":903},{"style":711},[904],{"type":714,"value":748},{"type":698,"tag":394,"props":906,"children":908},{"class":396,"line":907},8,[909],{"type":698,"tag":394,"props":910,"children":911},{"emptyLinePlaceholder":638},[912],{"type":714,"value":838},{"type":698,"tag":394,"props":914,"children":916},{"class":396,"line":915},9,[917,921,925],{"type":698,"tag":394,"props":918,"children":919},{"style":711},[920],{"type":714,"value":715},{"type":698,"tag":394,"props":922,"children":923},{"style":718},[924],{"type":714,"value":468},{"type":698,"tag":394,"props":926,"children":927},{"style":711},[928],{"type":714,"value":748},{"type":698,"tag":394,"props":930,"children":932},{"class":396,"line":931},10,[933,938,942,947,951,956,961,965,970],{"type":698,"tag":394,"props":934,"children":935},{"style":711},[936],{"type":714,"value":937},"  \u003C",{"type":698,"tag":394,"props":939,"children":940},{"style":718},[941],{"type":714,"value":654},{"type":698,"tag":394,"props":943,"children":944},{"style":724},[945],{"type":714,"value":946}," v-model",{"type":698,"tag":394,"props":948,"children":949},{"style":711},[950],{"type":714,"value":737},{"type":698,"tag":394,"props":952,"children":953},{"style":740},[954],{"type":714,"value":955},"\"theme\"",{"type":698,"tag":394,"props":957,"children":958},{"style":724},[959],{"type":714,"value":960}," label",{"type":698,"tag":394,"props":962,"children":963},{"style":711},[964],{"type":714,"value":737},{"type":698,"tag":394,"props":966,"children":967},{"style":740},[968],{"type":714,"value":969},"\"Color theme\"",{"type":698,"tag":394,"props":971,"children":972},{"style":711},[973],{"type":714,"value":974}," \u002F>\n",{"type":698,"tag":394,"props":976,"children":978},{"class":396,"line":977},11,[979,983,987],{"type":698,"tag":394,"props":980,"children":981},{"style":711},[982],{"type":714,"value":896},{"type":698,"tag":394,"props":984,"children":985},{"style":718},[986],{"type":714,"value":468},{"type":698,"tag":394,"props":988,"children":989},{"style":711},[990],{"type":714,"value":748},{"type":698,"tag":618,"props":992,"children":993},{},[994],{"type":714,"value":995},"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);}",{"title":390,"searchDepth":622,"depth":622,"links":997},[],{"data":999,"body":1000,"toc":1413},{"title":390,"description":390},{"type":695,"children":1001},[1002,1409],{"type":698,"tag":385,"props":1003,"children":1004},{"className":700,"code":650,"language":701,"meta":390,"style":390},[1005],{"type":698,"tag":380,"props":1006,"children":1007},{"__ignoreMap":390},[1008,1039,1062,1087,1096,1120,1127,1135,1143,1187,1205,1221,1230,1246,1254,1270,1301,1342,1350,1376,1393],{"type":698,"tag":394,"props":1009,"children":1010},{"class":396,"line":397},[1011,1015,1019,1023,1027,1031,1035],{"type":698,"tag":394,"props":1012,"children":1013},{"style":711},[1014],{"type":714,"value":715},{"type":698,"tag":394,"props":1016,"children":1017},{"style":718},[1018],{"type":714,"value":721},{"type":698,"tag":394,"props":1020,"children":1021},{"style":724},[1022],{"type":714,"value":727},{"type":698,"tag":394,"props":1024,"children":1025},{"style":724},[1026],{"type":714,"value":732},{"type":698,"tag":394,"props":1028,"children":1029},{"style":711},[1030],{"type":714,"value":737},{"type":698,"tag":394,"props":1032,"children":1033},{"style":740},[1034],{"type":714,"value":743},{"type":698,"tag":394,"props":1036,"children":1037},{"style":711},[1038],{"type":714,"value":748},{"type":698,"tag":394,"props":1040,"children":1041},{"class":396,"line":622},[1042,1046,1050,1054,1058],{"type":698,"tag":394,"props":1043,"children":1044},{"style":754},[1045],{"type":714,"value":401},{"type":698,"tag":394,"props":1047,"children":1048},{"style":711},[1049],{"type":714,"value":786},{"type":698,"tag":394,"props":1051,"children":1052},{"style":754},[1053],{"type":714,"value":408},{"type":698,"tag":394,"props":1055,"children":1056},{"style":740},[1057],{"type":714,"value":795},{"type":698,"tag":394,"props":1059,"children":1060},{"style":711},[1061],{"type":714,"value":415},{"type":698,"tag":394,"props":1063,"children":1064},{"class":396,"line":628},[1065,1069,1074,1078,1083],{"type":698,"tag":394,"props":1066,"children":1067},{"style":754},[1068],{"type":714,"value":401},{"type":698,"tag":394,"props":1070,"children":1071},{"style":711},[1072],{"type":714,"value":1073}," MtText ",{"type":698,"tag":394,"props":1075,"children":1076},{"style":754},[1077],{"type":714,"value":408},{"type":698,"tag":394,"props":1079,"children":1080},{"style":740},[1081],{"type":714,"value":1082}," \"@shopware-ag\u002Fmeteor-component-library\u002FMtText\"",{"type":698,"tag":394,"props":1084,"children":1085},{"style":711},[1086],{"type":714,"value":415},{"type":698,"tag":394,"props":1088,"children":1089},{"class":396,"line":802},[1090],{"type":698,"tag":394,"props":1091,"children":1093},{"style":1092},"--shiki-light:#6A737D;--shiki-default:#8B949E;--shiki-dark:#8B949E",[1094],{"type":714,"value":1095},"\u002F\u002F useTheme has no subpath export, so it is imported from the barrel.\n",{"type":698,"tag":394,"props":1097,"children":1098},{"class":396,"line":832},[1099,1103,1108,1112,1116],{"type":698,"tag":394,"props":1100,"children":1101},{"style":754},[1102],{"type":714,"value":401},{"type":698,"tag":394,"props":1104,"children":1105},{"style":711},[1106],{"type":714,"value":1107}," { useTheme } ",{"type":698,"tag":394,"props":1109,"children":1110},{"style":754},[1111],{"type":714,"value":408},{"type":698,"tag":394,"props":1113,"children":1114},{"style":740},[1115],{"type":714,"value":412},{"type":698,"tag":394,"props":1117,"children":1118},{"style":711},[1119],{"type":714,"value":415},{"type":698,"tag":394,"props":1121,"children":1122},{"class":396,"line":841},[1123],{"type":698,"tag":394,"props":1124,"children":1125},{"emptyLinePlaceholder":638},[1126],{"type":714,"value":838},{"type":698,"tag":394,"props":1128,"children":1129},{"class":396,"line":890},[1130],{"type":698,"tag":394,"props":1131,"children":1132},{"style":1092},[1133],{"type":714,"value":1134},"\u002F\u002F Persistence and global application are disabled so the docs page itself\n",{"type":698,"tag":394,"props":1136,"children":1137},{"class":396,"line":907},[1138],{"type":698,"tag":394,"props":1139,"children":1140},{"style":1092},[1141],{"type":714,"value":1142},"\u002F\u002F stays untouched. Omit these options in your app.\n",{"type":698,"tag":394,"props":1144,"children":1145},{"class":396,"line":915},[1146,1150,1155,1159,1163,1168,1173,1177,1182],{"type":698,"tag":394,"props":1147,"children":1148},{"style":754},[1149],{"type":714,"value":847},{"type":698,"tag":394,"props":1151,"children":1152},{"style":711},[1153],{"type":714,"value":1154}," { ",{"type":698,"tag":394,"props":1156,"children":1157},{"style":850},[1158],{"type":714,"value":448},{"type":698,"tag":394,"props":1160,"children":1161},{"style":711},[1162],{"type":714,"value":531},{"type":698,"tag":394,"props":1164,"children":1165},{"style":850},[1166],{"type":714,"value":1167},"resolvedTheme",{"type":698,"tag":394,"props":1169,"children":1170},{"style":711},[1171],{"type":714,"value":1172}," } ",{"type":698,"tag":394,"props":1174,"children":1175},{"style":754},[1176],{"type":714,"value":737},{"type":698,"tag":394,"props":1178,"children":1179},{"style":861},[1180],{"type":714,"value":1181}," useTheme",{"type":698,"tag":394,"props":1183,"children":1184},{"style":711},[1185],{"type":714,"value":1186},"({\n",{"type":698,"tag":394,"props":1188,"children":1189},{"class":396,"line":931},[1190,1195,1200],{"type":698,"tag":394,"props":1191,"children":1192},{"style":711},[1193],{"type":714,"value":1194},"  storageKey: ",{"type":698,"tag":394,"props":1196,"children":1197},{"style":850},[1198],{"type":714,"value":1199},"null",{"type":698,"tag":394,"props":1201,"children":1202},{"style":711},[1203],{"type":714,"value":1204},",\n",{"type":698,"tag":394,"props":1206,"children":1207},{"class":396,"line":977},[1208,1213,1217],{"type":698,"tag":394,"props":1209,"children":1210},{"style":711},[1211],{"type":714,"value":1212},"  applyToTarget: ",{"type":698,"tag":394,"props":1214,"children":1215},{"style":850},[1216],{"type":714,"value":674},{"type":698,"tag":394,"props":1218,"children":1219},{"style":711},[1220],{"type":714,"value":1204},{"type":698,"tag":394,"props":1222,"children":1224},{"class":396,"line":1223},12,[1225],{"type":698,"tag":394,"props":1226,"children":1227},{"style":711},[1228],{"type":714,"value":1229},"});\n",{"type":698,"tag":394,"props":1231,"children":1233},{"class":396,"line":1232},13,[1234,1238,1242],{"type":698,"tag":394,"props":1235,"children":1236},{"style":711},[1237],{"type":714,"value":896},{"type":698,"tag":394,"props":1239,"children":1240},{"style":718},[1241],{"type":714,"value":721},{"type":698,"tag":394,"props":1243,"children":1244},{"style":711},[1245],{"type":714,"value":748},{"type":698,"tag":394,"props":1247,"children":1249},{"class":396,"line":1248},14,[1250],{"type":698,"tag":394,"props":1251,"children":1252},{"emptyLinePlaceholder":638},[1253],{"type":714,"value":838},{"type":698,"tag":394,"props":1255,"children":1257},{"class":396,"line":1256},15,[1258,1262,1266],{"type":698,"tag":394,"props":1259,"children":1260},{"style":711},[1261],{"type":714,"value":715},{"type":698,"tag":394,"props":1263,"children":1264},{"style":718},[1265],{"type":714,"value":468},{"type":698,"tag":394,"props":1267,"children":1268},{"style":711},[1269],{"type":714,"value":748},{"type":698,"tag":394,"props":1271,"children":1273},{"class":396,"line":1272},16,[1274,1278,1283,1288,1292,1297],{"type":698,"tag":394,"props":1275,"children":1276},{"style":711},[1277],{"type":714,"value":937},{"type":698,"tag":394,"props":1279,"children":1280},{"style":718},[1281],{"type":714,"value":1282},"div",{"type":698,"tag":394,"props":1284,"children":1285},{"style":724},[1286],{"type":714,"value":1287}," style",{"type":698,"tag":394,"props":1289,"children":1290},{"style":711},[1291],{"type":714,"value":737},{"type":698,"tag":394,"props":1293,"children":1294},{"style":740},[1295],{"type":714,"value":1296},"\"display: flex; flex-direction: column; gap: 16px\"",{"type":698,"tag":394,"props":1298,"children":1299},{"style":711},[1300],{"type":714,"value":748},{"type":698,"tag":394,"props":1302,"children":1304},{"class":396,"line":1303},17,[1305,1310,1314,1318,1322,1326,1330,1334,1338],{"type":698,"tag":394,"props":1306,"children":1307},{"style":711},[1308],{"type":714,"value":1309},"    \u003C",{"type":698,"tag":394,"props":1311,"children":1312},{"style":718},[1313],{"type":714,"value":654},{"type":698,"tag":394,"props":1315,"children":1316},{"style":724},[1317],{"type":714,"value":946},{"type":698,"tag":394,"props":1319,"children":1320},{"style":711},[1321],{"type":714,"value":737},{"type":698,"tag":394,"props":1323,"children":1324},{"style":740},[1325],{"type":714,"value":955},{"type":698,"tag":394,"props":1327,"children":1328},{"style":724},[1329],{"type":714,"value":960},{"type":698,"tag":394,"props":1331,"children":1332},{"style":711},[1333],{"type":714,"value":737},{"type":698,"tag":394,"props":1335,"children":1336},{"style":740},[1337],{"type":714,"value":969},{"type":698,"tag":394,"props":1339,"children":1340},{"style":711},[1341],{"type":714,"value":974},{"type":698,"tag":394,"props":1343,"children":1345},{"class":396,"line":1344},18,[1346],{"type":698,"tag":394,"props":1347,"children":1348},{"emptyLinePlaceholder":638},[1349],{"type":714,"value":838},{"type":698,"tag":394,"props":1351,"children":1353},{"class":396,"line":1352},19,[1354,1358,1363,1368,1372],{"type":698,"tag":394,"props":1355,"children":1356},{"style":711},[1357],{"type":714,"value":1309},{"type":698,"tag":394,"props":1359,"children":1360},{"style":718},[1361],{"type":714,"value":1362},"mt-text",{"type":698,"tag":394,"props":1364,"children":1365},{"style":711},[1366],{"type":714,"value":1367},">Resolved theme: {{ resolvedTheme }}\u003C\u002F",{"type":698,"tag":394,"props":1369,"children":1370},{"style":718},[1371],{"type":714,"value":1362},{"type":698,"tag":394,"props":1373,"children":1374},{"style":711},[1375],{"type":714,"value":748},{"type":698,"tag":394,"props":1377,"children":1379},{"class":396,"line":1378},20,[1380,1385,1389],{"type":698,"tag":394,"props":1381,"children":1382},{"style":711},[1383],{"type":714,"value":1384},"  \u003C\u002F",{"type":698,"tag":394,"props":1386,"children":1387},{"style":718},[1388],{"type":714,"value":1282},{"type":698,"tag":394,"props":1390,"children":1391},{"style":711},[1392],{"type":714,"value":748},{"type":698,"tag":394,"props":1394,"children":1396},{"class":396,"line":1395},21,[1397,1401,1405],{"type":698,"tag":394,"props":1398,"children":1399},{"style":711},[1400],{"type":714,"value":896},{"type":698,"tag":394,"props":1402,"children":1403},{"style":718},[1404],{"type":714,"value":468},{"type":698,"tag":394,"props":1406,"children":1407},{"style":711},[1408],{"type":714,"value":748},{"type":698,"tag":618,"props":1410,"children":1411},{},[1412],{"type":714,"value":995},{"title":390,"searchDepth":622,"depth":622,"links":1414},[],1788779164067]