'CSS property "accent-color" not working on Safari

I would like to change the color of a checkbox input. This is the code:

<input type='checkbox' class="checkbox" />

.checkbox {
    accent-color: #b10458;
    height: 25px;
    width: 25px;
}

I have the expected result on Chrome and Firefox, but it's not working on Safari. How can I fix this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source