md-hint add color property
See original GitHub issueThis is a feature. It would be really nice to use the color property like on md-button
to determine which hints are warnings, accents or primary etc… I’m using the hints for both showing validation errors and anything related to the users input.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Everything about the color Mint - Canva
Fresh and icy, mint is a light, vibrant shade of green. Its hex code is #3EB489. Named after the plant, mint has a...
Read more >[SOLVED] Change Color Of Top Panel - Linux Mint Forums
How do I add color to the top panel? Thanks ... just right click the panel, go to "properties" then click on the...
Read more >25 Colors to Pair With Mint Decor - House Beautiful
The Colors to Pair With Mint: White, beige, violet, and royal blue. Our Mint Green Shopping Pick: Pottery Barn Morgan Duvet, $3. BUY...
Read more >Mint green - Converting Colors
The CSS property to change the color of the text to Hex 98FF98 is called "color". The color property can be set on...
Read more >The 12 Best Colors That Go With Mint Green
1. Mint Green and Gray: Sophisticated Elegance. Add a touch of sophistication to your mint green color when you add a dash (or ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think it’s also good to have a color option on md-hint, but I think its better that you can set a error color in the theme file. Material2 itself should apply the error color on the hint and the md-input-underline. Just like https://material.io/guidelines/patterns/errors.html#errors-user-input-errors
For now I’m creating a css file that does that based on the ng-dirty and ng-invalid classes.
should i create a new issue: “add error styling to inputs” ?
Out of the box styling solution for invalid inputs and error messages would be great.
Color property for md-hint would definitely help a lot as everybody now need to write custom css to achieve this common task. Or maybe a separate md-error component.
Hopefully this will be considered before final release.
That’s how I currently style it using theme warn color: