Skip to content

feat: Add NesIcons.palette#281

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/add-palette-icon-to-nesicons
Draft

feat: Add NesIcons.palette#281
Copilot wants to merge 3 commits intomainfrom
copilot/add-palette-icon-to-nesicons

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 4, 2026

Adds a palette icon to the NesIcons library using the specified 8×8 pixel sprite data.

Changes

  • lib/src/widgets/nes_icon.dart — New palette entry in NesIconCollection:
    late final palette = NesIconData(
      MiniSprite.fromDataString(
        '8,8;1,-1;6,0;1,-1;2,0;1,1;2,0;1,1;11,0;1,1;4,0;1,1;11,0;1,1;3,0;1,-1;1,0;1,-1;7,0;2,-1;5,0;1,-1',
      ),
    );
  • widgetbook/lib/widgetbook/use_cases/icons.dart — Added palette to the 8×8 icon showcase.
  • CHANGELOG.md — Added entry under 0.31.0.

Copilot AI linked an issue Apr 4, 2026 that may be closed by this pull request
5 tasks
Agent-Logs-Url: https://github.com/erickzanardo/nes_ui/sessions/321330a7-9c0e-4496-9e4d-819e75ad2992

Co-authored-by: erickzanardo <835641+erickzanardo@users.noreply.github.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Apr 4, 2026

Deploying nes-ui with  Cloudflare Pages  Cloudflare Pages

Latest commit: f475a99
Status: ✅  Deploy successful!
Preview URL: https://bc3d415a.nes-ui.pages.dev
Branch Preview URL: https://copilot-add-palette-icon-to.nes-ui.pages.dev

View logs

Copilot AI changed the title [WIP] Add palette icon to NesIcons library feat: Add NesIcons.palette Apr 4, 2026
Copilot AI requested a review from erickzanardo April 4, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add palette icon to NesIcons

2 participants