biigpongsatorn / vue-element-loading

⏳ Loading inside a container or full screen for Vue.js

Home Page:https://vue-element-loading.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

change Background Color

diniremix opened this issue Β· comments

Hello,
excellent app πŸ‘ , I have a question, is it possible to change the color of the background, by means of a property in vue-element-loading, as well as a color is passed in the color property?

Example:

<vue-element-loading :active="isActive" spinner="bar-fade-scale" color="#FF6700" background="#1a1b1c"/>

in the file: src/index.vue

.velmld-overlay {
  background-color: rgba(255, 255, 255, .9);
}

Thanks!

Yes it's a good idea, Can you make a pr for this feature ?

I have create a pull request that added background color.
Please, checkout on this PR #10

@diniremix Published to 1.0.6