{"id":"ui--yuiTheme","name":"yuiTheme","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiTheme","description":"A yui theme record carrying id, name, base, accentPalette, guardrails.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"id","kind":"field","type":"text","description":"Stores id as text.","signature":"text id","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"name","kind":"field","type":"text","description":"Stores name as text.","signature":"text name","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"base","kind":"field","type":"text","description":"Stores base as text.","signature":"text base","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"accentPalette","kind":"field","type":"text","description":"Stores accent palette as text.","signature":"text accentPalette","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"guardrails","kind":"field","type":"text","description":"Stores guardrails as text.","signature":"text guardrails","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiTheme","kind":"constructor","parameters":[{"name":"id","type":"text","description":"Id."},{"name":"name","type":"text","description":"Name."},{"name":"base","type":"text","description":"Base."},{"name":"accentPalette","type":"text","description":"Accent palette."},{"name":"guardrails","type":"text","description":"Guardrails."}],"returns":"void","signature":"yuiTheme(text id, text name, text base, text accentPalette, text guardrails)","description":"Yui theme.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","ui"],"exampleId":"method-Describe-6","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/ui.yh","line":338,"sha256":"2745dad504552ce545dea2a953613be247f8b49f1b6712811e0a370cfa9e8575"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use yuiTheme","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using ui\n\n// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.\nyuiTheme sample = yuiTheme(\"id\", \"Nova\", \"base\", \"accent Palette\", \"guardrails\")\nConsole.Log(Text.From(sample.id))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuitheme\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"1908627e9b0e89313bc1b4e37fb9dc5349576b995b9c9fc4be04e9e1842d01fe","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-6","title":"yuiTheme.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Describe.\nyuiTheme instance = yuiTheme(\"id\", \"Nova\", \"base\", \"accent Palette\", \"guardrails\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuitheme\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"9fdb9a09dced714d3d9b30f93b22d9023f1eb5d0418a7ba61d77724b46cba5ce","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["id","name","base","accentPalette","guardrails","yuiTheme","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiTheme","json":"https://demonhunterlabs.com/reference/items/ui--yuiTheme.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiTheme.md"}
