I discovered some beautiful css styles for checkboxes that I would like to use instead of the regular ones. You can find these styles here: .
Could someone guide me on how to implement this change?
This is the code snippet from the form:
<div class="w-64 bg-gray-300 flex justify-between">
<%= form.label :standard, class: "inline-block" %>
<%= form.check_box :stretch, class: 'inline-block' %>
</div>
<div class="pretty p-icon p-round p-pulse">
<input type="checkbox" />
<div class="state p-success">
<label>Pretty</label>
<i class="icon mdi mdi-check"></i>
</div>
</div>
Below is a screenshot demonstrating the standard checkbox and the new styled one: