1.0.4 • Published 1 year ago

quickstyle v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

What is this?

This package helps non-designer in implementing a quick css on images, buttons and text.

installation

npm i quickstyle --save

use

To apply quick style to images insert class 'quickImage' inside img tag. To apply quick style to buttons insert class 'quickButton' inside button tag. To apply quick style to texts insert class 'quickText' inside ,.. tags.

Then ...

import {quickButton,
        quickImage,
        quickText} from './node_modules/quickstyle'

quickButton();                   #default values
quickButton({color:"blue"});     #customised values

Options

quickButton supports 1 optional parameter

  • color example: quickButton({color: "blue"});

quickText supports 1 optional parameter

  • family example: quickText({family:"Arial"})

quickImage supports 2 optional parameter

  • color example: quickImage({color:"red"})
  • width example: quickImage({width:"180px"})
1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago