259259{# Class #}
260260
261261{% block class_label -%}
262- block mb-2 text-sm font-medium text-gray-900 dark:text-white
262+ block mb-2 text-sm font-medium text-gray-900
263263{%- endblock class_label %}
264264
265265{% block class_input_radio_label -%}
266- ml-2 text-sm font-medium text-gray-900 dark:text-gray-300
266+ ml-2 text-sm font-medium text-gray-900
267267{%- endblock class_input_radio_label %}
268268
269269{% block class_input_switch_label -%}
275275{%- endblock class_input_switch_label_container %}
276276
277277{% block class_input_text -%}
278- text-gray-900 bg-gray-50 rounded-lg text-sm block w-full p-2.5 border border-gray-300 focus:z-10 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500
278+ text-gray-900 bg-gray-50 rounded-lg text-sm block w-full p-2.5 border border-gray-300 focus:z-10 focus:ring-blue-500 focus:border-blue-500
279279{%- endblock class_input_text %}
280280
281281{% block class_input_range -%}
282- w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700
282+ w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer
283283{%- endblock class_input_range %}
284284
285285{% block class_input_file -%}
286- block w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400
286+ block w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50
287287{%- endblock class_input_file %}
288288
289289{% block class_input_radio -%}
290- w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600
290+ w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500
291291{%- endblock class_input_radio %}
292292
293293{% block class_input_checkbox -%}
294294 rounded {{ block (' class_input_radio' ) }}
295295{%- endblock class_input_checkbox %}
296296
297297{% block class_input_switch -%}
298- relative w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-2 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 dark:bg-gray-700 dark:border-gray-600 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-blue-600
298+ relative w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-2 peer-focus:ring-blue-300 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-blue-600
299299{%- endblock class_input_switch %}
300300
301301{% block class_select -%}
307307{%- endblock class_textarea %}
308308
309309{% block class_button -%}
310- text-gray-900 bg-white font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 border border-gray-200 hover:text-blue-700 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:bg-gray-800 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-gray-700
310+ text-gray-900 bg-white font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 border border-gray-200 hover:text-blue-700 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200
311311{%- endblock class_button %}
312312
313313{% block class_submit -%}
314- text-white bg-blue-700 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 hover:bg-blue-800 focus:outline-none focus:ring-2 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800
314+ text-white bg-blue-700 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 hover:bg-blue-800 focus:outline-none focus:ring-2 focus:ring-blue-300
315315{%- endblock class_submit %}
316316
317317{% block class_time_separator -%}
318- inline-flex items-center px-3 text-sm text-gray-900 bg-gray-200 border border-x-0 border-gray-300 dark:bg-gray-600 dark:text-gray-400 dark:border-gray-600
318+ inline-flex items-center px-3 text-sm text-gray-900 bg-gray-200 border border-x-0 border-gray-300
319319{%- endblock class_time_separator %}
320320
321321{% block class_addon -%}
322- inline-flex items-center px-3 text-sm text-gray-900 bg-gray-200 border border-gray-300 dark:bg-gray-600 dark:text-gray-400 dark:border-gray-600
322+ inline-flex items-center px-3 text-sm text-gray-900 bg-gray-200 border border-gray-300
323323{%- endblock class_addon %}
324324
325325{% block class_widget_addon_prepend -%}
339339{%- endblock class_addon_append %}
340340
341341{% block class_help_text -%}
342- mt-2 text-sm text-gray-500 dark:text-gray-400
342+ mt-2 text-sm text-gray-500
343343{%- endblock class_help_text %}
344344
345345{% block class_label_error -%}
346- block mb-2 text-sm font-medium text-red-600 dark:text-red-500
346+ block mb-2 text-sm font-medium text-red-600
347347{%- endblock class_label_error %}
348348
349349{% block class_input_radio_label_error -%}
350- ml-2 text-sm font-medium text-red-600 dark:text-red-500
350+ ml-2 text-sm font-medium text-red-600
351351{%- endblock class_input_radio_label_error %}
352352
353353{% block class_input_switch_label_error -%}
354354 {{ block (' class_input_radio_label_error' ) }}
355355{%- endblock class_input_switch_label_error %}
356356
357357{% block class_input_error -%}
358- bg-red-50 border-red-500 text-red-900 placeholder-red-700 dark:bg-red-100 dark:border-red-500 dark:text-red-500 dark:placeholder-red-500 focus:z-10 focus:ring-red-500 focus:border-red-500 dark:focus:ring-red-500 dark: focus:border-red-500
358+ bg-red-50 border-red-500 text-red-900 placeholder-red-700 focus:z-10 focus:ring-red-500 focus:border-red-500
359359{%- endblock class_input_error %}
360360
361361{% block class_text_error -%}
362- mt-2 text-sm text-red-600 dark:text-red-500
362+ mt-2 text-sm text-red-600
363363{%- endblock class_text_error %}
364364
365365{% block class_input_disabled -%}
366- disabled:bg-gray-100 disabled:border-gray-300 disabled:cursor-not-allowed dark:disabled:text-gray-400
366+ disabled:bg-gray-100 disabled:border-gray-300 disabled:cursor-not-allowed
367367{%- endblock class_input_disabled %}
0 commit comments