0.32.7 • Published 4 years ago
@gladio/css v0.32.7
Styles for Gladio
We are using tailwindcss for utility classes. You can use all the css classes defined on https://tailwindcss.com.
Along with them, following classes are also available
- Use
primarycolor for alll the color related classes e.g..text-primary-300,bg-primary-600 - Use
secondarycolor similar toprimarycolor - Use
accentcolor tag simpilar toprimarycolor
Components classes
.btnto make a button.btn-primaryto make something a primary button.badgefor badge level styles.badge-primaryto make a badge primary
Install
npm install --save @gladio/cssUsage
Make sure you have loader for css files
in sass
@include '@gladio/css/styles/styles.css'in js
import '@gladio/css/styles/styles.css'A JSON file for theme is also included
import theme from "@gladio/css/lib/theme.json"