angular_components icon indicating copy to clipboard operation
angular_components copied to clipboard

Feature request: Navigation and badges, theming...

Open jan-johansson-mr opened this issue 7 years ago • 2 comments

Hi,

Is there a plan to do a bottom bar navigation component? And maybe badges?

Since I'm new to dart and to angular components, I really don't understand how to apply theme. It should be easy, I think, but I really haven't understood how to do it reading through the documentation.

Thanks for a great repository, and work! Kind regards, Jan Johansson

jan-johansson-mr avatar Sep 01 '18 12:09 jan-johansson-mr

I don't expect to add a bottom bar component any time soon. This package is primarily focused on a widgets for desktop web applications and the bottom bar is intended for mobile only.

We are looking into incorporating support for the theme options provided by the MDC-Web team that you linked but the support isn't there yet. It requires that we migrate all of our components to use their Sass mixins and compatible html templates. This is in our plans for the future but right now, if you want to style all components across your entire application you will need to use the mixins we provide in your root component with ::ng-deep or basic selectors when the mixin supports a selector.

@import 'package:angular_components/material_button/mixins';

:host {
    @include button-color("material-button", red);
}

nshahan avatar Sep 04 '18 18:09 nshahan

Although late in reply, but thanks! :-)

//Jan

jan-johansson-mr avatar Oct 24 '18 12:10 jan-johansson-mr