README
Load animation
Animating a simple text using CSS/JS
Installation
npm i customizeText --save
Then...
import {customizeText} from 'customizeText'
customizeText({
text: 'text you want',
textSize: 16,
sameColorAsBg: #FFFFFF,
textBorderColor: #000000,
movingTextColor: #0F0F0F
})
Options
Load animation has 5 options:
- text - (String) what text you want to style
- textSize - (Number) the size what you would give to the text in px
- sameColorAsBg - (HEX color) it's have to be the same as the background. Default is white
- textBorderColor - (HEX color) text border color should have almost the same color as the background
- movingTextColor - (HEX color) the color of the loading animation