Closed zertex closed 1 year ago
How can I dynamically change the theme? Vue3
I found answer, sorry P.S. getBodyOverlayScrollbarsInstance().options({ scrollbars: { theme: value === 'dark' ? 'os-theme-light' : 'os-theme-dark', }, })
getBodyOverlayScrollbarsInstance().options({ scrollbars: { theme: value === 'dark' ? 'os-theme-light' : 'os-theme-dark', }, })
How can I dynamically change the theme? Vue3
I found answer, sorry P.S.
getBodyOverlayScrollbarsInstance().options({ scrollbars: { theme: value === 'dark' ? 'os-theme-light' : 'os-theme-dark', }, })