I have two icons and I'm trying to customize them
<v-checbkox icon class="icons" off-icon="mdi-close" on-icon="mdi-mark"></v-checkbox>
I want something like this :
And actually I have this :
I tried this (got it from css dev mode of the first icon) :
.icons {
background-color: red;
color:green !important;
font-weight: 200;
border-radius: 2px;
}
And the font-weight doesn't change, the color don't change the icon but the hover color and the background color is a (way) too big square.
What I am doing wrong?
Update
Background-color gaves me this :
Ok this almost worked :
<v-checkbox
v-model="answer.correct"
on-icon="mdi-check"
off-icon="mdi-close"
color="white"
style="border-radius:6px; width:40px; height:40px"
:class="{ 'success': answer.correct, 'red': !answer.correct}"
class="answer-toggle icons mr-3 pl-2 pt-2"
></v-checkbox>
But the white only works for mdi-check not mdi-close
How can I give it the same condition as the class and make the icon larger.



