components icon indicating copy to clipboard operation
components copied to clipboard

Problem with Angular design

Open lukecorf opened this issue 9 years ago • 4 comments

I imported everything correctly according to the angular site itself. But my items do not work properly. Look at the picture:

untitled

When selecting the input it should be colored blue or purple. And the tabs also do not have colorization. How to solve this problem?

lukecorf avatar Mar 10 '17 12:03 lukecorf

Github issues are for bugs and feature requests. If you believe this is a bug, create a plunk with reproduction code (https://goo.gl/DlHd6U). Otherwise use gitter or stackoverflow please.

fxck avatar Mar 10 '17 12:03 fxck

You have to apply all of the core and theme styles to your application.

For the basic theme add this to your css file:

@import '~@angular/material/core/theming/prebuilt/deeppurple-amber.css';

Or link to the stylesheet in your index.html:

<link href="node_modules/@angular/material/core/theming/prebuilt/indigo-pink.css" rel="stylesheet">

See: https://material.angular.io/guide/theming

tom-schoener avatar Mar 10 '17 16:03 tom-schoener

Yeah, looks like you're missing our core styles. This doesn't look like a bug, so closing.

kara avatar Mar 10 '17 18:03 kara

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.