1.0.5 • Published 5 years ago
ty-master-css v1.0.5
TY Master CSS
This is generated using css inorder to reduce the effort of writing same code again and again
Installation
- For Angular
- Run
npm i ty-master-csscommand in your project - in
angular.jsonin thestyles arraylink the pathnode_modules/ty-master-css/css/ty-master.css
- Run
Font Styles
- For all the headings “Barlow Condensed” Font Family is used
- For all the paragraphs “Montserrat” Font Family is used
- The Font-weight of 500 is applied for the body
Tables
- Just Apply the class
ty-tableto the<table> - For every
<th>the background color of Test Yantra blue will be applied - In order to center the text, apply the class
text-center - If a particular cell text needs to be centered use
text-centerclass to the corresponding<td>or<th>
Cards
- Use
ty-cardclass to wrap thety-card-bodyclass - The content to be presented in a card can be enclosed inside the
<div>withty-card-bodyclass - If card label needs to be added, inside the
<div>withty-card-bodyadd a<span>with classty-card-labelandty-card-label-orangeorty-card-label-blue
Buttons
- Use the class “ty-btn” in the
<button>or<input type=”submit”>or<a>