{"id":"ui--CreateYuiResolvedStyle","name":"CreateYuiResolvedStyle","owner":"yeho","package":"ui","kind":"function","signature":"external CreateYuiResolvedStyle(text name, yuiColor background, yuiColor panel, yuiColor panelHover, yuiColor panelPressed, yuiColor textPrimary, yuiColor textMuted, yuiColor accentPrimary, yuiColor accentSecondary, yuiColor accentTertiary, yuiColor focus, yuiColor selection) returns yuiResolvedStyle","description":"Create yui resolved style from the supplied values.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[{"name":"name","type":"text","description":"Supply name as text."},{"name":"background","type":"yuiColor","description":"Supply background as yuiColor."},{"name":"panel","type":"yuiColor","description":"Supply panel as yuiColor."},{"name":"panelHover","type":"yuiColor","description":"Supply panel hover as yuiColor."},{"name":"panelPressed","type":"yuiColor","description":"Supply panel pressed as yuiColor."},{"name":"textPrimary","type":"yuiColor","description":"Supply text primary as yuiColor."},{"name":"textMuted","type":"yuiColor","description":"Supply text muted as yuiColor."},{"name":"accentPrimary","type":"yuiColor","description":"Supply accent primary as yuiColor."},{"name":"accentSecondary","type":"yuiColor","description":"Supply accent secondary as yuiColor."},{"name":"accentTertiary","type":"yuiColor","description":"Supply accent tertiary as yuiColor."},{"name":"focus","type":"yuiColor","description":"Supply focus as yuiColor."},{"name":"selection","type":"yuiColor","description":"Supply selection as yuiColor."}],"returns":"yuiResolvedStyle","members":[],"tags":["cpu","function","source-example","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/ui.yh","line":550,"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 CreateYuiResolvedStyle","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.\ntext name = \"Nova\"\nyuiColor background = yuiColor(1, 1, 1, 1)\nyuiColor panel = yuiColor(1, 1, 1, 1)\nyuiColor panelHover = yuiColor(1, 1, 1, 1)\nyuiColor panelPressed = yuiColor(1, 1, 1, 1)\nyuiColor textPrimary = yuiColor(1, 1, 1, 1)\nyuiColor textMuted = yuiColor(1, 1, 1, 1)\nyuiColor accentPrimary = yuiColor(1, 1, 1, 1)\nyuiColor accentSecondary = yuiColor(1, 1, 1, 1)\nyuiColor accentTertiary = yuiColor(1, 1, 1, 1)\nyuiColor focus = yuiColor(1, 1, 1, 1)\nyuiColor selection = yuiColor(1, 1, 1, 1)\nyuiResolvedStyle result = CreateYuiResolvedStyle(name, background, panel, panelHover, panelPressed, textPrimary, textMuted, accentPrimary, accentSecondary, accentTertiary, focus, selection)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__createyuiresolvedstyle\"\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":"dc41adb43c3b5b3a41209267d03949ab3e5efab6fe62d66226bfa997ee181053","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=ui--CreateYuiResolvedStyle","json":"https://demonhunterlabs.com/reference/items/ui--CreateYuiResolvedStyle.json","markdown":"https://demonhunterlabs.com/reference/text/ui--CreateYuiResolvedStyle.md"}
