Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Style injection #2

Closed
canpan14 opened this issue May 3, 2019 · 3 comments
Closed

[Feature] Style injection #2

canpan14 opened this issue May 3, 2019 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@canpan14
Copy link

canpan14 commented May 3, 2019

Love the project!
It would be awesome if you could inject a class(es) and it would apply it to the component. Right now the main way to change the styling is to use ng-deep which is deprecated or to add styles to the global class. Talking about the angular one specifically here. Might apply to the others.

(I know you can mess with view encapsulation but that causes other disliked side effects).

@rajaramtt rajaramtt added enhancement New feature or request help wanted Extra attention is needed labels May 4, 2019
@carlba
Copy link

carlba commented Aug 29, 2019

@canpan14: Can you provide a sample of how you managed to style it? Strulling with it now :)

@canpan14
Copy link
Author

canpan14 commented Aug 29, 2019

@carlba Sure =) I added this to my projects main styles.scss
You could add whatever css you want in there though.

app-ng7-mat-breadcrumb {
  .mat-toolbar {
    background-color: inherit !important;
  }
}

@rajaramtt
Copy link
Owner

Out of the scope, No longer supported by the author this future, If anyone interested, Please submit PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants