Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

material-yes-button-text-color mixin don't work with stepper component #88

Closed
muzuro opened this issue Jun 28, 2018 · 1 comment
Closed

Comments

@muzuro
Copy link

muzuro commented Jun 28, 2018

I created component with template:

<div class="teal-themed">
    <material-stepper legalJumps="backwards"
                      orientation="horizontal"
                      size="default">
        <template step name="Consent">
            <div>
            </div>
        </template>
        <template step name="Strips">
            <div>
            </div>
        </template>
    </material-stepper>
</div>

and scss:

@import 'package:angular_components/css/material/material';
@import 'package:angular_components/material_stepper/mixins';
@import 'package:angular_components/material_yes_no_buttons/mixins';

:host {
  @include material-stepper-theme (
          $selector: '.teal-themed',
          $step-color: $mat-teal-500,
          $button-color: $mat-blue-400
  );
  .teal-themed {
    @include material-no-button-text-color($mat-teal-500);
    @include material-yes-button-text-color($mat-teal-500);
  }
}

Strange that this code override color for no button but is ignored for yes. Styles from asset:angular_components/lib/material_yes_no_buttons/material_yes_no_buttons.dart is not override by mixin - as I see it in chrome dev tools.

@muzuro
Copy link
Author

muzuro commented Jun 28, 2018

moved issue to angular_components: angulardart/angular_components#279

@muzuro muzuro closed this as completed Jun 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant