Git Product home page Git Product logo

nes_ui's People

Contributors

adil192 avatar chrisstayte avatar dependabot[bot] avatar devsog12 avatar eliasreis54 avatar erickzanardo avatar ladegeraet avatar maliksenpai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nes_ui's Issues

refactor: Make icon static rather than NesIcons instance.

Description

As a developer, I'd like to use the NesIcons class like I use Icons from Material:

Icons.delete

Currently, I need to use NesIcons.instance to access any icon, I think we can change the NesIcons class and make the icons static rather than a NesIcons instance, so when I use an icon, that'll be:

NesIcons.delete

What do you think?

Requirements

  • There is no drop in test coverage.

feat: Transfer style from NesFixedViewport to NesDialog

Description
Currently I have everything in my app wrapped in a NesFixedViewport, so that it fills the whole screen, and makes all the pixels look larger. I have an issue where when I open a NesDialog, it doesn't capture the same resolutionAspectRatio that is set by the NesFixedViewport. The pixels on the NesDialog appear much smaller. I was wondering if there was a way for the NesDialog to inherit the same settings from the NesFixedViewport.

Screenshot below:
Screenshot 2024-02-21 at 12 53 44 PM

NesIconButton onTap does not animate properly on mobile

Description

NesIconButton onTap does not animate properly on mobile (the button press animation only triggers when the button is held down longer than a regular tap).
This was tested with both an emulated Pixel 3A and a physical S21 FE.
NesButton does not have the same problem (and neither does NesButton.icon).
The same issue exists with the scrolling icons used for NesIterableOptions.

Steps To Reproduce

  1. Go to any page with an NesIconButton widget.
  2. Tap on the widget.
  3. OnTap will trigger, but unless you tap longer than usual the button will not animate.

Expected Behavior

Buttons should always animate.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional Context

Add any other context about the problem here.

feat(NesButton): set icon color as well as text color

Description

Currently, we have lightLabelColor and darkLabelColor in NesButtonTheme. However, this only affects the color of text and not the color of an Icon.

const NesButtonTheme({
  // ...
  required this.lightLabelColor,
  required this.darkLabelColor,
});

Requirements

  • Set color of Icon widget
  • Set colors of NesIcon widget

Example

The play icon should be white (i.e. matching the text) here:
A dark green button with white text but a black icon

Additional Context

I'm not sure how this would work with NesIcon since it requires both a primary and secondary color. Maybe the primary can be the same as the text color, and the secondary color could be the opposite of the text color (i.e. lightLabelColor vs darkLabelColor).
However, the regular Icon class should be straight forward to set the icon theme.

feat: add an video/ad icon

Description

Clearly describe what you are looking to add. The more context the better.

I'd like to ask if you could add a NesIcons.instance.ad. This could be similar to the gallery/window icon but with a play button inside.
I've just added rewarded ads that let the player continue after dying by watching an ad. Currently, there's not a good NesIcon for this so I'm just using the shield (see the screenshot).

Requirements

  • Add an icon for a button that triggers an ad

Additional Context

Add any other context or screenshots about the feature request go here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.