Using latest version of coloris( https://coloris.js.org/ ) in php8 / bootstrap 5.1.3 / jquery 3.6.1 app
and looking at examples at https://coloris.js.org/examples.html page I need to make component with
Circular thumbnail
theme :
<input type="text" id="accent_color" name="accent_color"
class="form-control"
value="{{ $accentColor }}" data-coloris>
and I try to change theme of the component with code :
<script src="/js/coloris.min.js"></script>
<script>
$(document).ready(function() {
Coloris.setInstance('.accent_color', { theme: 'polaroid', themeMode: 'dark', alpha: true });
...
After that code dark
themeMode is applied, but not theme – it is still default :
!
Which is the correct way to assign Circular thumbnail
theme ?