Promact / md2

Angular2 based Material Design components, directives and services are Accordion, Autocomplete, Collapse, Colorpicker, Datepicker, Dialog(Modal), Menu, Multiselect, Select, Tabs, Tags(Chips), Toast and Tooltip.
http://code.promactinfo.com/md2/
MIT License
379 stars 111 forks source link

Easing of theming for components without the use of !important #253

Open darkyelox opened 7 years ago

darkyelox commented 7 years ago

Bug, feature request, or proposal:

Theming using your css or scss in the themes folder

What is the expected behavior?

I want to import a theme like deeppurple-amber.scss into styles.scss of my Angular CLI project like:

/**
 * Angular Material Theme
 */
@import '~@angular/material/prebuilt-themes/deeppurple-amber.css';

/**
 * Angular MD2 Theme
 */
@import '~md2/core/theming/prebuilt/deeppurple-amber.scss';

What is the current behavior?

The color of a component remains using the default blue

What are the steps to reproduce?

Simply create an Angular cli project and configure it for use SCSS instead of CSS and include MD2

What is the use-case or motivation for changing an existing behavior?

For the easing of theming the use of the controls in real projects

Which versions of Angular, MD2, OS, browsers are affected?

MD2 v0.0.25

Is there anything else we should know?

Usability must be at the top of your work, this group of controls are great specially the datepicker.

nak411 commented 7 years ago

Is there any way to change the color of the component as of now?

kluevandrew commented 6 years ago

UP