question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mdInput not apply custom theme

See original GitHub issue

Bug, feature request, or proposal:

Hi team, this is my scss file to change theme, some components don’t apply my custom theme such as “mdInput” when I hover on it, still using the default theme scheme ( blue color ) ` @import ‘…/…/…/node_modules/@angular/material/core/theming/all-theme’; @include mat-core();

$dark-primary: mat-palette($mat-light-green,500,800); $dark-accent: mat-palette($mat-amber, A200, A100, A400); $dark-warn: mat-palette($mat-deep-orange);

$dark-theme: mat-light-theme($dark-primary, $dark-accent, $dark-warn);

@include angular-material-theme($dark-theme); `

Please help. Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
karacommented, Mar 7, 2017

@pmd30011991 You’re not still using the prebuilt theme file somewhere, are you?

0reactions
angular-automatic-lock-bot[bot]commented, Sep 7, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular: Material custom theme doesnt apply in input field
The styles apply correctly to the checkbox and the radiobox, but do not apply in the input fields. This is how I define...
Read more >
Angular Material Theming System - Complete Guide
Create a custom theme; Using a pre-built theme; Modify typography; Create a dark theme; Apply Angular Material's theme to custom component; Customizing Angular ......
Read more >
Services > $mdThemingProvider - AngularJS Material
Sometimes you may want to use your own theme styles for some custom components. You are able to register your own styles by...
Read more >
angular/material2 - Gitter
i have one screen that needs custom styling so i can't use the base theme for that ... i tried overriding individual styles...
Read more >
Angular – How to use custom theme palettes in Angular – iTecNote
I don't want to use Material2's predefined colors. I want my unique and special brand colors. Is there a better way (righter?) to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found