{"id":"ui--yuiPaletteEntry","name":"yuiPaletteEntry","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiPaletteEntry","description":"A yui palette entry record carrying name, color.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"name","kind":"field","type":"text","description":"Stores name as text.","signature":"text name","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"color","kind":"field","type":"yuiColor","description":"Stores color as yuiColor.","signature":"yuiColor color","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiPaletteEntry","kind":"constructor","parameters":[{"name":"name","type":"text","description":"Name."},{"name":"color","type":"yuiColor","description":"Color."}],"returns":"void","signature":"yuiPaletteEntry(text name, yuiColor color)","description":"Yui palette entry.","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-3","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":407,"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 yuiPaletteEntry","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.\nyuiPaletteEntry sample = yuiPaletteEntry(\"Nova\", yuiColor(1, 1, 1, 1))\nConsole.Log(Text.From(sample.name))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuipaletteentry\"\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":"62538429c97d170427330720696379ffea5603dca1276ff8502d84df2f2ccb38","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-3","title":"yuiPaletteEntry.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.\nyuiPaletteEntry instance = yuiPaletteEntry(\"Nova\", yuiColor(1, 1, 1, 1))\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuipaletteentry\"\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":"9e0dd29d46d1cb0a09aa74e76cbb5478d6016fab85abcde19b53e3a28e50c624","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["name","color","yuiPaletteEntry","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiPaletteEntry","json":"https://demonhunterlabs.com/reference/items/ui--yuiPaletteEntry.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiPaletteEntry.md"}
