olormodel) %}
	{% set style = style|default('disc') %}

	{% if style == 'slider' %}
		{% import _self as basic %}
		<div{% if not id is empty %} id="{{ uid(page, id) }}"{% endif %} data-widget="basic.color"
			data-style="{{ style }}" data-colormodel="{{ colormodel|default('rgb') }}"
			data-min="{{ implode(min|default('0')) }}" data-max="{{ implode(max|default(colormodel == 'hsl' or colormodel == 'hsv' ? [360,100,100] : 255)) }}"
			data-step="{{ steps|default(7) }}" data-colors="{{ colors|default(10) }}"
