vue-page-transition icon indicating copy to clipboard operation
vue-page-transition copied to clipboard

Change transition color on overlay

Open corepay opened this issue 5 years ago • 2 comments

Hello and thank you for your work here.

Would like to know if I can change the color on the overlay transition - Blue is not in my color scheme.

corepay avatar Jul 05 '19 00:07 corepay

HI, This is probably not the best solution, but it's works in my case: in App.vue, add:

<style>
   .overlay-left,  .overlay-right,  .overlay-top,  .overlay-bottom   {
    background: #ff0000 !important;
}
</style>

I think to, it's better to change this:

:root {
   --overlay-bg: #1867c0;
   --transition-duration: .35s;
 }

But I don't to do this.

Papaya-web-solution avatar Jul 27 '19 00:07 Papaya-web-solution

I'm gonna add support for css variables, which will make it easier in the future!

Orlandster avatar Sep 17 '19 08:09 Orlandster